Skip to content

Check published source and binary packages

Add 'source' key entry for source data. This will allow to add 'binaries' key entry later.

Retrieve binary packages data.

Check that each published package entry:

  • is an array with exactly one 'source' key, otherwise add an error about a package published with missing or multiple sources
  • is an array with exactly one 'binaries' key, otherwise add an error about a package being not published or published from multiple components (e.g. we have moved it and didn't clean up)
  • that the version in the 'source' key matches all the versions for the 'binaries' key, after stripping the build counter somehow (e.g. assume it's bv\d\d\d\d.*b\d+$), otherwise add an error about mismatching versions

Signed-off-by: Frédéric Danis frederic.danis@collabora.com

Edited by Frederic Danis

Merge request reports