|
Home > Archive > Debian Developers > February 2005 > svn.debian.org: Automatically putting log message into debian/changelog?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
svn.debian.org: Automatically putting log message into debian/changelog?
|
|
| Torsten Landschoff 2005-02-23, 7:54 am |
| Hi *,
I wonder if it would be possible to write a script that automatically
updates debian/changelog each time somebody updates any files belonging
to the package. I can't stand writing stuff in debian/changelog and then
pasting it into the svn log message.
What I think of is this:
- user commits using svn commit -m "Fixed foo (closes: #112)"
- the commit script on costa finds the debian directory belonging to
that package
- if it is not found nothing is done
- otherwise: in the current version a new entry is created saying
* Fixed foo (closes: #112)
Did somebody by chance implement this? I don't want to duplicate work...

Greetings
Torsten
| |
| Torsten Landschoff 2005-02-23, 6:10 pm |
| On Wed, Feb 23, 2005 at 06:08:02PM +0100, Roland Bauerschmidt wrote:
> Torsten Landschoff wrote:
>
> I have thought about that before. However, I meant to implement it this
> way: Parse debian/changelog locally, and use new entries as default for
> Subversion's changelog. It would prevent debian/changelog to be
> cluttered with entries such as "forgot to add file foo last time; really
> add it now". (Yes, you could also clean debian/changelog up before
> uploading.)
Sure, that makes more sense! 
Greetings
Torsten
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Roland Bauerschmidt 2005-02-23, 6:10 pm |
| Hello Torsten,
Torsten Landschoff wrote:
> I wonder if it would be possible to write a script that automatically
> updates debian/changelog each time somebody updates any files belonging
> to the package. I can't stand writing stuff in debian/changelog and then
> pasting it into the svn log message.
I have thought about that before. However, I meant to implement it this
way: Parse debian/changelog locally, and use new entries as default for
Subversion's changelog. It would prevent debian/changelog to be
cluttered with entries such as "forgot to add file foo last time; really
add it now". (Yes, you could also clean debian/changelog up before
uploading.)
Roland
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Joey Hess 2005-02-24, 6:02 pm |
| | |
| Torsten Landschoff 2005-02-25, 5:59 pm |
| Hi Joey,
On Thu, Feb 24, 2005 at 04:42:49PM -0500, Joey Hess wrote:
> I've done this for years using the attached script (which will work with
> both svn and cvs (less well), and can also tag releases).
Thanks, that was exactly what I looking for. I already had scheduled
some hacking for this. 
Now I have to update it for svk ;)
Greetings
Torsten
| |
| Otavio Salvador 2005-02-26, 5:53 pm |
| || On Fri, 25 Feb 2005 15:09:07 +0100
|| Torsten Landschoff <torsten@debian.org> wrote:
tl> Hi Joey,
tl> On Thu, Feb 24, 2005 at 04:42:49PM -0500, Joey Hess wrote:[vbcol=seagreen]
tl> Thanks, that was exactly what I looking for. I already had scheduled
tl> some hacking for this. 
tl> Now I have to update it for svk ;)
Perfect. Please, share it after change ;-)
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
you the whole house."
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|
|
|
|