gbp can use --git-upstream-tree=branch for CIs and --git-upstream-tree=tag for release. One is good in a CI to test that the current main is packageable, the other is useful when releasing packages
This can be generalised introducing the idea of build profiles: adding --profile=name to monci ci can load a YAML file with the given name from the config directory, and pass its contents to the builder.
The YAML file can have per-builder options, that are builder-specific values
Example use case:
This can be generalised introducing the idea of build profiles: adding
--profile=name
tomonci ci
can load a YAML file with the given name from the config directory, and pass its contents to the builder.The YAML file can have per-builder options, that are builder-specific values