Skip to content

Conversation

@borkweb
Copy link
Member

@borkweb borkweb commented Dec 13, 2024

This resolves an issue where an ignored file will supercede an explicit include.

Example:

  1. If .distfiles includes /node_modules/clipboard/**/*.min.js
  2. If .distignore includes /node_modules, it will override the above

The fix is a .distfiles exists and has contents, .distignore is not observed - because .distfiles a safelist of files with more flexibility than .distignore in its syntax.

Fake Fake and others added 2 commits December 13, 2024 12:47
This resolves an issue where an ignored file will supercede an explicit include.

Example:

1. If `.distfiles` includes `/node_modules/clipboard/**/*.min.js`
2. If `.distignore` includes `/node_modules`, it will override the above

The fix is that if a file is a match for a `.distfiles` or `.distinclude`, that should win and the ignore is skipped.
@borkweb borkweb marked this pull request as draft December 13, 2024 18:00
@borkweb borkweb closed this Dec 13, 2024
@borkweb borkweb reopened this Dec 13, 2024
@borkweb borkweb marked this pull request as ready for review December 13, 2024 20:14
@borkweb borkweb merged commit af6ed6d into main Dec 13, 2024
2 checks passed
@borkweb borkweb deleted the fix/ensure-included-files-are-included branch December 13, 2024 22:50
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.

3 participants