Fix the distribution of resolvers on an uninitialised machine#122
Fix the distribution of resolvers on an uninitialised machine#122tadeas-hejnic wants to merge 2 commits into
Conversation
…'t initialized yet
BigRoy
left a comment
There was a problem hiding this comment.
LGTM
Only confusing thing is that function name ensure_addon_data_json you wouldn't really expect it to return a dict? Should it maybe just return {} and not make the file at all if it does not exist. Especially because ayon_usd_addon_first_init_utc does not seem to be used anywhere?
So maybe it should be get_addon_json_data?
I have separated the |
Changelog Description
This pull request refactors how the addon metadata JSON file is handled to ensure it is always present and initialized correctly. The main improvement is the introduction of a utility function to centralize and simplify the creation and reading of this metadata file.
Testing notes: