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

feat: install extensions using the catalog #3868

Merged
merged 5 commits into from
Aug 9, 2024

Conversation

ericswanson-dfinity
Copy link
Member

@ericswanson-dfinity ericswanson-dfinity commented Aug 7, 2024

Description

Look up location of extension.json url from /catalog.json in https://github.com/dfinity/dfx-extensions

Fixes https://dfinity.atlassian.net/browse/SDK-1796

How Has This Been Tested?

Added an e2e test, and the dfx extension install <extension name> test also covers this.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@ericswanson-dfinity ericswanson-dfinity requested a review from a team as a code owner August 7, 2024 20:31
@ericswanson-dfinity ericswanson-dfinity changed the title feat: install extensions using the catalogEns/sdk 1796 extension registry feat: install extensions using the catalog Aug 7, 2024
@@ -23,6 +22,9 @@ pub struct InstallOpts {
/// Installs a specific version of the extension, bypassing version checks
#[clap(long)]
version: Option<Version>,
/// Specifies the URL of the catalog to use to find the extension.
#[clap(long)]
catalog_url: Option<Url>,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be catalog

@ericswanson-dfinity ericswanson-dfinity enabled auto-merge (squash) August 8, 2024 19:29
auto-merge was automatically disabled August 9, 2024 01:52

Pull Request is not mergeable

@ericswanson-dfinity ericswanson-dfinity merged commit 967bef1 into master Aug 9, 2024
293 checks passed
@ericswanson-dfinity ericswanson-dfinity deleted the ens/sdk-1796-extension-registry branch August 9, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants