News for hackers. Stuff that matters.
Re:GitHub Archive Program by koolba on Wednesday November 13, 2019 @05:36PM (#21530471)
The real problem is that NPM wouldn’t be around.

Better check in your node_modules directory the night before archive day so it’s included.

Re:GitHub Archive Program by throwitinjunk on Wednesday November 13, 2019 @07:57PM (#21531661)
> The real problem is that NPM wouldn’t be around.

I wouldn't call that a problem.

Re:GitHub Archive Program by radicalriddler on Wednesday November 13, 2019 @06:42PM (#21531069)
I don't think there would be enough storage capability to store that many node_module directories.
Re:GitHub Archive Program by koolba on Wednesday November 13, 2019 @08:06PM (#21531718)
Assuming they are deduping based on content hash it shouldn’t be that big a deal. Worst case it’s the size of npm itself.
Re:GitHub Archive Program by account42 on Thursday November 14, 2019 @09:34AM (#21535628)
https://archiveprogram.github.com/#arctic-code-vault

> The snapshot will consist of the HEAD of the default branch of each repository, minus any binaries larger than 100KB in size. Each repository will be packaged as a single TAR file.

100KB is a very low limit, many repos will be useless

Re:GitHub Archive Program by koolba on Thursday November 14, 2019 @10:38PM (#21542011)
100KB per file would cover most JS projects. Even those with a checked nose_modules would be entirely included as the dependencies are already expanded.
Re:GitHub Archive Program by jkarjala on Monday November 18, 2019 @05:21AM (#21563171)
However, many projects have resources (e.g PNG or JPG images) which are larger than 100kB. These will be lost...
Re:GitHub Archive Program by fastball on Thursday November 14, 2019 @03:21AM (#21533745)
Well yeah, but at that point you should just be cloning NPM on 2/2/20 as well.