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

(RK-399) Do not warn on spec changes with exclude_spec #1291

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

jarretlavallee
Copy link

Prior to this change, r10k would warn about local changes on the files
in the spec dir when exclude_spec was set. Since r10k was removing the
files, the warning would always be present for each git module when
exclude_spec was set. This change removes the spec files from the insync
checks so that the repo will not be marked as dirty if there are only changes
to the spec files. After this change, the warning about local
modifications on the spec files should not be present.

@jarretlavallee jarretlavallee requested a review from a team April 7, 2022 20:53
Prior to this change, r10k would warn about local changes on the files
in the spec dir when exclude_spec was set. Since r10k was removing the
files, the warning would always be present for each git module when
exclude_spec was set. This change removes the spec files from the insync
checks so that it will not be marked as dirty if there are only changes
to the spec files. After this change, the warning about local
modifications on the spec files should not be present.
@tvpartytonight
Copy link
Contributor

Thanks for doing this @jarretlavallee ! I'll take it for a spin later today.

@tvpartytonight tvpartytonight merged commit fb4b52a into puppetlabs:main Apr 12, 2022
@jarretlavallee jarretlavallee deleted the RK-399 branch April 13, 2022 13:04
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.

2 participants