Learn more about these different git repos.
Other Git URLs
In Copr, when importing package we call the Commands.import_srpm method followed by Commands.commit here. However, if importing a package in Copr is called multiple times and Commands.import_srpm runs and makes no change, the following Commands.commit makes a new commit hash with empty commit, which is unexpected behavior after calling commit multiple times with no changes.
Commands.import_srpm
Commands.commit
This new behavior was introduced with this commit
It would be nice to have the --allow-empty flag as opt-in or opt-oput.
--allow-empty
Thank you for diving deeper into this topic @nikromen!
I can see @onosek proposed a check for autospec in #644. Would it make sense to eventually implement it (instead of opt-in/opt-out)?
Commit d2c63c3 fixes this issue
Login to comment on this ticket.