[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Maintainer per package for pkg-haskell team


Am Sonntag, den 03.01.2016, 17:58 +0100 schrieb Andreas Tille:
> So we have 14 commiters to "package-plan" which is not really a
> package
> but not wrong to see that several maintainers are commiting to some
> common project.  But it is worse with the "package" DHG_packages which
> is according to your README.md not actually a single package.
> For packages following the usual policy I'm cd-ing to each Git
> repository of a team and do
>     git log master --no-merges --date=short --pretty=format:'{"commit_id":"%H", "name":"%an", "e-mail":"%ae", "commit_date":"%ad"}' -- debian

this should work if you run it on each package, e.g.

for d in p/*/debian
  git log master --no-merges --date=short --pretty=format:'{"commit_id":"%H", "name":"%an", "e-mail":"%ae", "commit_date":"%ad"}' -- $d

Of course 

> These records are assembled together with the team name and the package
> name which is known due to the repository name in a yaml file which is
> later taken over into a SQL database.

In this case, the source package name is whatever the * matched, so you
will want to move the adding of the above yaml file into the loop.

Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: