addon-datastore icon indicating copy to clipboard operation
addon-datastore copied to clipboard

Make the submission process more robust by caching dependencies

Open nvdaes opened this issue 11 months ago • 4 comments

Background

Currently, the validation repo is checked out to validate submissions, and dependencies are installed using requirements.txt. This may be improved by caching dependencies and refreshing the cache when requirements.txt is updated. For this, the whole validation repo may be checked out, or just the requirements.txt file, in order to check if dependencies should be checked out restoring the cache or installing them again.

nvdaes avatar Apr 09 '25 09:04 nvdaes

We can consider moving this to uv as well, since the uv action has proper cache.

LeonarddeR avatar Apr 23 '25 19:04 LeonarddeR

@LeonarddeR , I don't have experience with uv. I can try to work on it with Uv, but likely my work won't be optimal.

nvdaes avatar Jun 20 '25 06:06 nvdaes

I'm working with uv locally, converting to projects addon-datastore-validation and addon-datastore-transforms in my fork. Please let me know if you think that I shouldn't follow this way @seanbudd @SaschaCowley

nvdaes avatar Jun 20 '25 10:06 nvdaes

@nvdaes - converting the repos to uv would be nice. I think they need to be linux/windows agnostic possibly

seanbudd avatar Jun 26 '25 07:06 seanbudd