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

[BUGFIX] Keep development files out of the Composer packages #678

Merged
merged 2 commits into from
Aug 30, 2019

Conversation

oliverklee
Copy link
Contributor

Mark all development-only files and directories as export-ignore
via the .gitattributes file. This will keep them from being packaged
in the release ZIPs provided by GitHub and in the packages downloaded
by Composer with the --prefer-dist option (which is the default).

Mark all development-only files and directories as `export-ignore`
via the `.gitattributes` file. This will keep them from being packaged
in the release ZIPs provided by GitHub and in the packages downloaded
by Composer with the `--prefer-dist` option (which is the default).
@oliverklee oliverklee added the bug label Aug 29, 2019
@oliverklee oliverklee added this to the 2.2.0 milestone Aug 29, 2019
@oliverklee oliverklee self-assigned this Aug 29, 2019
Copy link
Contributor

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should CODE_OF_CONDUCT.md also be excluded as it relates to "participation in our project"?

@oliverklee
Copy link
Contributor Author

Should CODE_OF_CONDUCT.md also be excluded as it relates to "participation in our project"?

Makes sense. I'll push an update in a minute.

@oliverklee
Copy link
Contributor Author

In the article https://madewithlove.be/gitattributes/, the readme and changelog are blacklisted as well. Should we remove them as well?

@JakeQZ
Copy link
Contributor

JakeQZ commented Aug 30, 2019

In the article https://madewithlove.be/gitattributes/, the readme and changelog are blacklisted as well. Should we remove them as well?

I'm not sure. They strike me as being a potentially useful in the distributed package, and they are not 'development-only'.

@oliverklee
Copy link
Contributor Author

I'm fine either way.

Copy link
Contributor

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine either way.

OK, I'll merge this PR as it is now.

@JakeQZ JakeQZ merged commit 80266bb into master Aug 30, 2019
@JakeQZ JakeQZ deleted the bugfix/gitattributes branch August 30, 2019 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants