feat(packaging): centralize package repositories by package manager#124
Merged
feat(packaging): centralize package repositories by package manager#124
Conversation
- update-scoop: redirect to vmvarela/scoop-bucket (bucket/sql-pipe.json) instead of per-app vmvarela/scoop-sql-pipe - update-nix: push directly to vmvarela/nix-packages instead of opening an internal PR; requires NIX_PACKAGES_TOKEN secret - add update-apt job: dispatches to vmvarela/apt-packages after package-deb; requires APT_PACKAGES_TOKEN secret - add update-rpm job: dispatches to vmvarela/rpm-packages after package-rpm; requires RPM_PACKAGES_TOKEN secret - add update-apk job: dispatches to vmvarela/apk-packages after package-apk; requires APK_PACKAGES_TOKEN secret - README: update APT/RPM/APK installation to show repo-based commands; update Nix to github:vmvarela/nix-packages#sql-pipe; update Scoop to vmvarela/scoop-bucket Closes #122
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #122
Centralizes all package distribution under one repository per package manager, following the model already used by
vmvarela/homebrew-tap.What changed
New external repositories
vmvarela/scoop-bucketvmvarela/nix-packagesvmvarela/apt-packagesvmvarela/rpm-packagesvmvarela/apk-packagesEach repo ships with an auto-update workflow triggered by
repository_dispatchfrom the release pipeline.release.ymlchangesupdate-scoopvmvarela/scoop-sql-pipe(root)vmvarela/scoop-bucket/bucket/update-nixvmvarela/nix-packagesupdate-aptvmvarela/apt-packagesafterpackage-debupdate-rpmvmvarela/rpm-packagesafterpackage-rpmupdate-apkvmvarela/apk-packagesafterpackage-apkREADME
.deb/.rpm/.apkdownload as fallback)github:vmvarela/nix-packages#sql-pipescoop bucket add vmvarela https://github.com/vmvarela/scoop-bucketSecrets required
Add these to
vmvarela/sql-pipebefore the next release:NIX_PACKAGES_TOKENcontents:writeonvmvarela/nix-packagesAPT_PACKAGES_TOKENcontents:writeonvmvarela/apt-packagesRPM_PACKAGES_TOKENcontents:writeonvmvarela/rpm-packagesAPK_PACKAGES_TOKENcontents:writeonvmvarela/apk-packagesAdd these to each package repo for signed indices:
apt-packages,rpm-packagesGPG_SIGNING_KEYapt-packages,rpm-packagesGPG_KEY_IDapk-packagesAPK_SIGNING_KEYapk-packagesAPK_SIGNING_KEY_PUBAll new jobs degrade gracefully — if a secret is absent the job is skipped (Scoop/Nix) or the index is built unsigned with a warning (APT/RPM/APK).
Post-merge
vmvarela/scoop-sql-pipewith a deprecation notice