Re: Use cases for 'fedpkg scratch-build'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Otto Liljalaakso <otto.liljalaakso@xxxxxx> writes:

> Hello everybody,
>
> I would like to gather different use cases for the 'fedpkg 
> scratch-build' command.
>
> Currently, this is exactly the same as 'fedpkg build --scratch', meaning 
> that is performs a scratch build of the pushed head of the current 
> branch. At least in my workflow, I only do scratch builds before 
> pushing, to ensure that what I am about to push builds correctly in 
> Koji. Because if this, I never use the default form. Instead, I always 
> specify 'fedpkg scratch-build --srpm', so that the srpm to build from is 
> locally generated from the local working directory.
>
> What I would like to do is to submit a pull request to either fedpkg or 
> rpkg, making that the default. It is a single line code change, not 
> counting changes to documentation and code comments.
>
> Doing a scratch build from the pushed contents would still be possible 
> by either a) using 'fedpkg build --scratch' or b) checking out the 
> remote head and then issuing 'fedpkg scratch-build'.
>
> Above change seems like a clear improvement to me, making the most used 
> option the default. But I have noticed that workflows differ wildly 
> between packagers, so before submitting any code for review, I would 
> like to hear if somebody regularly uses the default form 'fedpkg 
> scratch-build' and thinks it currently does the right thing.

I pretty much use fedpkg scratch-build only with the --srpm option in
the same way that you do. Thus I very welcome this change and thank you
for submitting this pull request!


Cheers,

Dan
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux