Re: Policy proposal (draft): Don't push knowingly broken or work-in-progress work to dist git

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

 



Michael Catanzaro wrote:
> Alternative: use automated reverts instead of force pushes, and don't
> worry about maintaining a clean history.

Sure, it is possible to make an implementation with lower quality of 
implementation with possibly less work, by omitting the force pushes and the 
smart "fedpkg build" behavior.

That said, I think you will find that reverts are actually more work to get 
right in complex cases such as multi-commit pushes, possibly even with merge 
commits, than a simple:
git reset --hard $last_successful_build
git push -f
which only needs the CI to be exempted from the git hook banning force 
pushes.

        Kevin Kofler
_______________________________________________
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




[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