Dear Gaurav,

Assume you have only one file in your project say master_file.txt . 6
developers write code in it on day 1. If I capture the output of

svn blame master_file.txt  > who_did_what

at midnight of day 1

then the new file file who_did_what will have each coder's id written
alongside each line of code.

Then the next day,day 2 at midnight I again do svn blame master_file.txt >
who_did_what

when I see a diff of this who_did_what on day 2 I will ONLY see day 2's
code along with each coder's name.

We can use grep on this to see an individual coder's work.

In a realistic project with many files I would need a script to do svn
blame on each file and write that to the file who_did_what.

And on a daily basis you can examine the diff of this file to see which
coder did what.

I know it's a harebrained scheme, but I think it will work : )

Ashim
On Wed, Feb 22, 2012 at 9:42 PM, Gaurav Mishra <gauravtec...@gmail.com>wrote:

> Ashim,
>
> On Wed, Feb 22, 2012 at 6:47 PM, Ashim Kapoor <ashimkap...@gmail.com>
> wrote:
> >
> > What you want is the changelog I guess.
> >
>
> Yes and no.
>
>
> >
> > Would svn blame work ? It would show all the commits with the
> corresponding users , and you want only the daily commits /users.
> >
>
> No i don't think so.
>
> Let me rephrase my problem.
>
> I have 6 devs working across projects that is running from a
> single repository. I need to track which dev wrote how many line of codes
> daily.  And possibly want to see firsthand what they wrote.
>
> I dont think that's possible with svnblame. Correct me if I am wrong.
>
>
> >
> > How about doing an svn blame DAILY and saving this file,and seeing it's
> daily diff.
> >
> > Do pardon my amateurish attempt, even I thought about this once but did
> not bring this to completion.
> >
> > Best,
> > Ashim
> >
> > On Wed, Feb 22, 2012 at 6:31 PM, Gaurav Mishra <gauravtec...@gmail.com>
> wrote:
> >>
> >> Guys,
> >>
> >> Need help in creating some daily reports of a self hosted svn server. I
> >> looked into svnstat but was disappointed, what is the best paid/non-paid
> >> solution available.
> >>
> >> I am currently managing a single repository with 6 dev people hitting it
> >> daily, need a report on how many lines of code went in and possibly i
> can
> >> see a diff report of each developer daily.
> >>
> >> Pointers ?
> >>
> >> Regards,
> >> Gaurav Mishra
> >>
> >> # Blog: http://www.gmishra.com
> >> # Twitter: http://www.twitter.com/gmishra
> >> # LinkedIn:http://www.linkedin.com/in/gauravmishra7
> >> _______________________________________________
> >> Ilugd mailing list
> >> Ilugd@lists.linux-delhi.org
> >> http://frodo.hserus.net/mailman/listinfo/ilugd
> >
> >
> _______________________________________________
> Ilugd mailing list
> Ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
>
_______________________________________________
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to