public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: michal.simek@petalogix.com
Cc: sachinp@linux.vnet.ibm.com, ltp-list@lists.sourceforge.net,
	jburke@redhat.com, ambar.seksena@calsoftinc.com,
	kamaleshb@in.ibm.com, doug.chapman@hp.com, risrajak@in.ibm.com,
	Cai Qian <qcai@redhat.com>, Khem Raj <kraj@mvista.com>,
	aneesh.kumar@linux.vnet.ibm.com, carmelo.amoroso@st.com,
	Nadia Derbey <Nadia.Derbey@bull.net>,
	Balbir Singh <balbir@linux.vnet.ibm.com>
Subject: Re: [LTP] A note from Maintainer
Date: Sat, 6 Mar 2010 16:33:00 -0500	[thread overview]
Message-ID: <201003061633.16026.vapier@gentoo.org> (raw)
In-Reply-To: <4B922D86.70704@petalogix.com>


[-- Attachment #1.1: Type: Text/Plain, Size: 1519 bytes --]

On Saturday 06 March 2010 05:25:10 Michal Simek wrote:
> Mike Frysinger wrote:
> > On Saturday 27 February 2010 02:53:48 Rishikesh K Rajak wrote:
> >> We are in process of changing our sf.net host repository to
> >> GIT from CVS.[ Any input/discussion on this is highly appreciable ].
> > 
> > the authorship info really should be fixed before anything is finalized. 
> > and a git hook added to reject people pushing patches that lack proper
> > author/committer fields.  these commits by "root" are a good example of
> > things that should not be happening.
> 
> Agree. Do you know about any manual how to fix it by any script or setup
> that conversion? I mean to have any convert table where for example will
> be written conversion:
> vampier -> Mike Frysinger.
> root -> Subrata Modak

i use this script:
#!/bin/bash

tmp=$(mktemp)
cat << \EOF > ${tmp}
decode() {
	awk -vid="$1" -vtype="$2" '$1 == id {
		print "export GIT_"type"_NAME='\''" $3 " " $4 "'\'';"
		print "export GIT_"type"_EMAIL='\''" $5 "'\'';"
	}' ${author_file}
}
EOF

for x in cvs-authors authors ; do
	export author_file=${PWD}/.git/$x
	[ -e ${author_file} ] && break
done
git filter-branch \
	--env-filter ". ${tmp};"' \
		eval `decode "${GIT_AUTHOR_NAME}" AUTHOR`; \
		eval `decode "${GIT_COMMITTER_NAME}" COMMITTER`; \
' "$@"

rm -f $tmp

use a normal authors file in like .git/authors and run it.  the authors format 
looks something like:
vapier = Mike Frysinger <vapier@gentoo.org>
...
-mike

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

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2010-03-06 21:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-27  7:53 [LTP] A note from Maintainer Rishikesh K Rajak
2010-02-27  8:43 ` Garrett Cooper
2010-03-01  7:28   ` Rishikesh K Rajak
2010-03-05 10:15 ` Michal Simek
2010-03-05 12:58   ` Rishikesh K Rajak
2010-03-05 21:35 ` Mike Frysinger
2010-03-06 10:25   ` Michal Simek
2010-03-06 21:33     ` Mike Frysinger [this message]
2010-03-07 13:54       ` Michal Simek
2010-03-07 18:09       ` Michal Simek
2010-03-07 18:12         ` Mike Frysinger
2010-03-08  5:58           ` Garrett Cooper
2010-03-07  1:16     ` Garrett Cooper
2010-03-07  1:57       ` Mike Frysinger
2010-03-07  1:25 ` Garrett Cooper

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=201003061633.16026.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=Nadia.Derbey@bull.net \
    --cc=ambar.seksena@calsoftinc.com \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=balbir@linux.vnet.ibm.com \
    --cc=carmelo.amoroso@st.com \
    --cc=doug.chapman@hp.com \
    --cc=jburke@redhat.com \
    --cc=kamaleshb@in.ibm.com \
    --cc=kraj@mvista.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=michal.simek@petalogix.com \
    --cc=qcai@redhat.com \
    --cc=risrajak@in.ibm.com \
    --cc=sachinp@linux.vnet.ibm.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox