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.
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.
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
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.
However, many projects have resources (e.g PNG or JPG images) which are larger than 100kB. These will be lost...
Better check in your node_modules directory the night before archive day so it’s included.