[
https://issues.apache.org/jira/browse/CASSANDRA-16558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17332498#comment-17332498
]
Michael Semb Wever edited comment on CASSANDRA-16558 at 4/26/21, 3:25 PM:
--------------------------------------------------------------------------
[~benedict], i tried a number of approaches. The layout of the Cassandra
directory makes this difficult (there's source files in different locations and
build/generated files in numerous places. Problem with variations that are
friendly is that we go back to letting files slip through, getting committed
without the license header and being the release manager's headache.
Would including a user-based global {{~/.gitignore}} be a way we could get
around this?
e.g.
{code}
git config --global core.excludesFile '~/.gitignore'
{code}
was (Author: michaelsembwever):
[~benedict], i tried a number of approaches. The layout of the Cassandra
directory makes this difficult (there's source files in different locations and
build/generated files in numerous places. Problem with variations that are
friendly is that we go back to letting files slip through, getting committed
without the license header and being the release manager's headache.
Is using a user-based global {{~/.gitignore}} a way we could get around this?
e.g.
{code}
git config --global core.excludesFile '~/.gitignore'
{code}
> Fix rat check (April 2021)
> --------------------------
>
> Key: CASSANDRA-16558
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16558
> Project: Cassandra
> Issue Type: Task
> Components: Build, Packaging
> Reporter: Michael Semb Wever
> Assignee: Michael Semb Wever
> Priority: High
> Fix For: 2.2.20, 3.0.25, 3.11.11, 4.0, 4.0-rc1
>
> Attachments: Screenshot 2021-04-18 at 15.34.01.png
>
>
> The rat plugin in build.xml is a mess and not properly catching missing
> license headers.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]