Skip to content

Do not distribute development related files#3

Open
d-s-codappix wants to merge 1 commit intoaimeos:masterfrom
d-s-codappix:do-not-distribute-all-files
Open

Do not distribute development related files#3
d-s-codappix wants to merge 1 commit intoaimeos:masterfrom
d-s-codappix:do-not-distribute-all-files

Conversation

@d-s-codappix
Copy link

The composer package is distributed from GitHub via a git export. We therefore can prevent files from being distributed, by using .gitattributes file with export-ignore.

See: https://git-scm.com/docs/gitattributes#_export_ignore

The composer package is distributed from GitHub via a git export.
We therefore can prevent files from being distributed, by using
`.gitattributes` file with `export-ignore`.

See: https://git-scm.com/docs/gitattributes#_export_ignore
@d-s-codappix
Copy link
Author

d-s-codappix commented Feb 11, 2026

I've noticed that our deployment copies a lot of test files from aimeos.
We can save resources by adding the configuration to all aimeos packages. This will prevent the configured files from distribution while composer installs.

I do not know if you use the git commands in other circumstances which might prevent this approach.

@aimeos
Copy link
Owner

aimeos commented Feb 11, 2026

It seems to be only relevant when creating archives so I guess it's safe to merge it but we will see.
Are you able to add that file to the other repos too?

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