Dear Debian gurus,
Lazy me would love to get automation going akin to the one in
conda-forge (see e.g. [1]) -- whenever a new upstream is released
(as could be detected with a run of uscan) the CI would
- would run uscan
- get new source {tarball}
- get new {uversion} (from uscan output/tarball)
- would run
gbp import-orig -- --pristine-tar --debian-branch=new-{uversion}/$(gbp config buildpackage.debian-branch) ...
i.e. import sources and prepare all 3 branches with dedicated prefix
new-{uversion}/
- might do some other automated/decided upon actions such as e.g.
"drop all debian/patches/00*" which were cherry-picked from upstream,
and were applied etc.
- push those branches into salsa repo and submit a merge request
against the debian-branch (while providing URLs for other two
branches).
- employ salsa-ci-team/pipeline (or alike) to build package from
those 3 branches
- maintainer then reviews/tunes up the MR and if merges, CI would
merge/push all the new-{uversion}/ branches into corresponding
one and delete them from CI.
If MR is closed, CI would just remove all those new-{uversion}
branches.
Is there any package/tool which already does something like that on CI?
Or may be you see some issues with such a procedure?
Thanks in advance!
[1]
https://github.com/conda-forge/datalad-feedstock/pull/95
--
Yaroslav O. Halchenko
Center for Open Neuroscience
http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
WWW:
http://www.linkedin.com/in/yarik
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEExbkF8OjZ/ZZo/zZvot4jUGLaM/oFAmPKutQACgkQot4jUGLa M/rwsw//THL8dXc19SZjixMxCSahuJWCN6bmqMcrb0UPN97HhVF4AmBWD2Wp3C35 5JIu16DzySAt/sa+dqcW6tGfJiGOK8VNsI2zdriDQk3ZUdmtHJvxoTqa4MxdI7jU P91rSRw+gvWDmjXcY4lQGJHOuZjuDWcGUtm3THZjivCyTkN11aVbKjvDK9UGzkAl GzbvjhWiRfxRS+3iV0YlOQzW7wkU0N854RCvNnNZj+370P2fRnML/9ePaZ8yKPQ4 ktL5jF+VPBlXkjhPMF+zKAVLmHCPFGSKsn0KkwTDdvVgsXRKvO7kYsniDPlQr4oa TvE/VEYRXxuYBLKQ7moUzPH7Ra9ZU7qtRf9MUTGthMyU30YhXX0SS5miNUpzs4wp 8TBHU1visIOulkn62Krc/BGWiNiNzDhcWHokKYyxyQS8syCmz/goqzf70FTCw1V+ rCRfFN5Z/PrijmjLPX8IlPHrkFAAqK6jQVTYwQLkV0a7A/PEb+cXYSCLPM8yRTuS dNrXTmpTSO1KHk9c1MbiblJDnsIHx/U7kAW1N1M8D7rjeMVbqGRriwgt1mRqZU7D jRiDbEA9DC15Ck+9LmR2xT1aKez3wr5eA7H6o8GHhu1uLsDyWhITyBP4xvSCGCTN eSdQkExJaXiEvmj3HY3AgikoJ9iWWbP8paIJjHxnr0