[
https://issues.apache.org/jira/browse/CALCITE-4576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde updated CALCITE-4576:
---------------------------------
Description:
The release process should not generate a source distribution whose {{LICENSE}}
file has different contents from the {{LICENSE}} file stored in Git.
Rationale: Source distributions should be a mirror of the contents of Git at
the time of the release. (Possibly a few files are omitted -- see CALCITE-4575
for example -- but files should not be generated/compiled.) Users expect that
the LICENSE file they see in Git is the same as the LICENSE file in the source
distribution.
One possible implementation of this is as follows. The release process should
not overwrite the {{LICENSE}} file when generating the source distribution. It
should generate a {{LICENSE}} file (possibly from a {{LICENSE.template}} file),
check that the one in source control is identical, and fail if it is not.
was:
The release process should generate a source distribution whose {{LICENSE}}
file has different contents from the {{LICENSE}} file stored in Git.
Rationale: Source distributions should be a mirror of the contents of Git at
the time of the release. (Possibly a few files are omitted -- see CALCITE-4575
for example -- but files should not be generated/compiled.) Users expect that
the LICENSE file they see in Git is the same as the LICENSE file in the source
distribution.
One possible implementation of this is as follows. The release process should
not overwrite the {{LICENSE}} file when generating the source distribution. It
should generate a {{LICENSE}} file (possibly from a {{LICENSE.template}} file),
check that the one in source control is identical, and fail if it is not.
> Release process should not overwrite LICENSE file
> -------------------------------------------------
>
> Key: CALCITE-4576
> URL: https://issues.apache.org/jira/browse/CALCITE-4576
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Priority: Major
>
> The release process should not generate a source distribution whose
> {{LICENSE}} file has different contents from the {{LICENSE}} file stored in
> Git.
> Rationale: Source distributions should be a mirror of the contents of Git at
> the time of the release. (Possibly a few files are omitted -- see
> CALCITE-4575 for example -- but files should not be generated/compiled.)
> Users expect that the LICENSE file they see in Git is the same as the LICENSE
> file in the source distribution.
> One possible implementation of this is as follows. The release process should
> not overwrite the {{LICENSE}} file when generating the source distribution.
> It should generate a {{LICENSE}} file (possibly from a {{LICENSE.template}}
> file), check that the one in source control is identical, and fail if it is
> not.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)