-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: master
Are you sure you want to change the base?
Conversation
c88936f
to
7850884
Compare
typeof Publish, | ||
void | ||
> { | ||
static description = "Publish an extension on the marketplace"; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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. 🤔
No description provided.