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

Bug 527277

Summary: Move to EPL 2.0 and add SPDX license identifiers
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: CoreAssignee: Pierre-Charles David <pierre-charles.david>
Status: CLOSED FIXED QA Contact: Jessy Mallet <jessy.mallet>
Severity: minor    
Priority: P3 CC: jessy.mallet, oliver.kopp, steve.monnier
Version: unspecifiedKeywords: triaged
Target Milestone: 6.1.0   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/129168
https://git.eclipse.org/r/130282
https://git.eclipse.org/r/130286
https://git.eclipse.org/r/130285
https://git.eclipse.org/r/130284
https://git.eclipse.org/r/130283
https://git.eclipse.org/r/130290
https://git.eclipse.org/r/130289
https://git.eclipse.org/r/130288
https://git.eclipse.org/r/130287
https://git.eclipse.org/r/130293
https://git.eclipse.org/r/130291
https://git.eclipse.org/r/130292
https://git.eclipse.org/r/130296
https://git.eclipse.org/r/130295
https://git.eclipse.org/r/130298
https://git.eclipse.org/r/130297
https://git.eclipse.org/r/130294
https://git.eclipse.org/r/130301
https://git.eclipse.org/r/130300
https://git.eclipse.org/r/130303
https://git.eclipse.org/r/130305
https://git.eclipse.org/r/130304
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=5b47f91d2bfaaf2a9cd5ebb91bf0df110de36e36
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=647bc013450ff647f4a7bd8b607589badf6f6f4a
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=efc8b2ad33e3463ec313769e7d2823e928db35da
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1dbdf8ed8e09dddc89d22a55b9ee65de6a3a8766
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8f4cfaa46a4ea131260e1e60b1c36395fed38434
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=cf5344b3f75f01425e30a71463fd7feb34122a39
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c8c60d41961aa48d4964de26ffbf5c58141a305b
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=ea515fa685447c7b5f4f7d9b5acb90c29bae4ac0
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=48cd4ad41f5d0402ba43874d84fe089fedce4ea0
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=73fce80722dc791ba2c481081167c9cb0099292d
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f518da7b52b2bc6d336f8f8936062e87230c3928
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=36a3402699b993df5649ee6fa08420b4e860a148
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f41b10286d9952265b649f2032dba8909abf2d6c
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=e60b6c3cf7600a6dd5aaf4143b367072f04f012c
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=bad4aa6c9b3d7a420b0a79a68a421750e2f1c7b2
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f1212af74fd881aff1f12fa77c6ca80291741629
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=dadd641e49b1c320ff5b540e056de5c20b0d939c
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f9d48c44a84e5c9e5b6ea23b1de72c2fbd2dbf95
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c39bee356c7d25d3fbbfb1b883460af752c56601
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=bfc0d8760ce237ac387596e2aa3c9ac3ecd108b6
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=195a97efbe7ba00c195bf6333db1222557b729f8
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=4b1482275f2c62839a2801b7e2a824c387d47c6d
https://git.eclipse.org/r/130723
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1b06f8731778775322688dec2b807d9cb827878c
https://git.eclipse.org/r/136028
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=d54cbfd9cf63d5e37b9ab3663312afdac4ff0b53
Whiteboard:

Description Pierre-Charles David CLA 2017-11-15 02:28:47 EST
It's recommended for EPL 2.0 (see https://www.eclipse.org/org/documents/epl-2.0/faq.php#h.q72cnghf29k0), but it's a good idea in general even if we don't switch to EPL 2.0 soon.

The identifier to use as long as we're using v1.0 is: SPDX-License-Identifier: EPL-1.0
Comment 1 Oliver Kopp CLA 2017-11-30 11:58:27 EST
Just stumbled by accident on this issue. The full header is described in the Eclipse Process Handbook: https://www.eclipse.org/projects/handbook/#ip-copyright-headers.

A colleague has shown me that IntelliJ supports updating copyright headers. Maybe, this eases the task: https://www.jetbrains.com/help/idea/generating-and-updating-copyright-notice.html#d264620e306
Comment 2 Pierre-Charles David CLA 2018-04-06 07:21:16 EDT
Bug 533122 has a script to automate the conversion to EPL 2.0 *and* the addition of SPDX identifiers.
Comment 3 Pierre-Charles David CLA 2018-04-06 07:24:57 EDT
(In reply to Pierre-Charles David from comment #2)
> Bug 533122 has a script to automate the conversion to EPL 2.0 *and* the
> addition of SPDX identifiers.

Wrong ticket number, it's actually bug #530393.
Comment 4 Pierre-Charles David CLA 2018-08-14 08:20:33 EDT
See also https://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg15729.html
Comment 5 Eclipse Genie CLA 2018-09-11 15:18:59 EDT
New Gerrit change created: https://git.eclipse.org/r/129168
Comment 6 Pierre-Charles David CLA 2018-09-26 09:07:04 EDT
On current master (dad823f7f24026de8690f318c062c5ea3c41ba00), the following command line returns nothing:

% git grep -Iil license | grep -Ev '/(build\.properties|epl-v10\.html|feature\.properties|feature\.xml|pom\.xml|about\.ini|about\.html|plugin.*\.properties|.*\.java|plugin\.xml|.*\.exsd|.*\.genmodel|license\.txt|.*\.product|.*\.sh|Dockerfile|.*\.css|.*\.js|customize\.properties|toc\.xml|.*\.prefs|build-doc\.xml|build.*\.xml|project\.xml|web\.xml|.*\.eefgen|.*\.g|.*\.map|.*\.target|log4j\.xml|.*\.mwe2|docbookMessages.*\.properties|.*\.tpd|.*\.targetplatform)$' | grep -Ev '(LICENSE|NOTICE|pom.xml)'

This means that *all* files which contain a license can be grouped in the categories corresponding to these patterns. We will migrate the files's license by broad categories to make the changes more reliable and easier to review.
Comment 7 Eclipse Genie CLA 2018-10-02 02:41:54 EDT
New Gerrit change created: https://git.eclipse.org/r/130282
Comment 8 Eclipse Genie CLA 2018-10-02 02:41:57 EDT
New Gerrit change created: https://git.eclipse.org/r/130286
Comment 9 Eclipse Genie CLA 2018-10-02 02:42:00 EDT
New Gerrit change created: https://git.eclipse.org/r/130285
Comment 10 Eclipse Genie CLA 2018-10-02 02:42:03 EDT
New Gerrit change created: https://git.eclipse.org/r/130284
Comment 11 Eclipse Genie CLA 2018-10-02 02:42:06 EDT
New Gerrit change created: https://git.eclipse.org/r/130283
Comment 12 Eclipse Genie CLA 2018-10-02 02:42:10 EDT
New Gerrit change created: https://git.eclipse.org/r/130290
Comment 13 Eclipse Genie CLA 2018-10-02 02:42:13 EDT
New Gerrit change created: https://git.eclipse.org/r/130289
Comment 14 Eclipse Genie CLA 2018-10-02 02:42:15 EDT
New Gerrit change created: https://git.eclipse.org/r/130288
Comment 15 Eclipse Genie CLA 2018-10-02 02:42:18 EDT
New Gerrit change created: https://git.eclipse.org/r/130287
Comment 16 Eclipse Genie CLA 2018-10-02 02:42:21 EDT
New Gerrit change created: https://git.eclipse.org/r/130293
Comment 17 Eclipse Genie CLA 2018-10-02 02:42:24 EDT
New Gerrit change created: https://git.eclipse.org/r/130291
Comment 18 Eclipse Genie CLA 2018-10-02 02:42:27 EDT
New Gerrit change created: https://git.eclipse.org/r/130292
Comment 19 Eclipse Genie CLA 2018-10-02 02:42:30 EDT
New Gerrit change created: https://git.eclipse.org/r/130296
Comment 20 Eclipse Genie CLA 2018-10-02 02:42:31 EDT
New Gerrit change created: https://git.eclipse.org/r/130295
Comment 21 Eclipse Genie CLA 2018-10-02 02:42:33 EDT
New Gerrit change created: https://git.eclipse.org/r/130298
Comment 22 Eclipse Genie CLA 2018-10-02 02:42:35 EDT
New Gerrit change created: https://git.eclipse.org/r/130297
Comment 23 Eclipse Genie CLA 2018-10-02 02:42:37 EDT
New Gerrit change created: https://git.eclipse.org/r/130294
Comment 24 Eclipse Genie CLA 2018-10-02 03:44:49 EDT
New Gerrit change created: https://git.eclipse.org/r/130301
Comment 25 Eclipse Genie CLA 2018-10-02 03:44:52 EDT
New Gerrit change created: https://git.eclipse.org/r/130300
Comment 26 Eclipse Genie CLA 2018-10-02 04:05:34 EDT
New Gerrit change created: https://git.eclipse.org/r/130303
Comment 27 Eclipse Genie CLA 2018-10-02 04:05:36 EDT
New Gerrit change created: https://git.eclipse.org/r/130305
Comment 28 Eclipse Genie CLA 2018-10-02 04:05:38 EDT
New Gerrit change created: https://git.eclipse.org/r/130304
Comment 51 Eclipse Genie CLA 2018-10-10 04:04:28 EDT
New Gerrit change created: https://git.eclipse.org/r/130723
Comment 52 Pierre-Charles David CLA 2018-10-10 04:16:25 EDT
Steps to validate:
* Make sure the release notes clearly mention the license change.
* Check that all Sirius-provided features and plug-ins correctly declare EPL 2.0. Install everything and then Help > About > Installation Details > Features. For all org.eclipse.sirius.* features the text should be similar to this:

Copyright (c) YYYY XXXX and Others
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/

SPDX-License-Identifier: EPL-2.0

For plug-ins (in the "Plug-ins" tab), the "Legal Info" button should open an HTML page which mentions EPLv2: " The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available at http://www.eclipse.org/legal/epl-2.0. For purposes of the EPL, "Program" will mean the Content.
Comment 54 Jessy Mallet CLA 2018-10-11 10:54:23 EDT
Validated with Sirius 6.1.0 (6.1.0.201810111222)
Comment 55 Pierre-Charles David CLA 2018-10-19 12:48:00 EDT
Available in Sirius 6.1.0, see https://wiki.eclipse.org/Sirius/6.1.0
Comment 56 Eclipse Genie CLA 2019-01-30 11:12:42 EST
New Gerrit change created: https://git.eclipse.org/r/136028