Vít Ondruch kirjoitti 17.1.2023 klo 13.34:

Dne 16. 01. 23 v 21:59 Otto Liljalaakso napsal(a):
Vít Ondruch kirjoitti 16.1.2023 klo 16.50:
I don't oppose to change of the defaults.

However, I am also using `fedpkg scratch-build --srpm some.rpm`. So how would the proposed change influence this command?

I do not intend to change that behavior in any way.


But you proposed to basically drop the `--srpm` option. So maybe this should work: `fedpkg scratch-build some.rpm` instead. Not sure. I have not thought about this into details especially in relation to plain `fedpkg build`.

My original idea was to make --srpm the default, i.e. 'fedpkg scratch-build' would be the same as 'fedpkg scratch-build --srpm'. No change to 'fedpkg scratch-build --srpm <path>', or to 'fedpkg scratch-build --srpm-mock' (with or without path). The lost feature would have been what 'fedpkg scratch-build' currently does: build the srpm in Koji, then do a scratch build from it.

Anyhow, Richard has a better proposal in another subthread, which I intend to follow: All existing behaviour is kept, but if there are local changes, 'fedpkg scratch-build' does what 'fedpkg scratch-build --srpm' does — currently an error is printed in this situation.
_______________________________________________
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

Reply via email to