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

“Use Default Excludes” Checkbox #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

frankeddy-mrm
Copy link

The reason for this changes is to address a edge case where we needed to include a ".gitignore" files as part of the deployment.

The core logic change is to call to the alternate DirScanner.Glob method setting and passing the useDefaultExcludes parameter. Additionally logic in the DataConstructor was added to set the default behavior to useDefaultExcludes = true for backwards compatibility.

To the UI, a "Use Default Excludes” checkbox was added allowing operators to control the the behavior. One anomaly exists with the new checkbox, that is for exist jobs created with previous version, the checkbox will not default to true (checked) even though it is initialized to true by the DataConstructor.

For the list of files patterns to exclude see https://ant.apache.org/manual/dirtasks.html#defaultexcludes

Catch up with remote master
…verride the previous default behavior of excluding files defined in the supporting Ant Directory Scanner library.

If checked, the deployment will exclude files based on the Ant default exclude list.

For the list of files patterns to exclude see https://ant.apache.org/manual/dirtasks.html#defaultexcludes
@Jmcfar
Copy link
Collaborator

Jmcfar commented Dec 19, 2017

Hi!

Thanks for the contribution.

Did you perform any testing as part of the changes? If so it'd be helpful to include that in the PR.

Are you OK with submitting this contribution under the Apache License 2.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants