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
Patch creator #72
Comments
Can you please provide some examples? |
Like for example having a lang file for a plugin which you have a modified file of already with lets say changed values for paths c, e and z and want to make it a patch file which would only consist of those changes, you would supply both the file including your changes and also the plugins default lang file, it would then work the different values and add those to a patch file with the set op and if there was a new key in modified file provided it would add the put op for that path. |
To clarify, please provide files that recreate the problem. I cannot work on this until that is provided. |
Theres no problem im suggesting like a feature |
I'm sorry, I was obviously in a "bug report" mode there. Actually, some example files (lang file, patch set file(s), etc) would still help even if they're made up files with proposed operators, etc. |
...and read your follow up comment one more time and I think it's clicking for me. It's kind of like a "diff" operation where given the two JSON files, identify the items that changed, and create a PatchSet file with those changes? |
Yeah that would be the one, do you want some examples still? |
No, thanks, I think I know where to go with this now. Just to clarify does it seem reasonable to one-off run mc-image-helper with a new subcommand like "patch-create"? |
Yeah that would be easy to use |
By supplying a modified file and a default file there would be a patch file that is filled with only the changed or new values
The text was updated successfully, but these errors were encountered: