debian-forge-composer/internal/weldr
Tom Gundersen 687ac7f615 weldr/compose/ostree: introduce URL parameter
For now this is simply used to resolve the parent commit, in case
one is not provided. In the future it will be used by new image
types to actually pull content from.

This extends the weldr API, so that future work does not have to
modify that.

The logic we now implement for the ostree commit image types is:
If the URL is provided, but the parent commit is not. The parent
commit is taken to be the current HEAD of the ostree repo at the
given url, with the given (or default) ref.

This only provides a small optional convenience, but we will
soon introduce image types where the URL of the repository is
required.

This commit still needs testing.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-02-20 14:53:49 +01:00
..
api.go weldr/compose/ostree: introduce URL parameter 2021-02-20 14:53:49 +01:00
api_test.go weldr: Add tests for V1 source API and better id support 2021-02-04 15:50:04 -08:00
compose.go weldr: rename C{Waiting,Running,Finished,Failed} 2020-11-09 14:17:19 +01:00
json.go weldr: implement cancel route 2020-06-12 10:00:50 +02:00
upload.go weldr: add vmware upload target to api 2021-02-16 19:06:01 +00:00
util.go composer/job-queue: add scaffolding for the job queue API 2019-09-26 19:53:06 +02:00