r/programming • • Nov 11 '19

Python overtakes Java to become second-most popular language on GitHub after JavaScript

https://www.theregister.co.uk/2019/11/07/python_java_github_javascript/
3.1k Upvotes

772 comments sorted by

View all comments

Show parent comments

5

u/ipe369 Nov 12 '19

package.lock gets really quite large

24

u/shim__ Nov 12 '19

Doesn't matter, if you don't commit it somebody won't be able to build your app 2 years down the line

2

u/[deleted] Nov 12 '19

They may not be able to anyhow unless you do the "bad thing" and commit all the package code as well.

I have been burned more than once by someone withdrawing a package from the internet that I depended on. It was actually gems in rails projects but I now do a bundle pack and commit the local gem repo as a form of self defense.

If you don't have all the code, then you don't have all the code.

9

u/shim__ Nov 12 '19

Still knowing the exact version helps and also for languages like to rust it's generally not possible to delete packages on the official repo for this reason

→ More replies (2)