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

Support changing version in specified keys in data files #77

Open
tyler-jachetta opened this issue Jan 25, 2021 · 4 comments
Open

Support changing version in specified keys in data files #77

tyler-jachetta opened this issue Jan 25, 2021 · 4 comments
Assignees

Comments

@tyler-jachetta
Copy link
Collaborator

It would be helpful at times if the bump and set actions could take options to allow setting values in structured data files in addition to the other actions taken.

I'd propose `--set_(?:json|yaml)=:path.to.key

The use case is for the current ansible artifact generation.

@tyler-jachetta
Copy link
Collaborator Author

The human readable text around the version isn't a complete blocker, I can parse it out, but that feels brittle (and for set, won't work this way until #71 is resolved.

@otakup0pe
Copy link
Owner

@ultimatealf this is kinda what I was talking about earlier today in terms of auto editing associated/arbitrary yaml version pinning files.

@ultimatealf
Copy link

Seems like a natural fit that we have been considering (at least for a week according to github) :)
That would make editing a data file with the new desired version (and sha) pretty trivial.

@tyler-jachetta
Copy link
Collaborator Author

tyler-jachetta commented Feb 1, 2021

I didn't even think that it could deal with the painter stuff, yeah this simplifies that a lot wait no it doesn't really solve it the way I was thinking.

@tyler-jachetta tyler-jachetta self-assigned this Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants