If all you have is a hammer, everything looks like a nail. [0] [0] Abraham H. Maslow (1966). The Psychology of Science.
We repurposed NPM to publish and distribute Go binaries for our internal CLI
51–60 of 65 posts
Re: We repurposed NPM to publish and distribute Go binaries for our internal CLI
#52Re: We repurposed NPM to publish and distribute Go binaries for our internal CLI
#53It is a FUSE filesystem, where we can install software once and have it distributed to a practically unlimited number of clients thanks to a simple and performant cache system.
The filesystem is called CernVM-FileSystem, CVMFS for short.[1]
I maintain a public instance of it under https://packages.redbeardlab.com
It contains "common" software, like standard unix tools, compilers, webservers, etc...
I wrote a bit about it:
https://redbeardlab.com/2020/12/20/announcing-packages-redbe...
https://redbeardlab.com/2020/12/21/bootstrapping-packages-re...
https://redbeardlab.com/2020/12/21/packages-redbeardlab-com-...
https://redbeardlab.com/2020/12/23/packages-redbeardlab-com-...
Re: We repurposed NPM to publish and distribute Go binaries for our internal CLI
#54At CERN we have an internal system to distribute software. It is mostly used to distribute software to production systems in the datacenters or to distribute nightlies and toolchains to developers. It replace standard package managers on most production systems. It is a FUSE filesystem, where we can install software once and have it distributed to a practically unlimited number of clients thanks to a simple and perfo…
It's like Stackage LTS releases, but everything's installed already.
Re: We repurposed NPM to publish and distribute Go binaries for our internal CLI
#55I need a medium account to read this for some reason.
Re: We repurposed NPM to publish and distribute Go binaries for our internal CLI
#56I believe that Conda is the closest thing to an answer to this need.
It works on Windows, Mac and Linux. It supports packaging arbitrary binaries. It lets you specify dependencies that can be arbitrary libraries for arbitrary languages. And it has a relatively simple package format, build process, and repository format.
It's not the best piece of software when it comes to user experience, and its niche is still very much data science. But it is a glimpse of what should be possible, but is not currently available.
Re: We repurposed NPM to publish and distribute Go binaries for our internal CLI
#57At CERN we have an internal system to distribute software. It is mostly used to distribute software to production systems in the datacenters or to distribute nightlies and toolchains to developers. It replace standard package managers on most production systems. It is a FUSE filesystem, where we can install software once and have it distributed to a practically unlimited number of clients thanks to a simple and perfo…
One of the best things about CVMFS is the idea of LCG views which are coherent installations of a large number of packages. This more or less eliminates the need for package management and guarantees that someone else can reproduce your environment. It's like Stackage LTS releases, but everything's installed already.
Fortunately Nix helped in creating the same coherent installation of packages.
Then `source /cvmfs/packages.redbeardbal.com/setup.sh` give you the same feel of an LCG view, but with more widespread packages.
Re: We repurposed NPM to publish and distribute Go binaries for our internal CLI
#58Go supports native packages natively via go get, why the hell bring npm into the picture?!?
Re: We repurposed NPM to publish and distribute Go binaries for our internal CLI
#59Re: We repurposed NPM to publish and distribute Go binaries for our internal CLI
#60Earlier quoted context omitted.
> "This is your last free member-only story this month. Sign up for Medium and get an extra one" Well, that's about the end of medium I think.
I wonder how “publishers” feel about that. I would feel rather angry if Medium dictated that people couldn’t access my blog posts.