Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ignore file filter for referencing #22

Merged
merged 3 commits into from
Sep 11, 2023
Merged

feat: add ignore file filter for referencing #22

merged 3 commits into from
Sep 11, 2023

Conversation

mhatzl
Copy link
Owner

@mhatzl mhatzl commented Sep 11, 2023

List of issues that this PR closes

closes #19

Definition of Done ([req:qa.DoD])

Please consider the following requirements:

  • Add/Update requirement references (see: [req:qa.tracing])

Note: You may ignore requirements that are not relevant to your PR.

Relevant decisions you made in this PR

Switched from crate walkdir to ignore, because it provides filtering using ignore files,
and provides a built-in iterator over all path entries.

.mantraignore is recognized, but takes precedence over others, because this is the behaviour of the ignore crate.
However, negating ignores made in .gitignore won't help if mantra commands are only run in workflows, because due to .gitignore, files and folders won't be pushed to the remote if ignored.

@github-actions
Copy link
Contributor


mantra check ran successfully for branch: main

Checks:

- All references refer to existing requirements
- No deprecated requirement referenced
- No duplicate requirement IDs in wiki
- All entries in references lists are valid

1 new active requirement:

- req:filter references: 1

Took: 6ms

@mhatzl mhatzl merged commit 164c58c into main Sep 11, 2023
@mhatzl mhatzl deleted the filter branch September 11, 2023 14:37
@github-actions github-actions bot mentioned this pull request Sep 12, 2023
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.

[REQ] Filter option for project folders and files
1 participant