prototype-cjdns-pi icon indicating copy to clipboard operation
prototype-cjdns-pi copied to clipboard

Module ideas

Open makew0rld opened this issue 5 years ago • 4 comments

Ideas of what modules should be like taken from from the HackMD Modules section:

  • [x] No flashing for updates
  • [x] Individual packages
  • [x] Pre-compiled where possible
    • [ ] Only when the original maintainers do this
    • [ ] Otherwise it can't be verified that we aren't doing anything malicious
  • [x] Can be installed, uninstalled, updated separately from each other
  • [x] Easily accessible package scripts online
  • [ ] Hosted on the Internet and mesh
  • [x] Updates over mesh possible
  • [ ] Decentralized updates maybe
    • [ ] IPFS
    • [ ] Packages would be cached by nodes when they update or install stuff
    • [ ] Local IPFS address in apt conf
  • [x] Likely as .deb packages
  • [x] Module packaging standards and rules
  • [ ] Other people adding modules
    • [ ] Anyone can make a PR to add to our module repo
    • [ ] If it is rejected for not following standards/rules/COC then anyone can make their own repo and add it into their node
      • [ ] Like how many Linux OS package repos work

makew0rld avatar Mar 05 '19 01:03 makew0rld

No flashing for updates Individual packages

Debian repository already decided upon as the direction we will go.

Can be installed, uninstalled, updated separately from each other

Debian repository. Obviously they will need to satisfy dependencies.

Checked off items have already been decided on based on the direction agreed upon (DEB repository)

Pre-compiled where possible Only when the original maintainers do this Otherwise it can't be verified that we aren't doing anything malicious Easily accessible package scripts online

The package build script will be available as open source repository and can be peer reviewed. Other considerations can be made when the repository is created about how the deb packages actually get built/released.

Decentralized updates maybe Hosted on the Internet and mesh

This is dependent on the how the repository is created/hosted and what it can do.

Other people adding modules

These will be rules set out at when the Debian repository is created. We would have to have some sort of checks/balances to keep the purity of the repository.

However

  • Packages can always be created but not necessarily committed to our repo
  • Anyone can host their own Repo
  • Repo deployment will be part of Mesh Services and replicatable

darkdrgn2k avatar Mar 05 '19 02:03 darkdrgn2k

Decentralized updates maybe Hosted on the Internet and mesh

Could apt-p2p be used for this? Seems interesting.

Shrinks99 avatar Mar 08 '19 18:03 Shrinks99

@Shrinks99 I am against including another p2p system, another long-running service, DHT, etc. I'm thinking with stick with IPFS, since we are already using it.

makew0rld avatar Mar 08 '19 22:03 makew0rld

IPFS is focusing on package managers this year and apt IPFS mirrors also exist.

Something to look into after we have everything converted to Debian packages and a centralized (regular) repo working.

Shrinks99 avatar Apr 07 '19 22:04 Shrinks99