-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat: remove examples from packaging #605
base: main
Are you sure you want to change the base?
Conversation
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.
Well, that will not help me at Debian packaging, but I will manage to workaround it
Thanks !
composer package as debian package? 😱 |
Well, no. But in a sense yes. The tarballs are re-used by packagist/composer. And also packaging people in Debian or other distributions. So if you exclude tests or other files from the git archive, other users who need them will have to use git clone to have them back. It's not very cool but sometimes it's best for everyone to have them excluded from the git archive. Does that help understand ? |
Ahhh okay. Thanks for maintaining phpmyadmin on debian! ❤️ |
And more of them ;p |
What do you think about this one @nicolaasuni ? |
@williamdes I will look into sign the tags. |
@williamdes Is this something worth doing or shall we focus on the new tc-lib-pdf lib instead? |
Removing the examples will save quite some bytes on each server that downloads tcpdf. Thank you for looking into git tags and commits signing. I would argue that we could also drop https://github.com/tecnickcom/TCPDF/blob/main/tcpdf_import.php and https://github.com/tecnickcom/TCPDF/blob/main/tcpdf_parser.php |
@nicolaasuni what do you think about this PR and my last message ? |
saves 2MB in everyones vendor folder :)