Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crates.io releases #578

Open
1 of 5 tasks
sam0x17 opened this issue Jun 25, 2024 · 2 comments
Open
1 of 5 tasks

crates.io releases #578

sam0x17 opened this issue Jun 25, 2024 · 2 comments
Assignees
Labels
blue team defensive programming, CI, etc

Comments

@sam0x17
Copy link
Contributor

sam0x17 commented Jun 25, 2024

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:

  • 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
  • publish to crates.io (requires a github action / script especially since crates need to be published in a very particular order)
  • ability to publish to crates.io automatically as part of gh action release process
  • ability to spin up a new node via cargo install? or something we don't care about?
@sam0x17 sam0x17 added the blue team defensive programming, CI, etc label Jun 25, 2024
@sam0x17 sam0x17 self-assigned this Jun 25, 2024
@ppolewicz
Copy link

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.

@sam0x17
Copy link
Contributor Author

sam0x17 commented Jun 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blue team defensive programming, CI, etc
Projects
None yet
Development

No branches or pull requests

2 participants