public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@petalogix.com>
To: Mike Frysinger <vapier@gentoo.org>
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: Sun, 07 Mar 2010 19:09:00 +0100	[thread overview]
Message-ID: <4B93EBBC.5070004@petalogix.com> (raw)
In-Reply-To: <201003061633.16026.vapier@gentoo.org>

Mike Frysinger wrote:
> 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>

Anyway don't you have another script which will check commit message and 
if is there Signed-off-by line then change author name?
There are a lot of commits with that line and will be good to fix this too.
Adding some new lines to commit messages (At least before Sign-off-by 
line) make sense too.

Thanks,
Michal



> ...
> -mike


-- 
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663

------------------------------------------------------------------------------
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
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  parent reply	other threads:[~2010-03-07 18:35 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
2010-03-07 13:54       ` Michal Simek
2010-03-07 18:09       ` Michal Simek [this message]
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=4B93EBBC.5070004@petalogix.com \
    --to=michal.simek@petalogix.com \
    --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=qcai@redhat.com \
    --cc=risrajak@in.ibm.com \
    --cc=sachinp@linux.vnet.ibm.com \
    --cc=vapier@gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox