zopencommunity / metaport

zopen package manager
Apache License 2.0
1 stars 2 forks source link

zopen upgrade should update meta first, then tool(s) #62

Open catherdersoftware opened 2 months ago

catherdersoftware commented 2 months ago

Currently, zopen upgrade with no operands runs through the repository in alphabetical order. If a new version of meta is available, zopen will upgrade it, then starts the process over. This wastes time and processing resources.

By checking and upgrading meta first, other packages which alphabetically come before meta will be compared against the most recent metadata, rather than an older version, and double installs during processing are avoided.