-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[FEATURE] Have ExcludeFromPackaging respect .gitattributes file #24
Comments
thought of that feature as well, would be great to have this! |
Will see if I can have it done. |
Yes. I always just thought "How can we parse the .gitattributes to be fully compliant like git" something like "**/vendor/*php" is probably possible. And I guess we need to consider only the "export-ignore" rows. https://git-scm.com/docs/gitattributes |
I am actually in favor of "if there is a gitattributes file, we just use that one and nothing else" |
Will look into that.
I like that approach. |
With Github I'm solving this by using the artefact from the release which already respects the .gitattributes. The simplest solution would be just using |
Please be aware of not tracked files in a git repo for extensions, which require some dynamic files for TER version. See: |
Hi together, I created https://github.com/eliashaeussler/gitattributes – is this something you consider useful to be consumed by tailor? If so, I'd be happy to provide a first draft PR. Note: This would mean that support for PHP < 8.1 needs to be dropped. |
Summary / Description
Talking with @georgringer this morning as he asked about if my GitHub Action respects the
.gitattributes
-file. I look into the Tailor and say it's a manually maintain list (1) of files that would be included.I find that perfectly OK, but would suggest having the
.gitattributes
respected as well.Describe alternatives you've considered
Haven't considered other alternative yet.
Possible solution
My suggestion would be to parse the
.gitattributes
file and added to the array of/conf/ExcludeFromPackaging.php
Links
[1] https://github.com/TYPO3/tailor/blob/main/conf/ExcludeFromPackaging.php
The text was updated successfully, but these errors were encountered: