Dnia 25 lipca 2017 13:25:38 CEST, Michael Orlitzky <m...@gentoo.org> napisał(a): >On 07/25/2017 04:05 AM, Michał Górny wrote: >> >> Here's the current draft: >> https://wiki.gentoo.org/wiki/User:MGorny/GLEP:Git >> > >It's mostly fine, but there are two changes I disagree with: > >> When doing one or more changes that require a revision bump, bump the >> revision in the commit including the first change. Split the changes >> into multiple logical commits without further revision bumps — since >> they are going to be pushed in a single push, the user will not be >> exposed to interim state. > >We shouldn't play games in the repo and hope that everything works out >if we wait to push until just the right time. We're not going to run >out >of numbers -- it's simpler and more correct to do a new revision with >each commit.
I have no clue what you mean. I'm just saying that if you push 10 changes in 10 commits, you don't have to go straight to -r10 in a single push. > > >> Gentoo developers are still frequently using Gentoo-Bug tag, >> sometimes followed by Gentoo-Bug-URL. Using both simultaneously is >> meaningless (they are redundant), and using the former has no >> advantages over using the classic #nnnnnn form in the summary or the >> body. > >There are two main advantages over having the bug number in the >summary. >Space is at a premium in the summary, as Tobias pointed out, and the > > Gentoo-Bug: whatever > >format is trivially machine-readable, whereas sticking it somewhere >else >is less so. Except that there is no machines using it. In all contexts, using full URL for machine readability is better as it works with all software out of the box. > >And just a reminder -- Gokturk worked to get a lot of this stuff into >the devmanual, e.g. > > https://devmanual.gentoo.org/ebuild-maintenance/index.html > >Some of that is important, like the warning not to use "bug #x" in the >body of the commit message. -- Best regards, Michał Górny (by phone)