You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2021/04/09 21:26:00 UTC

[jira] [Created] (CALCITE-4576) Release process should not overwrite LICENSE file

Julian Hyde created CALCITE-4576:
------------------------------------

             Summary: 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


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)