composer / satis

Simple static Composer repository generator - For a full private Composer repo use Private Packagist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Satis uses .gitignore file to exclude files from it's compressed package

Thijzer opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.
Satis uses .gitignore file to exclude files from it's compressed package.
Sometimes your git source has tracked files that are now excluded.
We don't want this as it might generate unwanted scenario's with archives.
Also for example in github releases or packagist releases that behavior is not replicated.

To Reproduce
Provide configuration file(s) and the exact command that you invoked.

Outcome
If applicable, please provide detailed verbose output (-vvv) of the command.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

commented

We use the archive manager from Composer.

I could be mistaken, but possibly setting the archive "ignore-filters" value to true could make it ignore filters such as .gitignore ( https://composer.github.io/satis/config#archive ).

I can confirm, setting "ignore-filters": true to true circumvents this. I ran into this same issue earlier this year.