Skip to content

Conversation

@matthiasblaesing
Copy link
Contributor

Before this changeset the LICENSE file from the root of the
repository/source directory was used to create the LICENSE file of the
binary build. This worked correctly for the repository because there
only the ALv2 is present, but a source config build in the LICENSE file
also the references to the license files for the embedded source files
with foreign licenses are included.

A binary build from a source config thus contains the license info of
the source config and the binary build. This is not correct, as the
binary config can contains less source only files because they are only
required at build time.

To fix this, a new license-stub.txt is introduced, that only contains
the ALv2 regardless whether it comes from the repository or from a
source config build.

Before this changeset the LICENSE file from the root of the
repository/source directory was used to create the LICENSE file of the
binary build. This worked correctly for the repository because there
only the ALv2 is present, but a source config build in the LICENSE file
also the references to the license files for the embedded source files
with foreign licenses are included.

A binary build from a source config thus contains the license info of
the source config _and_ the binary build. This is not correct, as the
binary config can contains less source only files because they are only
required at build time.

To fix this, a new license-stub.txt is introduced, that only contains
the ALv2 regardless whether it comes from the repository or from a
source config build.
Copy link
Contributor

@jlahoda jlahoda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@ebarboni ebarboni merged commit 2b5d10b into apache:master Feb 21, 2020
@ebarboni
Copy link
Contributor

Hi @matthiasblaesing , I'm in the signing process (on my box it's a bit long)
Is the issue solved on the VC2, the artefacts are here https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-TLP/job/netbeans/job/release113/20/artifact/dist/netbeans/11.3/vc2/

Would be to know if ok for you.

@matthiasblaesing
Copy link
Contributor Author

@ebarboni both source and binary look sane to me. Thank you.

@junichi11 junichi11 added this to the 11.3 milestone Feb 22, 2020
@matthiasblaesing matthiasblaesing deleted the license_from_source_config branch October 4, 2021 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants