On Thu, Jun 17, 2021 at 7:22 AM Ewoud Kohl van Wijngaarden <ewoud+fedora@kohlvanwijngaarden.nl> wrote:

To be clear: I don't want to fiddle with the sources file, hence this
email. However, I would like to at least complete a local mockbuild
before uploading to the lookaside cache. It is my understanding that
new-sources always does this.

That's actually a nit I've been tempted to complain about. If I'm upgrading a package to a new version I update the spec file:

rpmdev-bumpspec -n <version> -c "Update to <version>." *.spec

And download the new source:

spectool -g *.spec

But then I have to upload the new source with 'fedpkg new-sources' if I don't want it to download the old version.

Perhaps fedpkg could check if the new source is available before automatically downloading whatever is in the 'sources" file.

Thanks,
RichardÂ