Hi all,

After some internal discussion amongst the core developers, we would like to relicense tracker-extract and the extractors to LGPL based on this email thread:

http://mail.gnome.org/archives/tracker-list/2010-December/msg00001.html

I wrote a quick script which I have attached here (for others to use if they so wish to try it out). The script lists the number of lines written by each git author for a given directory of sources, which, in this case is src/tracker-extract and using master from today.

The results are:

mar...@petunia:~/Source/tracker/src/tracker-extract$ git-copyright-for-dir
This may take a while depending on the size of the directory...
Ordering data...
   4738 Martyn James Russell
   3937 Philip Van Hoof
   3517 Martyn Russell
   1613 Mikael Ottela
   1565 Aleksander Morgado
   1382 Carlos Garnacho
   1229 Jürg Billeter
    430 Amit Aggarwal
    288 Vesa Pikki
    255 Iain Holmes
    247 Murugappan Nataraj
    213 Adrien Bustany
    126 Tuomas Järvinen
    113 Ivan Frade
     59 Vidhyapria Arunkumar
     33 John Millikin
     13 Amin Jain
     11 Dariusz Wiechecki (EXT-Comarch)
      4 Juan A. Suarez Romero
      3 Saleem Abdulrasool
      3 Debarshi Ray
      2 Ottela Mikael
      1 Zeeshan Ali (Khattak)
      1 Tshepang Lekhonkhobe
      1 Michael Biebl
      1 John Carr

I have CC'd everyone on this list to make sure everyone is happy with changing the license of their code to LGPL. If no one speaks up by Monday, we will presume agreement.

Note: All those working for Nokia in directly or indirectly have not been CCd because all those contributions generally belong to Nokia and Ivan should be able to OK those. Ivan can you comment here for completeness?

--
Regards,
Martyn
#!/bin/sh
# Usage: git-copyright-for-dir

output="/tmp/git-copyright-for-dir-output.txt"

# Make sure file doesn't already exist
rm -rf $output

echo "This may take a while depending on the size of the directory..."

for f in `git ls-files`; do
    git blame -w -C -C -M -- $f |
      sed -e 's/[^(]*(\([^0-9]*\).*/\1/' -e 's/[\t ]*$//' >> $output
done

echo "Ordering data..."

cat $output |
  sort |
  uniq -c |
  sort -nr

# Clean up
rm -rf $output
_______________________________________________
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to