From: Loic Dachary <loic@dachary.org>
To: Alistair Israel <aisrael@gmail.com>,
"ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: Script to extract backports log
Date: Sun, 29 Mar 2015 20:44:55 +0200 [thread overview]
Message-ID: <55184827.1090603@dachary.org> (raw)
In-Reply-To: <CAHJ4zokWQ0T5RTMvToTgS_YZxPgQV11XTxKGaUX+gnzj5u1B0g@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1587 bytes --]
Hi Alistair,
On 29/03/2015 19:27, Alistair Israel wrote:
> Hi, Loïc.
>
> Well, got some 'quality' coding time in over the weekend and managed
> to hack this out:
> https://gist.github.com/aisrael/b2b78d9dfdd176a232b9
>
> You'll need GitPython (pip install gitpython). I managed to get
> hyperlinks to issues, to the commits themselves, and even snuck in the
> names of the people who've signed off on the commit.
It's going to be helpful to start with the release notes but it will need manual editing.
>
> What I can't figure out is how to get the simple component or module
> name. For example, from how to get from "common/buffer.cc" (#6003) to
> "buffer".
>
I don't think it can be done automatically.
> Also, using a related issue and commit, how to combine two related
> ones. For example, #6614 is related to #6003, and in the release notes
> both are listed as a single item.
One idea would be to group commits that are in the same branch together ? When a merge is found, git log xxx^1..xxx^2 will list the commits that belong to the branch that has been merged. All commits in this branch presumably relate to the same topic.
> Finally, do you think I should exclude commits starting with "qa:" or
> "test/...:"?
Yes, they are not relevant ;-)
I included your snippet in the HOWTO write the release notes at http://tracker.ceph.com/projects/ceph-releases/wiki/HOWTO_write_the_release_notes which is linked from http://tracker.ceph.com/projects/ceph-releases/wiki/HOWTO.
Cheers
--
Loïc Dachary, Artisan Logiciel Libre
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2015-03-29 18:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-29 17:27 Script to extract backports log Alistair Israel
2015-03-29 18:44 ` Loic Dachary [this message]
2015-04-26 16:22 ` Abhishek L
2015-04-27 7:44 ` Loic Dachary
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55184827.1090603@dachary.org \
--to=loic@dachary.org \
--cc=aisrael@gmail.com \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.