Temporary binary package repositories

  • Allow quickly creating and destroying temporary package repositories via pkgctl
  • Should also be available via API, so the build service can manage ad-hoc repositories
  • Build on repo-add and repo-remove from pacman
  • Allow uploading to ad-hoc repos with pkgctl build
  • Allow building against temporary repos with pkgctl build
  • Add pkgctl subcommand for installing packages from ad-hoc repos?
  • Add rust to pkgctl and write tmp repo functionality using rust
  • Provide an overview in archweb, or similar to archweb, of all packages in current temporary repositories. This will allow packagers to detect potential conflicts between parallel work.
  1. Build one or more package in temporary repo: pkgctl build --tmp-repo=<id>. If repo does not exist, it is created.
  2. Build results are uploaded into temp repo.
  3. Create pacman drop-in config to add temp repo: pkgctl tmp-pkg-repo add-local <id>
  4. pkgctl tmp-pkg-repo remove-local <id>
  5. Release from tmp repo to official repo: pkgctl release --tmp-repo=<id> <package>
  6. Destroy temp repo: pkgctl tmp-pkg-repo --remove <id>