LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* GIT commit description flag(s)
@ 2008-03-15 21:35 Artem S. Tashkinov
2008-03-16 10:09 ` Johannes Weiner
2008-03-18 16:58 ` Jan Engelhardt
0 siblings, 2 replies; 5+ messages in thread
From: Artem S. Tashkinov @ 2008-03-15 21:35 UTC (permalink / raw)
To: linux-kernel
It would be nice if [kernel] git commits had a flag [a char] (or a
combination of) describing their main purpose which could be the following:
bug Fix [F]
Speed up/Performance [S]
Revert [R]
New functionality [N]
etc.
So a particular commit at
http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=summary
will look like:
19 hours ago Ingo Molnar sched: fix fair sleepers [F] commit |
commitdiff | tree | snapshot
This way it will be much easier to keep track of important changes
happening to the kernel.
--
Thanks for your attention,
Artem S. Tashkinov
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: GIT commit description flag(s)
2008-03-15 21:35 GIT commit description flag(s) Artem S. Tashkinov
@ 2008-03-16 10:09 ` Johannes Weiner
2008-03-18 16:58 ` Jan Engelhardt
1 sibling, 0 replies; 5+ messages in thread
From: Johannes Weiner @ 2008-03-16 10:09 UTC (permalink / raw)
To: Artem S. Tashkinov; +Cc: linux-kernel
Hi,
"Artem S. Tashkinov" <birdie@permonline.ru> writes:
> It would be nice if [kernel] git commits had a flag [a char] (or a
> combination of) describing their main purpose which could be the
> following:
>
> bug Fix [F]
> Speed up/Performance [S]
> Revert [R]
> New functionality [N]
> This way it will be much easier to keep track of important changes
> happening to the kernel.
You claim there are unimportant ones? :)
Hannes
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: GIT commit description flag(s)
2008-03-15 21:35 GIT commit description flag(s) Artem S. Tashkinov
2008-03-16 10:09 ` Johannes Weiner
@ 2008-03-18 16:58 ` Jan Engelhardt
2008-03-19 5:06 ` Artem S. Tashkinov
1 sibling, 1 reply; 5+ messages in thread
From: Jan Engelhardt @ 2008-03-18 16:58 UTC (permalink / raw)
To: Artem S. Tashkinov; +Cc: linux-kernel
On Mar 16 2008 02:35, Artem S. Tashkinov wrote:
> It would be nice if [kernel] git commits had a flag [a char] (or a combination
> of) describing their main purpose which could be the following:
>
> bug Fix [F]
> Speed up/Performance [S]
> Revert [R]
> New functionality [N]
Usually you already give the type implicitly in the commit:
dfd347f... HID: fix comment in hid_input_report()
fa331ff... [S390] sclp_vt220: speed up console output for interactive work
d9452e9... [NETPOLL]: Revert two bogus cleanups that broke netconsole.
8727e28... m68k{,nommu}: Wire up new timerfd syscalls
b863ceb... [NET]: Add macvlan driver
So all is well.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: GIT commit description flag(s)
2008-03-18 16:58 ` Jan Engelhardt
@ 2008-03-19 5:06 ` Artem S. Tashkinov
2008-03-20 11:06 ` Stefan Richter
0 siblings, 1 reply; 5+ messages in thread
From: Artem S. Tashkinov @ 2008-03-19 5:06 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: linux-kernel
I quite agree with you that the description is already there, but such
flags could help easily review or grep commits in order to identify your
areas of interest.
Even your example has ambiguity: "Wire up new timerfd syscalls" - It's
not easy to understand whether this particular commit is a bugfix, or it
speeds up things, or the old code which has been cleaned up, etc.
Jan Engelhardt wrote:
>
> On Mar 16 2008 02:35, Artem S. Tashkinov wrote:
>> It would be nice if [kernel] git commits had a flag [a char] (or a
>> combination of) describing their main purpose which could be the
>> following:
>>
>> bug Fix [F]
>> Speed up/Performance [S]
>> Revert [R]
>> New functionality [N]
>
> Usually you already give the type implicitly in the commit:
>
> dfd347f... HID: fix comment in hid_input_report()
> fa331ff... [S390] sclp_vt220: speed up console output for interactive work
> d9452e9... [NETPOLL]: Revert two bogus cleanups that broke netconsole.
> 8727e28... m68k{,nommu}: Wire up new timerfd syscalls
> b863ceb... [NET]: Add macvlan driver
>
> So all is well.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: GIT commit description flag(s)
2008-03-19 5:06 ` Artem S. Tashkinov
@ 2008-03-20 11:06 ` Stefan Richter
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Richter @ 2008-03-20 11:06 UTC (permalink / raw)
To: Artem S. Tashkinov; +Cc: Jan Engelhardt, linux-kernel
Artem S. Tashkinov wrote:
> I quite agree with you that the description is already there, but such
> flags could help easily review or grep commits in order to identify your
> areas of interest.
>
> Even your example has ambiguity: "Wire up new timerfd syscalls" - It's
> not easy to understand whether this particular commit is a bugfix, or it
> speeds up things, or the old code which has been cleaned up, etc.
The fundamental problems
- people sometimes chose bad summaries,
- we can't always predict the full impact of the patch,
- what's important for me isn't for you
cannot be solved by your proposed flags.
They can only be solved by
- reviewing patches WRT good changelogs,
- writing up extra summary release notes for areas of interest
after the fact.
>>> It would be nice if [kernel] git commits had a flag [a char] (or a
>>> combination of) describing their main purpose which could be the
>>> following:
>>>
>>> bug Fix [F]
>>> Speed up/Performance [S]
>>> Revert [R]
>>> New functionality [N]
New bug [B]
Attempted bug fix which doesn't really work, a.k.a. nice Try [T]
Performance regression, a.k.a Downgrade [D]
--
Stefan Richter
-=====-==--- --== =-=--
http://arcgraph.de/sr/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-03-20 11:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-15 21:35 GIT commit description flag(s) Artem S. Tashkinov
2008-03-16 10:09 ` Johannes Weiner
2008-03-18 16:58 ` Jan Engelhardt
2008-03-19 5:06 ` Artem S. Tashkinov
2008-03-20 11:06 ` Stefan Richter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).