On Mon, Oct 7, 2019, 00:44 Orion Poplawski <orion@nwra.com> wrote:
One of the tedious things I do as a package maintainer is re-building
all dependent packages with a new version of a package.  My current work
flow is:

- create a testing copr
- build the new package there
- Figure out what packages depend on this package - some flavor of:
  dnf repoquery --whatrequires 'soname'/'package'/'etc' --source \
    --alldeps | sort -u
- For each of these:
   - clone/git pull
   - rpmdev-bumpspec -c 'Rebuild for blah' *.spec
   - fedpkg srpm
   - copr build me/testing --nowait *.src.rpm

how can we move towards something like:

fedpkg test-build-with-all-deps

and then when that passes:

fedpkg build-with-all-deps

?

I suspect rawhide gating + tests is supposed to help with this but I'm
not sure.

I've written a script for the Stewardship SIG that does exactly this, all automatically. It assumes you're dealing with a Pull Request based workflow, though (which works well for us, since we want our changes to go through at least some amount of manual review, since we're not all that confident in Java packaging). The script is available from our pagure repo (https://pagure.io/stewardship-sig /scripts/review_pr.py).

Maybe that helps.
Fabio



--
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@nwra.com
Boulder, CO 80301                 https://www.nwra.com/

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org