6 years agoFix an option parsing regression
Jonathan Corbet [Tue, 10 May 2011 17:28:23 +0000 (11:28 -0600)]
Fix an option parsing regression

Cedric added a : for -a, no idea why.

Signed-off-by: Jonathan Corbet <>
6 years gets a copyright notice too
Jonathan Corbet [Tue, 10 May 2011 16:41:17 +0000 (10:41 -0600)] gets a copyright notice too

Signed-off-by: Jonathan Corbet <>
6 years agoUpdate copyright notices
Jonathan Corbet [Tue, 10 May 2011 16:26:55 +0000 (10:26 -0600)]
Update copyright notices

Signed-off-by: Jonathan Corbet <>
6 years agoMade the CSV file aggregating data by weeks or months
Cédric Bosdonnat [Tue, 19 Apr 2011 08:50:19 +0000 (10:50 +0200)]
Made the CSV file aggregating data by weeks or months

When using -w option together with the -x file option, the data exported
in the CSV file are aggregated by weeks instead of months (the default).
This is useful to extract meaningful stats on short periods.

6 years agoDocumented the funky email address alias feature
Cédric Bosdonnat [Tue, 19 Apr 2011 08:45:25 +0000 (10:45 +0200)]
Documented the funky email address alias feature

logs containing weird email addresses like this can be handled in the
aliases file to remap them to a correct address.
   " <Joe Hacker>

Added some documentation in the README file for this

6 years agoAllow to add funky email addresses as the first field of an alias
Cédric Bosdonnat [Thu, 27 Jan 2011 16:01:02 +0000 (17:01 +0100)]
Allow to add funky email addresses as the first field of an alias

6 years agoMaking the datelc an actual csv for easier data handling
Cédric Bosdonnat [Thu, 21 Oct 2010 08:21:38 +0000 (10:21 +0200)]
Making the datelc an actual csv for easier data handling

6 years agoWhy should we exit after datelc output?
Cédric Bosdonnat [Thu, 21 Oct 2010 08:22:17 +0000 (10:22 +0200)]
Why should we exit after datelc output?

6 years agoOnly add Linus and Andrew with -a
Cédric Bosdonnat [Wed, 20 Oct 2010 22:46:58 +0000 (00:46 +0200)]
Only add Linus and Andrew with -a

[jc: removed unneeded global line]

6 years agoAdded a report to count the number of hackers/employer
Cédric Bosdonnat [Mon, 18 Oct 2010 20:05:26 +0000 (22:05 +0200)]
Added a report to count the number of hackers/employer

7 years agoMake tag matching stricter
Jonathan Corbet [Mon, 4 Oct 2010 23:06:33 +0000 (17:06 -0600)]
Make tag matching stricter

If you commit a git changelog to your repository, gitdm will be confused by
all the added patch tags.  So make the patterns stricter to force them only
to match within the git log metadata - or so we hope.  There is still room
for confusion here; we really need to make grabpatch() smart enough to
split metadata and the diff.  Don't have time for that now.

This patch changes results slightly.  In the 2.6.36 cycle, there's a tag

Original-Idea-and-Signed-off-by: Nicolas Pitre <>
Pre-patch gitdm would recognize that as a signoff; after the change it no
longer does.

Reported-by: Wolfgang Denk <>
Signed-off-by: Jonathan Corbet <>
7 years agoUse os.path.join() to prepend the directory name
Jonathan Corbet [Thu, 22 Jul 2010 20:43:43 +0000 (14:43 -0600)]
Use os.path.join() to prepend the directory name

...that way we get the right result regardless of whether slashes have been

Signed-off-by: Jonathan Corbet <>
7 years agoAdd sample config files for X.Org
Tiago Vignatti [Wed, 30 Jun 2010 17:26:54 +0000 (20:26 +0300)]
Add sample config files for X.Org


Signed-off-by: Tiago Vignatti <>
7 years agoAdd option to get the configuration files from a given base directory
Tiago Vignatti [Wed, 30 Jun 2010 17:13:21 +0000 (20:13 +0300)]
Add option to get the configuration files from a given base directory

Instead boringly be replicating the directory base name where gitdm is
installed and write it on each option inside the configuration file, just send
it through the command line.

Signed-off-by: Tiago Vignatti <>
7 years agoDocument better -D option
Tiago Vignatti [Mon, 28 Jun 2010 15:40:31 +0000 (18:40 +0300)]
Document better -D option

Signed-off-by: Tiago Vignatti <>
7 years agoAdd some basic information to install
Tiago Vignatti [Mon, 28 Jun 2010 14:33:21 +0000 (17:33 +0300)]
Add some basic information to install

Signed-off-by: Tiago Vignatti <>
7 years agoOnly gripe about missing author names once
Jonathan Corbet [Mon, 3 May 2010 17:31:34 +0000 (11:31 -0600)]
Only gripe about missing author names once

(per name)

Signed-off-by: Jonathan Corbet <>
7 years agoAdd copyright notices
Jonathan Corbet [Wed, 17 Feb 2010 15:41:41 +0000 (08:41 -0700)]
Add copyright notices

Consistency is good, right?

Signed-off-by: Jonathan Corbet <>
7 years agoPut linetags back
Jonathan Corbet [Wed, 17 Feb 2010 15:39:19 +0000 (08:39 -0700)]
Put linetags back

Caffeine-deprived fat-fingering made this script go away.  But we want it,
so put it back.

Signed-off-by: Jonathan Corbet <>
7 years agoUpdate the documentation slightly
Jonathan Corbet [Wed, 17 Feb 2010 15:34:44 +0000 (08:34 -0700)]
Update the documentation slightly particular, say what the new tools do.

Signed-off-by: Jonathan Corbet <>
7 years agoAdd findoldfiles
Jonathan Corbet [Wed, 17 Feb 2010 15:29:40 +0000 (08:29 -0700)]
Add findoldfiles

YA brutal hack; this one crawls the tree and prints out files which have
not been touched since the original commit.

Signed-off-by: Jonathan Corbet <>
7 years agoAdd a couple of lines-per-version utilities
Jonathan Corbet [Tue, 16 Feb 2010 00:32:08 +0000 (17:32 -0700)]
Add a couple of lines-per-version utilities

A couple of quickly-hacked tools which let me determine how much of the
kernel was added in each major version.

Signed-off-by: Jonathan Corbet <>
7 years agoMove out global houskeeping from grabpatch()
Martin Nordholts [Sun, 20 Dec 2009 08:41:07 +0000 (09:41 +0100)]
Move out global houskeeping from grabpatch()

As a step to make grabpatch() more unit-test friendly, move out global
houskeeping from grabpatch(). This also gets rid of a TODO in the
code. The regression tests still passes after this refactoring, of

Signed-off-by: Martin Nordholts <>
7 years agoAdd regression tests on gitdm output files
Martin Nordholts [Sat, 19 Dec 2009 14:59:34 +0000 (15:59 +0100)]
Add regression tests on gitdm output files

Add simple regression tests that makes sure there are no regressions
in the text output file and the date line count file. The primary
purpose of introducing this regression test is to allow us to safely
refactor the gitdm code.

Signed-off-by: Martin Nordholts <>
8 years agoFrom: Iestyn Pryce <>
Jonathan Corbet [Mon, 23 Nov 2009 18:17:13 +0000 (11:17 -0700)]
From: Iestyn Pryce <>

Preserve spaces in the second parameter of the overall config file.

Signed-off-by: Jonathan Corbet <>
8 years agoGet the developer count right even without full patch info
Jonathan Corbet [Fri, 24 Jul 2009 23:11:41 +0000 (17:11 -0600)]
Get the developer count right even without full patch info

8 years agogitdm: report issue when an email address is a "name"
Greg Kroah-Hartman [Fri, 24 Jul 2009 18:26:01 +0000 (11:26 -0700)]
gitdm: report issue when an email address is a "name"

This probably means an incorrect commit message, it also
means that if it is not fixed, the category for this person is probably
going to be incorrect.

Signed-off-by: Greg Kroah-Hartman <>
8 years agoadd more spaces to the "done" message so it doesn't show the trailing 0
Greg Kroah-Hartman [Fri, 24 Jul 2009 18:26:00 +0000 (11:26 -0700)]
add more spaces to the "done" message so it doesn't show the trailing 0

8 years agoReduce the number of "funky email" gripes
Jonathan Corbet [Fri, 24 Jul 2009 19:56:21 +0000 (13:56 -0600)]
Reduce the number of "funky email" gripes

Addresses of the form "user at host.wherever" can be trivially repaired, so
let's do so.

A couple of other minor tweaks are included here as well; nothing which
changes behavior.

8 years agoQuick hack to make the developer/employer counts at the top correct
Jonathan Corbet [Sat, 21 Mar 2009 21:29:57 +0000 (15:29 -0600)]
Quick hack to make the developer/employer counts at the top correct

...before we were counting everybody we knew about, regardless of whether
they did anything in the period we're looking at.

8 years agoMake the internal merge pattern a bit more general
Jonathan Corbet [Tue, 10 Feb 2009 22:35:18 +0000 (15:35 -0700)]
Make the internal merge pattern a bit more general

8 years agoAdd a copyright notice to treeplot
Jonathan Corbet [Tue, 10 Feb 2009 22:25:02 +0000 (15:25 -0700)]
Add a copyright notice to treeplot

8 years agoSort the output text
Jonathan Corbet [Tue, 10 Feb 2009 21:27:19 +0000 (14:27 -0700)]
Sort the output text

...also make a pseudo tree for changesets which go straight to the

8 years agoA quick and dirty treeplot utility
Jonathan Corbet [Tue, 10 Feb 2009 20:52:58 +0000 (13:52 -0700)]
A quick and dirty treeplot utility

This is a tool to make a graphviz input file describing the patch flow into
the mainline.

9 years agoBetter email address handling
Jonathan Corbet [Thu, 13 Nov 2008 16:13:25 +0000 (09:13 -0700)]
Better email address handling

Some people quote their names in various tags:

Something-done-by: "J Random Hacker" <...>
We kept the quotes with the name, confusing things down the road.  So
change the patterns to exclude those quotes when they exist.

9 years agoTested-by / Reported-by credits and more
Jonathan Corbet [Tue, 11 Nov 2008 18:11:04 +0000 (11:11 -0700)]
Tested-by / Reported-by credits and more

Add tracking of tested-by, reported-by, and reviewed-by.  For the first
two, we also track who is *giving* those credits.

While I was in the neighborhood I also:

 - Started turning the "patch" class into something more than a bare
   container; this work has just begin.

 - Moved the report-writing code into its own file (

9 years agoUse find() instead of index()
Jonathan Corbet [Thu, 16 Oct 2008 17:48:09 +0000 (11:48 -0600)]
Use find() instead of index()

That keeps it from crashing on seemingly malformed addresses.  Change
suggested by Dave Foster.

Signed-off-by: Jonathan Corbet <>
9 years agogitdm patch ...
Michael Meeks [Mon, 29 Sep 2008 16:46:37 +0000 (17:46 +0100)]
gitdm patch ...

Hi guys,

I knocked up a patch to generate some per-month, by-affiliation
statistics from the gitdm output; attached for interest or merging.

A sample of the output, complete with OO.o data-pilot, and pretty chart
is here:

with chart here:

caption being:

"Graph showing number and affiliation of active kernel developers
(contributing more than 100 lines per month). Quick affiliation key,
from bottom up: Unknown, No-Affiliation, IBM, RedHat, Novell, Intel ..."

These are as yet not published, I plan to use them as a comparison to
OO.o's somewhat mediocre equivalents; hope to go live with them soon
(and fix the horrible bugs in stacked area charts to make them actually
pretty ).



--  <><, Pseudo Engineer, itinerant idiot

Signed-off-by: Jonathan Corbet <>
9 years agoDon't accept totally bogus dates
Jonathan Corbet [Fri, 5 Sep 2008 19:53:35 +0000 (13:53 -0600)]
Don't accept totally bogus dates

Yanmin Zhang committed a patch (09f2724a786f76475ef2985cf84f5359c553aade)
which claims to have been written in August, 2030.  Code that bleeding-edge
makes gitdm confused, so pretend it's just normal, contemporary stuff.

9 years agofinally get the config file stuff correct
Greg KH [Thu, 24 Jul 2008 00:24:14 +0000 (17:24 -0700)]
finally get the config file stuff correct

Need to seed the database _after_ loading the config file,
otherwise we don't see the seeds as actually showing up for their

Signed-off-by: Greg Kroah-Hartman <>
Signed-off-by: Jonathan Corbet <>
9 years agoparse the config file _after_ we have read the command line options
Greg KH [Thu, 24 Jul 2008 00:03:13 +0000 (17:03 -0700)]
parse the config file _after_ we have read the command line options

Otherwise it doesn't matter if we change the config file option or not...

Signed-off-by: Greg Kroah-Hartman <>
Signed-off-by: Jonathan Corbet <>
9 years agomake -c option actually work
Greg Kroah-Hartman [Wed, 23 Jul 2008 23:17:53 +0000 (16:17 -0700)]
make -c option actually work

The -c option was not fully implemented

Signed-off-by: Greg Kroah-Hartman <>
Signed-off-by: Jonathan Corbet <>
9 years agoFix up the copyright notices.
Jonathan Corbet [Fri, 18 Jul 2008 21:34:28 +0000 (15:34 -0600)]
Fix up the copyright notices.

9 years agoMove regular expressions out to
Jonathan Corbet [Fri, 18 Jul 2008 21:04:55 +0000 (15:04 -0600)]
Move regular expressions out to

...I need them for an associated tool I'm working on.

9 years agoGet rid of a debugging print statement.
Jonathan Corbet [Tue, 1 Jul 2008 18:11:43 +0000 (12:11 -0600)]
Get rid of a debugging print statement.

Signed-off-by: Jonathan Corbet <>
9 years agoA bunch of domain map additions from Greg
Jonathan Corbet [Fri, 27 Jun 2008 15:31:19 +0000 (09:31 -0600)]
A bunch of domain map additions from Greg

9 years agogitdm: Report progress to stderr not stdout
Kir Kolyshkin [Mon, 7 Apr 2008 19:59:18 +0000 (23:59 +0400)]
gitdm: Report progress to stderr not stdout

When gitdm is used for generating text-only report with its output
redirected to a file, all is well aside from the clutter at the beginning
of that file -- a very long line with repeating "Grabbing changesets...".

Solve that by redirecting progress reporting to stderr. It also helps to
see the progress when you redirect gitdm output to a file.

Also, we don't have to flush stdout since stderr is unbuffered by default.

Signed-off-by: Kir Kolyshkin <>
Signed-off-by: Jonathan Corbet <>
9 years agoInitial commit
Jonathan Corbet [Fri, 27 Jun 2008 14:58:35 +0000 (08:58 -0600)]
Initial commit

First commit of gitdm to the new repo.  Call it version 0.10 or something
silly like that.