Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove docs about light-weight packages
- Loading branch information
Showing
1 changed file
with
0 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b34220e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @Seldaek, is it available some discussion about this decision (I mean, do not use/or encourage to use .gitattributes to provide light-weight packages)?
I am asking that cause of phpoffice/phpexcel project, particularly its issue 98 and their commit using .gitattributes as the issue solution.
Thanks in advance!
b34220e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rogeriopradoj This was mostly discussed in the context of symfony at symfony/symfony#6605. We decided to encourage including tests and docs as part of the zip distribution (since they are useful during development), and allow users to strip them as part of their own deployment process.
b34220e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, thanks @igorw, I can see your point.
After a long analysis, I could probably say that the problem there at https://github.com/phpoffice/phpexcel it the lack of tags in composer way. I will definitely suggest @MarkBaker to focus on retagging the releases.
Thanks again!
b34220e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found this commit when trying to discover why the (as I understand it) feature of Composer ignoring files (...or not packing? Is even
git archive
involved somehow? I don't know; It's not in the docs...) marked byexport-ignore
in.gitattributes
is completely undocumented.Please, mention this functionality in Composer's documentation somehow.
You can encourage (although you don't can't know how big my
docs/
might be and how much I'd really want to exclude it from my package's dist), but you don't have to hide an important piece of functionality because of that. And I had to go through some old and obscure and old of the internets to find out about this. I'd prefer to have this useful information available in Composer's documentation.