A semi-decentralized package manager
KOLANICH opened this issue · 1 comments
KOLANICH commented
Sorry for the offtop. I don't like the heavy reliance on IPFS and Etherium, but I'm thinking about the following package manager driven mainly by my CI needs to test my packages compatibility to the latest versions of their dependencies:
- a developer publish his source code on a public platform like GitHub.
- someone publish somewhere a file like
dipmp: git+https://github.com/Narasimha1997/dipmp.git
Let it be for example in https://github.com/Narasimha1997/Narasimha1997/blob/main/packages_petnames.yaml
repo
- A user of the package manager sets up an own config like
repos:
- https://raw.githubusercontent.com/Narasimha1997/Narasimha1997/main/packages_petnames.yaml
- The tool downloads the files.
- The tool matches the package names to repos
- The tool fetches the default branch from the repo, and builds the package and caches it.
- The tool installs the package using
pip
.
Also a tool can generate the list of petnames by taking user's account and using the service API to fetch the list of his repos and build a registry from it.
Narasimha1997 commented
Hi, @KOLANICH
Thanks for proposing this idea. Seems interesting 👍