Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359407

Summary: clean up copyright headers
Product: [Technology] JGit Reporter: Thomas Koch <thomas>
Component: JGitAssignee: Project Inbox <jgit.core-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: matthias.sohn, remy.suen, thomas
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Thomas Koch CLA 2011-09-29 08:05:18 EDT
Build Identifier: 

Hi,

I'd like to package jgit (and egit) for Debian. There is one annoying thing, that has to be done for every Debian package and is hated by everybody: write a proper debian/copyright file, listing all IP owners for every individual file and the license.

Normally this isn't too much of work, if all files have the same author and license. The jgit source code however lists many, many, many different authors, individuals and cooperations.

Can you help me in any way? Could you have exactly the same copyright statement on every source file? Could you provide an AUTHORS file in the top level folder, listing all IP owners with the appropriate dates?

Thank you!

Reproducible: Always

Steps to Reproduce:
grep --exclude-dir=debian -r "Copyright" . | sed -e "s/.*opyright[^0-9]*//" | sort -u
Output:
2000, 2010 IBM Corporation and others.
2005-2009 Joe Developer <joe.dev@example.org>
2005, 2010 Shawn Pearce, Robin Rosenberg, et.al.\n\
2006-2007, Robin Rosenberg <robin.rosenberg@dewire.com>
2006-2007, Shawn O. Pearce <spearce@spearce.org>
2006, 2008 Junio C Hamano
2006-2008, Robin Rosenberg <robin.rosenberg@dewire.com>
2006-2008, Shawn O. Pearce <spearce@spearce.org>
2006-2010, Robin Rosenberg <robin.rosenberg@dewire.com>
2006, Robin Rosenberg <robin.rosenberg@dewire.com>
2006, Shawn O. Pearce <spearce@spearce.org>
2007-2008, Charles O'Farrell <charleso@charleso.org>
2007-2008, Robin Rosenberg <robin.rosenberg@dewire.com>
2007-2009, Robin Rosenberg <robin.rosenberg@dewire.com>
2007-2010, Robin Rosenberg <robin.rosenberg@dewire.com>
2007, Dave Watson <dwatson@mimvista.com>
2007, Eclipse Foundation, Inc. and its licensors. </p>
2007, Robin Rosenberg <me@lathund.dewire.com>
2007, Robin Rosenberg <robin.rosenberg@dewire.com>
2007, Shawn O. Pearce <spearce@spearce.org>
2008-2009, Google Inc.
2008, 2009 Joe Developer <joe.dev@example.org>
2008-2009, Johannes E. Schindelin <johannes.schindelin@gmx.de>
2008-2009, Jonas Fonseca <fonseca@diku.dk>
2008, 2009 Other Examples Inc.
2008-2009, Robin Rosenberg <robin.rosenberg@dewire.com>
2008-2009, Shawn O. Pearce <spearce@spearce.org>
2008-2010 Example Company Inc.
2008-2010, Google Inc.
2008-2011, Google Inc.
2008, Charles O'Farrell <charleso@charleso.org>
2008, Example Company Inc.
2008, Florian Köberle <florianskarten@web.de>
2008, Florian Koeberle <florianskarten@web.de>
2008, Google Inc.
2008, Imran M Yousuf <imyousuf@smartitengineering.com>
2008, Joe Developer <joe.dev@example.org>
2008, Jonas Fonseca <fonseca@diku.dk>
2008, Marek Zawirski <marek.zawirski@gmail.com>
2008, Mike Ralphson <mike@abacus.co.uk>
2008, Robin Rosenberg
2008, Robin Rosenberg <robin.rosenberg@dewire.com>
2008, Robin Rosenberg <robin.rosenberg.lists@dewire.com>
2008, Roger C. Soares <rogersoares@intelinet.com.br>
2008, Shawn O. Pearce <spearce@spearce.org>
2008, Shawn O. Pearce <spearce@spearce.org>,
2008, Thad Hughes <thadh@thad.corp.google.com>
2009-2010, Google Inc.
2009-2010, Matthias Sohn <matthias.sohn@sap.com>
2009-2010, Robin Rosenberg <robin.rosenberg@dewire.com>
2009-2010, Yet More Examples Ltd.
2009-2011, Matthias Sohn <matthias.sohn@sap.com>
2009, Alex Blewitt <alex.blewitt@gmail.com>
2009, Christian Halstrick <christian.halstrick@sap.com>
2009, Christian Halstrick, Matthias Sohn, SAP AG
2009, Constantine Plotnikov <constantine.plotnikov@gmail.com>
2009, Daniel Cheng (aka SDiZ) <git@sdiz.net>
2009, Daniel Cheng (aka SDiZ) <j16sdiz+freenet@gmail.com>
2009, Google Inc.
2009, Google, Inc.
2009, Igor Fedorenko <igor@ifedorenko.com>
2009, JetBrains s.r.o.
2009, Johannes E. Schindelin
2009, Johannes E. Schindelin <johannes.schindelin@gmx.de>
2009, Johannes Schindelin <johannes.schindelin@gmx.de>
2009, Jonas Fonseca <fonseca@diku.dk>
2009, Mark Struberg <struberg@yahoo.de>
2009, Matthias Sohn <matthias.sohn@sap.com>
2009, Mykola Nikishov <mn@mn.com.ua>
2009, Robin Rosenberg
2009, Robin Rosenberg <robin.rosenberg@dewire.com>
2009, Robin Rosenberg <robin.rosenberg@gmail.com>
2009, Sasa Zivkov <sasa.zivkov@sap.com>
2009, Shawn O. Pearce <spearce@spearce.org>
2009, Tor Arne Vestbø <torarnv@gmail.com>
2009, Vasyl' Vavrychuk <vvavrychuk@gmail.com>
2009, Yann Simon <yann.simon.fr@gmail.com>
2010, Chris Aniszczyk <caniszczyk@gmail.com>
2010, Chris Aniszczyk <caniszczyk@gmail.com> and
2010, Chrisian Halstrick <christian.halstrick@sap.com> and
2010, Christian Halstrick <christian.halstrick@sap.com>
2010, Christian Halstrick <christian.halstrick@sap.com>,
2010, Christian Halstrick <christian.halstrick@sap.com> and
2010, Constantine Plotnikov <constantine.plotnikov@gmail.com>
2010, Garmin International
2010, Google Inc.
2010, Jens Baumgart <jens.baumgart@sap.com>
2010, Jens Baumgart <jens.baumgart@sap.com>
2010, JetBrains s.r.o.
2010, Marc Strapetz <marc.strapetz@syntevo.com>
2010, Mathias Kinzler <mathias.kinzler@sap.com>
2010, Mathias Kinzler <mathias.kinzler@sap.com> and
2010,Mathias Kinzler <mathias.kinzler@sap.com> and
2010, Matt Fischer <matt.fischer@garmin.com>
2010 Matthias Sohn <matthias.sohn@sap.com>
2010, Matthias Sohn <matthias.sohn@sap.com>
2010, Matthias Sohn <matthias.sohn@sap.com>\n\
2010, Philipp Thun <philipp.thun@sap.com>
2010, Red Hat Inc.
2010, Robin Rosenberg
2010, Robin Rosenberg <robin.rosenberg@dewire.com>
2010, Robin Stocker <robin@nibor.org>
2010, Sasa Zivkov <sasa.zivkov@sap.com>
2010, Stefan Lay <stefan.lay@sap.com>
2010, Stefan Lay <stefan.lay@sap.com> and
2011, Abhishek Bhatnagar <abhatnag@redhat.com>
2011, Chris Aniszczyk <caniszczyk@gmail.com>
2011, Chris Aniszczyk <zx@redhat.com>
2011, Christian Halstrick <christian.halstrick@sap.com>
2011, Christoph Brill <egore911@egore911.de>
2011, Dariusz Luksza <dariusz@luksza.org>
2011, Garmin International
2011, GitHub Inc.
2011, Google Inc.
2011, Jesse Greenwald <jesse.greenwald@gmail.com>
2011, Ketan Padegaonkar <ketanpadegaonkar@gmail.com>
2011, Ketan Padegaonkar <KetanPadegaonkar@gmail.com>
2011, Kevin Sawicki <kevin@github.com>
2011, Leonard Broman <leonard.broman@gmail.com>
2011, Mathias Kinzler <mathias.kinzler@sap.com>
2011, Matthias Sohn <matthias.sohn@sap.com>
2011, Philipp Thun <philipp.thun@sap.com>
2011, Robin Rosenberg
2011, Robin Rosenberg <robin.rosenberg@dewire.com>
2011, Stefan Lay <stefan.lay@.com>
2011, Tomasz Zarna <Tomasz.Zarna@pl.ibm.com>
Comment 1 Matthias Sohn CLA 2012-04-19 02:41:52 EDT
(In reply to comment #0)
> Can you help me in any way? Could you have exactly the same copyright statement
> on every source file? 

we can't as this would be incompatible with the Eclipse Foundation's IP policies

> Could you provide an AUTHORS file in the top level
> folder, listing all IP owners with the appropriate dates?
> 

We might be able to generate this in the JGit build if somebody finds the time to tackle this.
Would it be sufficient to list the copyright holders or do you also need the years ?
Comment 2 Thomas Koch CLA 2012-05-07 08:14:39 EDT
In the meantime, somebody else already packaged jgit and somehow dealed with the situation. I'll contact the Debian jgit maintainer and if he does not see any need for this I'll close this issue after a while.
Comment 3 Thomas Koch CLA 2012-05-08 08:05:14 EDT
From the Debian Maintainer of JGit:

for the purpose of keeping jgit's d/copyright up to date I wrote myself an
ugly python script that helps me to parse out the names and their respective
years. It's far from perfect but it does the most of work for me.

Of course it would still be good to have a nice list of copyright owners,
but it's not so critical. If you don't wish to deal with that issue anymore,
feel free to close it in bugzilla.

Regards,

Jakub