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

Should subpatches be added to patch.json? #135

Open
vovavili opened this issue Nov 17, 2022 · 1 comment
Open

Should subpatches be added to patch.json? #135

vovavili opened this issue Nov 17, 2022 · 1 comment

Comments

@vovavili
Copy link

vovavili commented Nov 17, 2022

Suppose I want to periodically query whether my local cache of DotA 2 constants corresponds to the latest DotA 2 version (7.32c). As right now, I have to do this using patchnotes.json, which loads ~800 kb of information I don't really need. But if I were to make this query on a very lightweight patch.json (< 10kb), I would only get information on the latest major DotA 2 patch (7.32).

Would it be possible to add subpatches to patch.json? This would make cache pruning a lot more efficient for some of my scripts.

@howardchung
Copy link
Member

Rather than change the format I would support creating a separate file for this. And ideally it would be automated, as it may be a lot of manual effort otherwise to keep up to date

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

No branches or pull requests

2 participants