replit / upm

⠕ Universal Package Manager - Python, Node.js, Ruby, Emacs Lisp.
https://repl.it
Other
1.05k stars 89 forks source link

Skip upm lock when specfile lists no pkgs (DX-575) #261

Closed alexhulbert closed 5 months ago

alexhulbert commented 5 months ago

Why

https://linear.app/replit/issue/DX-575/upm-lock-can-run-multiple-times-if-packagedir-doesnt-get-created

What changed

In the previous scenarios with no package folder (like .pythonlibs) where upm lock was always running, now upm will only run lock if the specfile exists and contains at least one package.

Test plan

Tested out python template locally with no pythonlibs folder. I don't see packager messages when I don't change dependencies.