lmstudio-ai / venvstacks

Virtual environment stacks for Python
https://lmstudio-ai.github.io/venvstacks/
MIT License
1 stars 0 forks source link

Refactor metadata publication code #25

Open ncoghlan opened 1 week ago

ncoghlan commented 1 week ago

When local exports were first added, several of the field names differed from those in the archive build metadata (as the latter contained archive_ prefixes which would have been inaccurate for the local export use case).

Since then, the archive build metadata has also dropped from the archive_ prefix from those fields, so it should now be possible to eliminate more of the code duplication in the metadata handling for local exports and archive publication.