Antonio Fiol Bonnín wrote:
> 2005/11/24, Pier Fumagalli <[EMAIL PROTECTED]>:
> 
>>On 23 Nov 2005, at 21:34, Joerg Heinicke wrote:
>>
>>>On 23.11.2005 16:33, Antonio Fiol Bonnín wrote:
>>>
>>>
>>>>This can't possibly be what we need, as anyone would have done it
>>>>faster than me, but anyway, here it goes.
>>>
>>>IIRC the problem was not the pure removal, but the mentioning of
>>>the authors in a contrib file file.
>>
>>"svn blame" <http://svnbook.red-bean.com/en/1.0/re02.html>
> 
> 
> 
> So, if I understood correctly, you would like to extract the "history"
> of authors for every file:
> 
> #!/bin/bash
> for i in $(find . -type f -not -name '*.svn-????' | grep -v /\\.svn/)
> do
>   echo $i
>   svn blame $i | awk '{print $2}' | sort | uniq
>   echo
> done
> 
> But I find it hard to do it in a platform-independent way.

Well,
 (a) I'm impressed with your little script
 (b) it doesn't need to be platform independent - it will only be run
     once.
 (c) Actually, I wonder if this is something of a redherring. All it
     will show us is the committers who have committed to CVS or SVN.
     But we know that already. What we want to know is who has
     contributed other than committers.

>>And if someone submits a patch, we can track the contribution in Jira.
> 
> I don't understand how this should work.

Well, we can use Jira to note contributions, and then manually copy them
into our contribution records. I imagine that is what Pier means.

Regards, Upayavira

Reply via email to