subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

crates.io releases

Open sam0x17 opened this issue 1 year ago • 5 comments

If we start releasing the subtensor workspace to crates.io ~~it would dramatically simplify the user experience of running a node (could even get to cargo install subtensor level potentially), but I see this as a side-mission / goal, the real objective here would~~ be getting rust docs released to docs.rs/lib.rs/etc so when people google subtensor-related things they actually come up with up-to-date docs.

AC:

  • [x] consolidate workspace so it is crates.io-friendly, ensure globally unique crate names, etc
  • [ ] set up a secure crates.io account we can use for releases, get a key for pushing to it added to CI
  • [x] publish to crates.io (requires a github action / script especially since crates need to be published in a very particular order) #720
  • [ ] ability to publish to crates.io automatically as part of gh action release process
  • [x] ~~ability to spin up a new node via cargo install? or something we don't care about?~~

sam0x17 avatar Jun 25 '24 17:06 sam0x17

Running a node is already easy via docker-compose and crates.io won't make it any easier for ordinary user.

I don't understand what benefit it would give to non-developers who need to have devenv set up already.

ppolewicz avatar Jun 26 '24 18:06 ppolewicz

Running a node is already easy via docker-compose and crates.io won't make it any easier for ordinary user.

I don't understand what benefit it would give to non-developers who need to have devenv set up already.

probably none, I just mentioned it in case anyone thought it would be useful for some specific reason

sam0x17 avatar Jun 26 '24 18:06 sam0x17

On-hold until reproducible builds are done.

gztensor avatar Oct 11 '24 15:10 gztensor

It looks like we're actually quite close in completing this, we only seem to need a specific crates.io account and a GH action release process. Am I missing anything?

keithtensor avatar May 09 '25 10:05 keithtensor

major blocker is we need to 100% eliminate git dependencies from our workspace. All crates.io crates have to only have crates.io dependencies

sam0x17 avatar May 10 '25 04:05 sam0x17