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

Add the possibility to exclude some keys to write or/and generate (or not) the comment header with the timestamp #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexandrenavarro
Copy link

Add the possibility to exclude some keys to write and generate (or not) the comment header with the timestamp.

I need to generate properties file but without some property keys (notably the generated based on random value or timestamp value or environment based) and need not to have the timestamp of the generation of the properties.
It permits have exactly the same properties file in order not to have some conflicts based on these generated properties.

I added the exclusionRegex parameter (not required) to exclude some keys.
I added the generateCommentHeader parameter (not required, defauted to true) to remove the comment header (or not).

If you don't set the 2 parameters, the generation of the properties file is back-compatible.

Don't hesitate if you have any comment on the pull-request.

@alexandrenavarro
Copy link
Author

Any news?

@slachiewicz
Copy link
Member

hi, could you review recent changes (ie rebase on master) and adjust your proposal ?

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