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

Registry: Implement App Publishing and Token Generation #3628

Merged
merged 6 commits into from
Feb 28, 2023

Conversation

theduke
Copy link
Contributor

@theduke theduke commented Feb 25, 2023

Does a little cleanup on the registry and adds a new RegistryClient that
has functions for publishing an app and for creating a deployment token.

  • refactor(registry): Clean up the graphql code structure
  • docs(registry): Add minimal README for the registry
  • chore(registry): Format GraphQL files with prettier
  • registry: Add a RegistryClient
  • feat(registry): Add Deploy app publishing and token generation

@theduke theduke requested a review from syrusakbary February 25, 2023 18:06
@theduke theduke force-pushed the cargo-registry-deploy-integration branch 3 times, most recently from f2fab4e to d2e86da Compare February 25, 2023 18:54
@theduke theduke requested a review from syrusakbary February 28, 2023 11:43
* Remove duplicated GraphQL query/mutation definitions
* Move all queries to a submodule
* Move all mutations to a submodule
* Move inline proxy module to a submodule
Also contains instructions for updating the schema and formatting
GraphQL files.
Adds a more coherent abstraction for running queries against the
registry in a RegistryClient struct.
Adds two new GraphQL mutations for publishing a Deploy app and for
creating a Deploy token for an app version.

Also extends the RegistryClient with functions to execute these
mutations.
@theduke theduke force-pushed the cargo-registry-deploy-integration branch from a01ab38 to 71ed6bf Compare February 28, 2023 11:43
@theduke theduke merged commit 830f1bd into master Feb 28, 2023
@theduke theduke deleted the cargo-registry-deploy-integration branch February 28, 2023 16:42
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