ATM the are processed in the order that datalad diff reveals them. This migh lead to reprepro refusing older version when newer ones have been ingested before.
However, in order to cover all corner-cases, we need to add python-apt to the list of dependencies, and possibly limit the machines this command can run on to Debian/Linux and derivatives.
ATM the are processed in the order that
datalad diff
reveals them. This migh lead toreprepro
refusing older version when newer ones have been ingested before.This can be fixed by sorting.
python-debian
provides facilities for that: https://salsa.debian.org/python-debian-team/python-debian/-/blob/master/lib/debian/debian_support.pyHowever, in order to cover all corner-cases, we need to add
python-apt
to the list of dependencies, and possibly limit the machines this command can run on to Debian/Linux and derivatives.