#376 RFE: fedpkg download-upstream-sources
Opened 4 years ago by churchyard. Modified a year ago

I'd like to have a spectool -g (download sources from URLs) substitution because nobody seem to really maintain https://pagure.io/rpmdevtools

In fact It makes sense for fedpkg to do that, because the source URL might be dependent on %fedora value (theoretically).

This is not really blocking us, just an idea I had. Feel free to close as "out of scope" if you don't agree with the idea.


Yeah, it would be really great if we had a single command to do the equivalent of spectool -g and fedpkg new-sources.

It would be even better if it could combine automatic changing of the version in the spec file. Version updates for many packages are really just:
1. packager sees a bugzilla 100004 with "update foo to 1.2.3"
2. go to the dist-git repo, edit spec file to say "Version 1.2.3"
3. spectool -g
4. fedpkg new-sources
5. commit -a -m 'Version 1.2.3 (rhbz#100004)

It'd be great to combine steps 2–4 into fedpkg new-upstream-sources 1.2.3.

It would be awesome to merge 2–5 into fedpkg new-upstream-sources -a, where fedpkg would query bugzilla or upstream-release-monitoring for the latest version, download that, and create a commit with the correct message and bugzilla reference.

Login to comment on this ticket.

Metadata