debian-forge-composer/internal
Brian C. Lane aed28ccf72 store: Add blueprint change order tracking
Previously the order that changes were made to blueprints was not being
saved. I worked around this by sorting by timestamp, but it only has 1s
resolution so it is very likely to end up with changes having the same
timestamp, especially when running tests.

This adds a new variable to the Store, it is a list of the commit hashes
for each blueprint, in the order they were made.

Since this is a change to the Store schema the first time the new code
is run with the old store state it needs to populate the commit list, as
best it can, with the existing data. To do that it sorts the changes for
each blueprint by timestamp and version and saves this ordering into the
new BlueprintsCommits list.
2020-03-10 12:41:19 +01:00
..
blueprint blueprint: add default version 2020-03-04 19:20:58 +01:00
client client: Use http.Client instead of a string for the socket 2020-03-09 18:02:54 +01:00
common osbuild-pipeline: validate distro when fetching it 2020-03-03 16:21:13 +01:00
compose job: pass manifest instead of pipeline to osbuild 2020-03-03 22:25:49 +01:00
crypt crypt: make it possible to compile and test on macOS 2020-01-30 14:42:25 +01:00
distro distro: drop Pipeline and Sources from interface 2020-03-08 21:05:01 +01:00
jobqueue job: pass manifest instead of pipeline to osbuild 2020-03-03 22:25:49 +01:00
mocks distro: panic less often 2020-03-03 11:53:06 +01:00
osbuild osbuild: introduce manifest concept 2020-03-03 22:25:49 +01:00
rcm distro: panic less often 2020-03-03 11:53:06 +01:00
rpmmd rpmmd: pass in cache directory explicitly 2020-03-02 20:58:39 +01:00
store store: Add blueprint change order tracking 2020-03-10 12:41:19 +01:00
target targets/local: drop Location field 2020-02-14 11:53:38 +01:00
test api: implement /compose/log 2019-12-20 11:43:39 +01:00
upload lint: fix unhandled errors 2020-03-02 14:28:55 +01:00
weldr store: Add blueprint change order tracking 2020-03-10 12:41:19 +01:00
weldrcheck client: Use http.Client instead of a string for the socket 2020-03-09 18:02:54 +01:00