From 53ede1d19c46bec8a46febb3fcdaaebc19733531 Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Wed, 27 May 2009 20:51:42 +0000 Subject: [PATCH] Add info about the various copyrights we have in RSE --- .../copyrights/NOTES.txt | 66 +++++++++++++++++++ .../copyrights/ibmCopyright.txt | 8 +++ .../copyrights/mvCopyright.txt | 8 +++ .../copyrights/palmCopyright.txt | 8 +++ .../copyrights/radoCopyright.txt | 8 +++ .../copyrights/symbianCopyright.txt | 8 +++ .../copyrights/takuyaCopyright.txt | 8 +++ .../copyrights/wrCopyright.txt | 8 +++ 8 files changed, 122 insertions(+) create mode 100644 releng/org.eclipse.rse.build/copyrights/NOTES.txt create mode 100644 releng/org.eclipse.rse.build/copyrights/ibmCopyright.txt create mode 100644 releng/org.eclipse.rse.build/copyrights/mvCopyright.txt create mode 100644 releng/org.eclipse.rse.build/copyrights/palmCopyright.txt create mode 100644 releng/org.eclipse.rse.build/copyrights/radoCopyright.txt create mode 100644 releng/org.eclipse.rse.build/copyrights/symbianCopyright.txt create mode 100644 releng/org.eclipse.rse.build/copyrights/takuyaCopyright.txt create mode 100644 releng/org.eclipse.rse.build/copyrights/wrCopyright.txt diff --git a/releng/org.eclipse.rse.build/copyrights/NOTES.txt b/releng/org.eclipse.rse.build/copyrights/NOTES.txt new file mode 100644 index 00000000000..7d80a45f661 --- /dev/null +++ b/releng/org.eclipse.rse.build/copyrights/NOTES.txt @@ -0,0 +1,66 @@ +Standardizing Copyright Headers +------------------------------- +Some have "and others" on the Copyright line, others not. +Some like to indent their Contributors, others not. +Some have "All rights reserved." on the Copyright line, others below. STANDARD IS below +! MV is even missing the "All rights reserved." completely! +Some have a dot after "and others.", others not. -- STANDARD IS and others. +Some have a dot after "Inc", others not. -- STANDARD IS DOT +Some have a comma before ", Inc" others not. -- STANDARD IS COMMA +Some have trailing space, others not. -- STANDARD IS no trailing space +Some have an EPL Copyright, but formatted differently (in terms of line breaks) + + +AdvancedCopyrightTool: +Looks like it deletes all Contributors ?!? +Falls back to Eclipse/IBM Copyright if no exact match on 1st line +Matches the line with the ${date} only + +234873 -- jun 18,08 -- extends +140936 -- dec 31,08 -- delete space + + +Take Care on HTML: +* about.html must not change date +* about.html has
apache and stuff + + +Improvements: +* Fix insertion of space in IBM copyright +* Handle .html files (from docs) +* Allow fuzzy replacement of Copyright Year only +* Should we only act if it is EPL, i.e. not only company name but also license match? +MUST HAVE: +* It must be capable of adding "and others." if not already there. And do a corresponding fuzzy match. + + +IBM can standardize: "All rights reserved." on newline; always "And others."; +- We have 818 where "All rights reserved." is on the Copyright line! +- In case of IBM, some have "and others.", some not. + + +Statistics: +- 818 with "All rights reserved." on first line - should always be 2nd! +- 730 of 2887 are non-IBM +- 269 (461) are also not "Wind River Systems, Inc. and others" +- 217 (52) are also not "Radoslav Gerganov" -- rse.wince +- 111 (106) are also not "Symbian Software Ltd" -- tm.discovery +- 105 (6) are also not "Celunite, Inc" -- services.telnet +- 72 (33) are also not "MontaVista Software, Inc" +- 26 (46) are also not "Wind River Systems, Inc" +- 24 (2) are also not "PalmSource, Inc" -- rse.services +- 9 (15) are also not "Takuya Miyamoto" -- rse.importexport +- rest are OK + +Final Regex: +Copyright [(cC)]+ [0-9, -]+ +Final filter: +IBM Corporation|Wind River Systems|Radoslav Gerganov|Symbian Software Ltd|Celunite, Inc|MontaVista Software, Inc|PalmSource, Inc|Takuya Miyamoto + +What to do: +1. Fix the Wind River ones to be consistent +2. Advanced tool: dont match for "and others." but re-add it if it was not there. (Preference ?!?) +3. Advanced tool: if it is EPL and replacement takes place, insert standard EPL. (Preference ?!?) +4. Advanced tool: write documentation, and attach it to context help of Copyrights Tool Preference. + (what it does, when if falls back etc) +3. What to do with diffs in punctuation -- "Inc" vs ", Inc" vs ", Inc." \ No newline at end of file diff --git a/releng/org.eclipse.rse.build/copyrights/ibmCopyright.txt b/releng/org.eclipse.rse.build/copyrights/ibmCopyright.txt new file mode 100644 index 00000000000..af6d8a6382f --- /dev/null +++ b/releng/org.eclipse.rse.build/copyrights/ibmCopyright.txt @@ -0,0 +1,8 @@ +Copyright (c) ${date} IBM Corporation and others. +All rights reserved. This program and the accompanying materials +are made available under the terms of the Eclipse Public License v1.0 +which accompanies this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: + IBM Corporation - initial API and implementation \ No newline at end of file diff --git a/releng/org.eclipse.rse.build/copyrights/mvCopyright.txt b/releng/org.eclipse.rse.build/copyrights/mvCopyright.txt new file mode 100644 index 00000000000..db51430dc73 --- /dev/null +++ b/releng/org.eclipse.rse.build/copyrights/mvCopyright.txt @@ -0,0 +1,8 @@ +Copyright (c) ${date} MontaVista Software, Inc. and others. +All rights reserved. This program and the accompanying materials +are made available under the terms of the Eclipse Public License v1.0 +which accompanies this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: +Yu-Fen Kuo (MontaVista) - initial API and implementation diff --git a/releng/org.eclipse.rse.build/copyrights/palmCopyright.txt b/releng/org.eclipse.rse.build/copyrights/palmCopyright.txt new file mode 100644 index 00000000000..f3b0d2a2470 --- /dev/null +++ b/releng/org.eclipse.rse.build/copyrights/palmCopyright.txt @@ -0,0 +1,8 @@ +Copyright (c) ${date} PalmSource, Inc. and others. +All rights reserved. This program and the accompanying materials +are made available under the terms of the Eclipse Public License v1.0 +which accompanies this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: +Ewa Matejska (PalmSource) diff --git a/releng/org.eclipse.rse.build/copyrights/radoCopyright.txt b/releng/org.eclipse.rse.build/copyrights/radoCopyright.txt new file mode 100644 index 00000000000..7651f7d7b05 --- /dev/null +++ b/releng/org.eclipse.rse.build/copyrights/radoCopyright.txt @@ -0,0 +1,8 @@ +Copyright (c) ${date} Radoslav Gerganov and others. +All rights reserved. This program and the accompanying materials +are made available under the terms of the Eclipse Public License v1.0 +which accompanies this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: + Radoslav Gerganov - initial API and implementation diff --git a/releng/org.eclipse.rse.build/copyrights/symbianCopyright.txt b/releng/org.eclipse.rse.build/copyrights/symbianCopyright.txt new file mode 100644 index 00000000000..471fb3e72d9 --- /dev/null +++ b/releng/org.eclipse.rse.build/copyrights/symbianCopyright.txt @@ -0,0 +1,8 @@ +Copyright (c) ${date} Symbian Software Ltd. and others. +All rights reserved. This program and the accompanying materials +are made available under the terms of the Eclipse Public License v1.0 +which accompanies this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: + Javier Montalvo Orus (Symbian) - initial API and implementation diff --git a/releng/org.eclipse.rse.build/copyrights/takuyaCopyright.txt b/releng/org.eclipse.rse.build/copyrights/takuyaCopyright.txt new file mode 100644 index 00000000000..1db8e8353c9 --- /dev/null +++ b/releng/org.eclipse.rse.build/copyrights/takuyaCopyright.txt @@ -0,0 +1,8 @@ +Copyright (c) ${date} Takuya Miyamoto and others. +All rights reserved. This program and the accompanying materials +are made available under the terms of the Eclipse Public License v1.0 +which accompanies this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: + Takuya Miyamoto - initial API and implementation diff --git a/releng/org.eclipse.rse.build/copyrights/wrCopyright.txt b/releng/org.eclipse.rse.build/copyrights/wrCopyright.txt new file mode 100644 index 00000000000..50c4bba64f6 --- /dev/null +++ b/releng/org.eclipse.rse.build/copyrights/wrCopyright.txt @@ -0,0 +1,8 @@ +Copyright (c) ${date} Wind River Systems, Inc. and others. +All rights reserved. This program and the accompanying materials +are made available under the terms of the Eclipse Public License v1.0 +which accompanies this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: +Martin Oberhuber (Wind River) - initial API and implementation