git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC/RFH] Fun things with git-notes, or: patch tracking backwards
@ 2009-02-09 14:08 Thomas Rast
  2009-02-09 16:19 ` SZEDER Gábor
  2009-02-10 22:42 ` [RFC/RFH] Fun things with git-notes, or: patch tracking backwards Thomas Rast
  0 siblings, 2 replies; 17+ messages in thread
From: Thomas Rast @ 2009-02-09 14:08 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 2280 bytes --]

Hi everyone

I'll start with the fun first, try this in a git.git:

  git fetch git://repo.or.cz/git/trast.git mailnotes &&
  GIT_NOTES_REF=FETCH_HEAD git log origin/pu

I played around with some python code over the weekend that
automatically filters through git@vger.kernel.org history and scans
for patches, threads, and "What's cooking" messages.  So far it seems
to be working ok.

The net effect is that we get a backwards patch tracker: instead of
tracking the patches via some other means (say a web interface), the
automatic annotations can reconstruct more information about the
patches than what is eventually contained in the commits, and make it
available via git-notes.

Right now it only applies the patches that it finds, and associates
that with known commits to annotate them.  I eventually want to scan
for replies to patch text too, and insert them into the notes too.  I
also plan to publish topics for the patches somewhere (they're already
applied locally) and track at least a rudimentary status, perhaps one
of "unreplied", "replied" and "accepted".  (Distinguishing "rejected"
seems AI-complete.)

The whole process is a bunch of python scripts currently available at

  git://repo.or.cz/trackgit.git
  http://repo.or.cz/w/trackgit.git

It's all a bit after-the-fact right now, and can't cope with a few
things yet, for example patch series that aren't in git.git appearing
out of sequence to the mail reader.

Runtime is okay-ish so that I should be able to run it as a cronjob;
note regeneration is almost negligible (<1min), importing a month's
worth of mails takes on the order of 20min, and scanning history (to
know about the base blobs) since v1.6.0 is around 3min.

So the RFC bit is, is this useful to anyone?  What information would
you like to see in it, and what could be left out?

And the RFH: I don't have a full mail archive, not even since I joined
the list.  There also doesn't seem to be a convenient download button
on gmane.  Does anyone have (or know of) an archive going at least
back to v1.6.0 (not sure if any further back is interesting), which
was released in August last year, that you could send to me?

Thanks in advance :-)

-- 
Thomas Rast
trast@{inf,student}.ethz.ch

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread
* tool and worktree
@ 2009-02-08  3:44 bill lam
  2009-02-08  9:47 ` Jonas Fonseca
  2009-02-08 19:25 ` Shawn O. Pearce
  0 siblings, 2 replies; 17+ messages in thread
From: bill lam @ 2009-02-08  3:44 UTC (permalink / raw)
  To: git

I track /etc using a config

[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	worktree = /etc
	logAllRefUpdates = true
	excludesfile =

But that can not be handled by tools,

git gui : cannot use funny .git directory .
tig : status view said, The status view requires a working tree

Can these be improved?
 
-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩314 王昌齡  長信怨
    奉帚平明金殿開  且將團扇共徘徊  玉顏不及寒鴉色  猶帶昭陽日影來

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-02-11 23:00 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-09 14:08 [RFC/RFH] Fun things with git-notes, or: patch tracking backwards Thomas Rast
2009-02-09 16:19 ` SZEDER Gábor
2009-02-09 16:29   ` Thomas Rast
2009-02-09 17:49   ` tool and worktree Giuseppe Bilotta
2009-02-10 22:42 ` [RFC/RFH] Fun things with git-notes, or: patch tracking backwards Thomas Rast
2009-02-10 22:52   ` Junio C Hamano
2009-02-10 22:59   ` Junio C Hamano
2009-02-10 23:12     ` Thomas Rast
2009-02-10 23:30       ` Junio C Hamano
2009-02-11 22:52         ` Thomas Rast
2009-02-11 22:58           ` Thomas Rast
  -- strict thread matches above, loose matches on Subject: below --
2009-02-08  3:44 tool and worktree bill lam
2009-02-08  9:47 ` Jonas Fonseca
2009-02-09  1:17   ` Jonas Fonseca
2009-02-09  2:15     ` bill lam
2009-02-09  3:23       ` Jonas Fonseca
2009-02-08 19:25 ` Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).