lilydjwg / nvchecker

New version checker for software releases
MIT License
438 stars 70 forks source link

Issue on newver files when run with `--entry` #255

Closed blaggacao closed 8 months ago

blaggacao commented 9 months ago

when running with --entry (which is sort of hinted at being useful for debugging, but I use it to let the used select what to do more deliberatly), unfortunately, the whole newver json file gets overriden resulting in this diff:

diff --git a/apps/_pins/newver.json b/apps/_pins/newver.json
index 1149864..f1210eb 100644
--- a/apps/_pins/newver.json
+++ b/apps/_pins/newver.json
@@ -1,12 +1,3 @@
 {
-  "ecommerce-integrations": "v1.19.6+2024-02-08",
-  "erpnext": "v15.0.0-dev0+2024-02-14",
-  "frappe": "v15.0.0-dev0+2024-02-08",
-  "gameplan": "v0.0.1",
-  "insights": "v1.2.9",
-  "payments": "v0.0.1+2024-02-07",
-  "pibicut": "v0.0.1",
-  "theme": "1cecee3fd3c3d86403089d16212aabcc4fddf5c1",
-  "waba-integration": "v0.0.1",
-  "webhooks": "v0.1.0"
+  "erpnext": "v15.0.0-dev0+2024-02-14"
 }

after running nvchecker -c [...] --entry erpnext.

I hope this isn't a regression (of my own patch) in disguise... :pray: