Mailinglist Archive: opensuse-buildservice (189 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH] commit message template
  • From: Vincent Untz <vuntz@xxxxxxxxxxxx>
  • Date: Sun, 1 Feb 2009 13:24:23 +0100
  • Message-id: <20090201122423.GI2992@xxxxxxxxx>
Le mercredi 28 janvier 2009, à 13:11 +0100, Michal Vyskocil a écrit :
Hi,

the attached patch changes the behavior of 'osc commit' command. I'm not very
happy when I have three places where the changes should be documented:
- .changes
- %changelog in .spec
- osc commit messages

The modified commit command read a differences from 1.) .changes, or 2.)
%changelog part of .spec and fill it to the commit message, so you don't need
type it again.

Only one problem is - you need change the commit message anyway, because osc
check the difference between commit message template and a result, but this
should be easily fixed (use a checksum without commit message template).

What do you think about this approach?

That sounds cool. One issue, though, is that %changelog seems to be only
updated when the package reaches openSUSE:Factory. And so you if you do
multiple commits, you'll accumulate a lot of changes in your commit
message.

Vincent

--
Les gens heureux ne sont pas pressés.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >