Bug: .gitignore rules are not handled as one might expect
Open
bug
support
- Dominant language
- PHP
- Stars
- 3.3k
- Forks
- 530
- Avg merge
- 6h 53m
- Merged PRs (30d)
- 13
Description
I looked but I couldn't find this exact issue but it's related to the various .gitignore issues I'm sure. I'm not sure if this is an issue with satis (probably not) or with composer itself but the following rules in gitignore are ignored or misinterpreted because when creating archive files they all disappear completely (instead of excluding them from the first ignore rule):
/www/wp-content/*
!/www/wp-content/index.php
!/www/wp-content/themes/
!/www/wp-content/plugins/
!/www/wp-content/languages/
I.e. the resulting tar archive file contains an empty wp-content folder.
EDIT: it works as expected for files, but not folders.
Contributor guide
Assessment
This issue has not been assessed yet.