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

support downloading plugins #5

Closed
eightfilms opened this issue May 20, 2022 · 5 comments
Closed

support downloading plugins #5

eightfilms opened this issue May 20, 2022 · 5 comments
Labels
enhancement enhancement to a current feature

Comments

@eightfilms
Copy link
Contributor

fuelup should also be able to download and install plugins supported natively by Fuel Labs.

@mitchmindtree
Copy link
Contributor

I believe rustup distinguishes between sets of included plugins with the concept of "profiles":

https://rust-lang.github.io/rustup/concepts/profiles.html

Could be worth taking a similar approach.

@adlerjohn
Copy link
Contributor

Note that currently all forc-* plugins that are in the Sway repo are bundled together into a single tarball, along with forc itself. External plugins such as forc-wallet are separate.

@adlerjohn adlerjohn added the enhancement enhancement to a current feature label May 20, 2022
@Voxelot
Copy link
Member

Voxelot commented May 20, 2022

Do we have plans to setup a plugin registry?

@mitchmindtree
Copy link
Contributor

No plans at the moment, for now I guess our ad-hoc plugin registry is:

cargo search --limit 100 "forc-" | grep -ie plugin

🥲

Currently a forc plugin is just an executable available on PATH that starts with forc- much like cargo "plugins", e.g. it doesn't even necessarily have to be a Rust program or expose a particular set of commands.

I wonder if there's a plugin registry/index out there for cargo-* programs that are known plugins aimed at "extending" cargo 🤔

@eightfilms
Copy link
Contributor Author

Closed in favour of #162 since official plugins are currently downloaded in one release within the sway repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement to a current feature
Projects
Archived in project
Development

No branches or pull requests

4 participants