Arch hook for commit messages

Jérôme Marant jerome.marant@free.fr
Tue, 15 Mar 2005 09:06:37 +0100


Quoting Rob Browning <rlb@defaultvalue.org>:

> Jérôme Marant <jerome.marant@free.fr> writes:
>
> > Here is the arch hook I use to send commit messages to the -commits
> > list. You can put it in .arch-params/hook and meke it executable.
>
> Hmm.  I'm not necessarily opposed to this, but it made me wonder what
> is the intended audience here?  Is it going to be people who
> don't/can't use tla/baz?  If not, and perhaps even if so, I'm a little
> concerned about sending a full diff to the list.  There may be times
> when that diff is quite large.
>
> I'd be tempted to just post a notice/summary rather than the full
> diff, and perhaps the summary could include the debian/changelog diff.
> From that, interested parties could use tla/baz to see exactly what
> happened.  As another alternative, we could use cut to limit the
> length of the resulting post to say to 100 or 200 lines.
>
> Also, I doubt there's any automatic support for this, but at least in
> my case, it'd be nice if the mail were sent at archive-mirror time
> rather than commit time.

We have always done so with SVN. I don't understand why you suddenly
have concerns. Commit messages are meant to warn about what changed
which is more practical than using the tool itself for this.

--
Jérôme Marant