paritytech / polkadot

Polkadot Node Implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gather requirements for binary distribution

mrcnski opened this issue · comments

ISSUE

Overview

For distributing polkadot, the status quo is that we have a single binary and users can:

  1. download the binary
  2. build it themselves and copy into the appropriate directory
  3. or install through a Deb package.

As per this discussion, we want to start gathering requirements for a potential change to this where we would have multiple binaries. They also need to be built with the musl target which changes how (2) is done.

Do we need to keep supporting all the above cases or can we simplify it? How would multiple binaries affect the experience? How can we minimize pain for breakage?

Questions:

  • 1. What are validators’ requirements, e.g. how can we keep installation simple and minimize breakage for them?
  • 2. What are our requirements for testing, e.g. how is installation done on Versi right now?
    • It will most likely not have too much impact for the two ways the devops team is running nodes: docker (in kubernetes) and systemd (provisionned on VMs with ansible)

This issue has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/ux-of-distributing-multiple-binaries-take-2/2854/31

For (2):

It will most likely not have too much impact for the two ways the devops team is running nodes: docker (in kubernetes) and systemd (provisionned on VMs with ansible).

I also got feedback that an install script is not needed, as long as it is clear what binaries are needed to run the node and potentially a flag to specify the path of those extra binaries (if unable to determine it automatically).