Hacker News new | past | comments | ask | show | jobs | submit
I don't get it, this is exactly how I have been mostly working since around 2010.

Nothing that lands on CI/CD pipelines is able to download anything directly from Internet, rather internal repos based on Nexus, Artfactory and similar.

Additionally everything that gets uploaded into them needs to have an approval process for the most part.

So, not only already exists, it is an intermediate process, and you can even pay depending on the features.

It baffles me that this is not the default.

I mean, sure for hobby project you don't want to setup/pay some intermediate repos.

But for anything else you just want control, if new version of an app is released, someone needs to actively bring it to the intermediate repository.

This is tangential, but that's also why being able to import a package from a git url in some language is extremely risky (your github repo could change owners at any time). At least the code should only know about the package id, and whatever "package manager" is install should link it to a repository.

The git url could point to a location that you control.
Yes, but should be safe by default, and then you can remove some safety net for convenience, being fully aware of the trade off.