Skip to content

Draft: feat: record against which repo a package was built

Christian Heusel requested to merge 179-build-state into master

Currently releasing a package into a repository it was not built against would just work, which happened a few times by accident so far:

$ pkgctl build --staging foo
# this pushes to extra
$ pkgctl release foo

We therefore now record against which repo a package was built against and error out accordingly if this mismatches the repo we want to release into.


ToDo:

  • figure out cleanup policy (do we need this?)
  • do we maybe want a switch to disable this behaviour? (something like --skip-build-repo-check)
  • adjust docs
Edited by Christian Heusel

Merge request reports

Loading