On 18-06-2023 14:16, Vitaly Zaitsev via devel wrote:
On 18/06/2023 11:16, Mattia Verga via devel wrote:
This is quite boring and time wasting... is there a more efficient way
to use my packaging time? Do you think fedpkg can be enhanced to have a
single command which makes 4-5-6 to all specified branches?
Add to your ~/.bashrc the following:
alias fpm="fedpkg switch-branch f38 && git merge rawhide && fedpkg
switch-branch f37 && git merge rawhide && fedpkg switch-branch rawhide"
alias fpb="fedpkg switch-branch rawhide && fedpkg build --nowait &&
fedpkg switch-branch f38 && fedpkg build --nowait && fedpkg
switch-branch f37 && fedpkg build --nowait && fedpkg switch-branch rawhide"
Aren't you missing the 'git push' (or 'fedpkg push')? IIRC, your 'fpb'
alias would fail since no changes have been pushed to dist-git for koji
to base a build on.
Usage:
cd ~/foo-bar
fpm
fpb
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@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
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue