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

Provide a means to prevent files/directories/patterns from being tracked as part of a directory artifact #23

Open
kevin-hanselman opened this issue Oct 6, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@kevin-hanselman
Copy link
Owner

kevin-hanselman commented Oct 6, 2020

The main benefit is that directory artifacts could be created from directories whose contents should not be entirely tracked by Dud.

Option 1: Support .dudignore files that work similarly to .gitignore files. This is likely most useful when there's a pattern that shouldn't be tracked project-wide.

Option 2: Replace Artifact.DisableRecursion with a .gitignore-style list defined in the stage YAML itself. In this approach, YAML files remain standalone; no separate .dudignore file affects the definition of the stage.

Decoupling ignored patterns from the stages/artifacts themselves has strong pros and strong cons.

@kevin-hanselman kevin-hanselman added enhancement New feature or request low priority Closing this issue is a low priority labels Oct 6, 2020
@kevin-hanselman kevin-hanselman changed the title support .ducignore files to exclude files matching patterns support .ducignore files to prevent files/directories/patterns from being added as artifacts Oct 6, 2020
@kevin-hanselman kevin-hanselman changed the title support .ducignore files to prevent files/directories/patterns from being added as artifacts support .dudignore files to prevent files/directories/patterns from being added as artifacts Mar 7, 2021
@kevin-hanselman kevin-hanselman removed the low priority Closing this issue is a low priority label Mar 27, 2021
@kevin-hanselman kevin-hanselman added the low priority Closing this issue is a low priority label Jun 12, 2021
@kevin-hanselman kevin-hanselman changed the title support .dudignore files to prevent files/directories/patterns from being added as artifacts Provide a means to prevent files/directories/patterns from being tracked as part of a directory artifact Sep 3, 2021
@kevin-hanselman kevin-hanselman removed the low priority Closing this issue is a low priority label Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant