Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude .github directory from release tarball #9850

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Mar 29, 2024

Which issue does this PR close?

Closes #9843

Rationale for this change

We do not run the RAT check against the files under the hidden directory .github in CI, and some of these files are currently missing licenses (#9851).

However, when we create the release tarball, we include these files in the tarball and then run the RAT check against them, and this currently fails.

What changes are included in this PR?

This PR updates .gitattributes so that we no longer include the .github files in the release tarball. There really is no need to include these files in a release.

Are these changes tested?

I manually tested with the following command before and after making the change to .gitattributes and confirmed that the modification was effective in excluding the .github files from the tarball:

git archive HEAD --prefix andy/ | gzip > andy.tgz

Are there any user-facing changes?

@andygrove andygrove self-assigned this Mar 29, 2024
@andygrove andygrove added the development-process Related to development process of DataFusion label Mar 29, 2024
@alamb alamb merged commit 3eeb108 into apache:main Mar 29, 2024
25 checks passed
@andygrove andygrove deleted the exclude-github-from-tarball branch March 29, 2024 13:47
Lordworms pushed a commit to Lordworms/arrow-datafusion that referenced this pull request Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development-process Related to development process of DataFusion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RAT errors during release process
3 participants