debian-forge-composer/internal
Brian C. Lane 982d292a96 weldr: Update projects/source/info to support API v1
This commit changes the store.GetAllSources to distinguish between
getting the source by the Name field, or by the ID (the key to the map)
using GetAllSourcesByName and ...ByID.

SourceConfig.RepoConfig() now takes an id parameter because SourceConfig
only stores the Name, not the ID.

In weldr I split the sourceInfoHandler into 2 separate functions for v0
and v1 behavior, with the core of the old function refactored as
getSourceConfigs and used by both of them.

This also adds new structs for the SourceResponseV0 and SourceResponseV1
as well as helper functions for converting to/from store.SourceConfig
2020-06-03 21:24:47 +02:00
..
blueprint blueprint: DeepCopy() cannot fail 2020-05-18 11:50:15 +02:00
client weldr: Update projects/source/info to support API v1 2020-06-03 21:24:47 +02:00
common common/ImageType: move to the store package 2020-05-18 11:50:15 +02:00
crypt crypt_test: don't run on macOS 2020-04-09 13:21:30 +02:00
distro osbuild: change legacy type from bool to string 2020-06-03 12:29:47 +02:00
jobqueue jobqueue: allow canceling jobs 2020-05-13 16:45:09 +02:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
mocks worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
osbuild osbuild: change legacy type from bool to string 2020-06-03 12:29:47 +02:00
rcm rpmmd/RepoConf: rename Id to Name 2020-05-28 00:23:54 +02:00
rpmmd rpmmd/FetchMedata: fix checksum map 2020-05-28 00:23:54 +02:00
store weldr: Update projects/source/info to support API v1 2020-06-03 21:24:47 +02:00
target store: move queue out of the store 2020-05-08 14:53:00 +02:00
test test/helper: add comparison for ImageType objects 2020-05-18 11:50:15 +02:00
upload Add basic logging to AWS upload process 2020-06-03 21:02:58 +02:00
weldr weldr: Update projects/source/info to support API v1 2020-06-03 21:24:47 +02:00
worker distro: make the osbuild package internal to the distros 2020-06-03 00:30:01 +02:00