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

Suggest adding a .gitattributes file #125

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Calvin-L
Copy link

While working on wbond/package_control_channel#8090, I was surprised
to learn that there is a way to exclude files from the final package.

While working on wbond/package_control_channel#8090, I was surprised
to learn that there is a way to exclude files from the final package.
@FichteFoll
Copy link
Contributor

While I don't know whether we want to suggest this as a general way around such issues, it should definitely mention that this affects all types of archives you create for a git repo, including from the command line and all sorts of archives downloadable from github.

It is definitely a solution for some, but I wouldn't feel good just suggesting the option without its downsides.

@Calvin-L
Copy link
Author

Thanks for pointing that out; I've amended the text to note the potential downsides.

Perhaps this PR should be rejected, and something else should be added to the docs. Now that I understand this a little better, it seems like there is a real use case for some mechanism that

  • excludes files from the packages distributed to end-users, but
  • does not affect developer activities like downloading release archives from GitHub.

Does such a mechanism exist? I don't see one mentioned anywhere.

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.

2 participants