Skip to content

feat: add commands for publishing extensions #1140

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

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

martin-helmich
Copy link
Member

No description provided.

@martin-helmich martin-helmich force-pushed the feat/contributor-commands branch from c88936f to 7850884 Compare April 22, 2025 13:32
typeof Publish,
void
> {
static description = "Publish an extension on the marketplace";

Choose a reason for hiding this comment

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

The publishing of extensions will only work if verification has been requested and successfully completed beforehand.

I believe the corresponding route to request verification has not yet been published

Copy link
Member Author

Choose a reason for hiding this comment

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

Can we rely on the API to respond with an appropriate and sensible error message in this case (in which case we could leave this as-is and just present the API error message), or should we catch that condition (successful verification) beforehand client-side?

Choose a reason for hiding this comment

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

The API will likely respond with a reasonable error message. I just wanted to point out, the current flow will be interrupted by writing some mittwald guys to verify the extension (including starting the verification process) until the corresponding API route is published.

Copy link
Member Author

Choose a reason for hiding this comment

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

In theory, we should be able to observe the verified/verificationRequested fields, of the extension, shouldn't we? In this case, we could present an appropriate warning after the deploy command when the user needs to take (additional, and/or atm. manual) verification steps. 🤔

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