Narasimha1997/dipmp

A semi-decentralized package manager

KOLANICH opened this issue · 1 comments

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:

  1. a developer publish his source code on a public platform like GitHub.
  2. 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

  1. A user of the package manager sets up an own config like
repos:
  - https://raw.githubusercontent.com/Narasimha1997/Narasimha1997/main/packages_petnames.yaml
  1. The tool downloads the files.
  2. The tool matches the package names to repos
  3. The tool fetches the default branch from the repo, and builds the package and caches it.
  4. 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.

Hi, @KOLANICH
Thanks for proposing this idea. Seems interesting 👍