GNU bug report logs -
#15310
24.3.50; [ELPA] Better commit notifications for upstream authors
Previous Next
Reported by: Dmitry Gutov <dgutov <at> yandex.ru>
Date: Sun, 8 Sep 2013 21:58:02 UTC
Severity: wishlist
Tags: moreinfo
Found in version 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 15310 <at> debbugs.gnu.org (full text, mbox):
> The commits are all sent together (one notification email per push,
> AFAICS), as a plain-text email without attachments.
Indeed. That's basically what Savannah's email notification gives us
(we can somewhat tweak it, the current config can be seen in
http://git.savannah.gnu.org/r/emacs/elpa.git/config, although we do not
have direct write access to it).
> Is there a better way to work with these emails?
"patch -p2" will strip off the "a/packages/" prefix.
> If no, it would be better if, for example, the script preparing these
> emails identified commits not synced from upstream (maybe by file paths
> inside the diffs?), fixed the paths, and attached these commits in patch
> format that's accepted by 'git am' and already contains the commit
> message and author information.
There's a copy of the script I use in elpa/admin/forward-diffs.py.
Improvements are welcome.
This said, I try to "push" the syncs separately from local changes, so
that an email should either contain a "sync" that you can completely
disregard, or only local changes. This should be even more true once
I get a new cron job that does the syncs semi-automatically
(i.e. automatically when there's no conflict). In that case you should
be able to pass the whole email to "patch -p2".
Stefan
This bug report was last modified 4 years and 16 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.