-
Notifications
You must be signed in to change notification settings - Fork 41
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
Upload/submit a new listed add-on version through the API #5348
Comments
I think the 3 requirements are categories, summary and license, so we'd need to add that. But presumably we'd also want to be able to set any of the fields available through devhub submission and not just those. |
The request we've had from add-on developers here in Japan is to be able to set the summary, description, and release notes, and to be able to do it for multiple locales too. On the add-on developer experience team we're keen to see this happen soon and are prepared to put resources behind the |
(I'm certain we have an existing issue asking about this but I can't find it) I'd prefer we implement POST/PATCH on the /addon/ API endpoint rather than attempt to hack something (more) onto the signing endpoint. |
#5355 would help nicely with the summary (though it still does not solve the category & license) |
I thought so too but I couldn't find one. I'm sure it will turn up 😄 |
@birtles this is great news! I think the As always, feel free to ask questions in |
Thanks, that's very helpful. I think hacking on the AMO API is pretty far outside our usual area of work (we're basically platform engineers) so let me see if there are any existing plans to work on that in the AMO team before we consider taking it on. |
This comment has been minimized.
This comment has been minimized.
Would be useful to declare the compatible apps when submitting Add-on as well, since currently it always adds Firefox and Firefox Android as compatible. |
Maybe I misunderstand this issue, but submitting a new add-on is an infrequent task that should be low priority when it comes to adding an API Much much higher priority should be allowing submitting updates to existing add-ons. I have a CI process that runs when I tag a release, but I'm unable to deploy the release to AMO due to #6158 |
@rubenwardy it was a while since I worked on this now, but I was automatically submitting updates to a web extension using the following library: https://github.com/LinusU/wext-shipit |
This may be random but TIL this issue may be paving the way for #7908 which is very exciting to hear for us in RelEng/RelMan teams. Just wanted to drop a thank you note for this :) |
this will be the base work that will eventually allow you to submit/manage everything about an add-on via the API. |
That's great to hear, thanks for clearing it up!
@LinusU Unfortunately, this uses web-ext so probably doesn't support uploading source .zips I'm guessing? |
The work for this is tracked in mozilla/sign-addon#409 |
The basic patch for this issue is now merged and will be available on addons-dev shortly. It won't be available on AMO prod until it's been tested and enough of the missing functionality is implemented. https://github.com/orgs/mozilla/projects/174 will track the issues. |
@eviljeff
Notes:
A new version of an extension can be submitted and it can be listed or unlisted, it does not matter what channel used the previous version:
Notes:
|
@eviljeff To add my conclusion, I think that so far this works as expected but I've added the notes as they could probably help. I verified this with Postman - AMO dev. |
The logic around required metadata is a bit wrong currently - we want to strictly require summary, license, and categories for listed versions, but have them be optional for unlisted. #8515 aims to redress this in
I've added a comment to #8514 about this. |
This API feature would support the highly requested
web-ext submit
command and improve automation abilities for add-on developers.In addition to the existing upload endpoint, we want an endpoint (the same one, maybe) that would allow us to upload a new add-on in a listed state.
The text was updated successfully, but these errors were encountered: