Closed
Bug 892388
Opened 11 years ago
Closed 11 years ago
Create a clone of restartless.xpi for uploading to AMO with an end user license agreement
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: davehunt, Assigned: mario.garbi)
References
Details
Attachments
(3 files, 6 obsolete files)
190.07 KB,
patch
|
davehunt
:
review+
|
Details | Diff | Splinter Review |
198.59 KB,
patch
|
whimboo
:
review+
whimboo
:
checkin+
|
Details | Diff | Splinter Review |
198.54 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
In case we may ultimately want to have the addon uploaded without the EULA, we should clone it and make the name/id distinct.
I would suggest:
id: restartless-addon-eula@quality.mozilla.org
name: Restartless Addon with EULA
Assignee | ||
Comment 1•11 years ago
|
||
The binary patch for the restartless.xpi clone named restartless-eula.xpi .
Attachment #773847 -
Flags: review?(dave.hunt)
Assignee | ||
Comment 2•11 years ago
|
||
Made a few fixes that I overlooked in the first patch. I have also updated the Description and addon version (3.2)
Attachment #773847 -
Attachment is obsolete: true
Attachment #773847 -
Flags: review?(dave.hunt)
Attachment #773848 -
Flags: review?(hskupin)
Attachment #773848 -
Flags: review?(dave.hunt)
Reporter | ||
Comment 3•11 years ago
|
||
Comment on attachment 773848 [details] [diff] [review]
patch v1.1
Review of attachment 773848 [details] [diff] [review]:
-----------------------------------------------------------------
There's an extra install.rdf~ file included. Please remove this and repackage.
Attachment #773848 -
Flags: review?(hskupin)
Attachment #773848 -
Flags: review?(dave.hunt)
Attachment #773848 -
Flags: review-
Reporter | ||
Comment 4•11 years ago
|
||
Let's also confirm with Henrik what details we want this addon to have. The following is extracted from the install.rdf in the latest patch:
id: restartless-addon-eula@quality.mozilla.org
version: 3.2
name: Restartless Addon with EULA
description: Restartless Addon with EULA to be used in tests
Flags: needinfo?(hskupin)
Assignee | ||
Comment 5•11 years ago
|
||
I removed the backup file that I overlooked on the last patch and repackaged the addon.
Attachment #773848 -
Attachment is obsolete: true
Attachment #774506 -
Flags: review?(hskupin)
Attachment #774506 -
Flags: review?(dave.hunt)
Comment 6•11 years ago
|
||
(In reply to Dave Hunt (:davehunt) from comment #4)
> id: restartless-addon-eula@quality.mozilla.org
> version: 3.2
> name: Restartless Addon with EULA
> description: Restartless Addon with EULA to be used in tests
Sounds fine to me.
Flags: needinfo?(hskupin)
Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 774506 [details] [diff] [review]
patch v1.2
Review of attachment 774506 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks. Landed as:
https://hg.mozilla.org/qa/testcase-data/rev/d2bbf1115cd5
Attachment #774506 -
Flags: review?(hskupin)
Attachment #774506 -
Flags: review?(dave.hunt)
Attachment #774506 -
Flags: review+
Reporter | ||
Comment 8•11 years ago
|
||
I've had to backout this change because the install.rdf was not able to be parsed by AMO. Please test before providing a new patch.
https://hg.mozilla.org/qa/testcase-data/rev/3ebc19f774e9
Assignee | ||
Comment 9•11 years ago
|
||
Fixed the issues with AMO, now the addon can be uploaded without problems on AMO. Also reverted back to version 3.1 as I talked to Dave on IRC.
Attachment #774506 -
Attachment is obsolete: true
Attachment #774519 -
Flags: review?(hskupin)
Attachment #774519 -
Flags: review?(dave.hunt)
Reporter | ||
Comment 10•11 years ago
|
||
Comment on attachment 774519 [details] [diff] [review]
patch v1.3
Review of attachment 774519 [details] [diff] [review]:
-----------------------------------------------------------------
Landed as:
https://hg.mozilla.org/qa/testcase-data/rev/b6700a219701
Submitted to AMO as:
https://addons.mozilla.org/en-US/firefox/addon/restartless-addon-with-eula/
Attachment #774519 -
Flags: review?(hskupin)
Attachment #774519 -
Flags: review?(dave.hunt)
Attachment #774519 -
Flags: review+
Assignee | ||
Comment 12•11 years ago
|
||
We could wait until the addons is approved on AMO, other than that I'm not sure what else could be done here.
Comment 13•11 years ago
|
||
No reason to keep that open then. Closing as fixed! Thanks Mario.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 14•11 years ago
|
||
Review has been denied due to:
1) You are using an outdated version of the Add-ons SDK, which we no longer accept. Please repack your code with the latest stable version of the SDK: https://addons.mozilla.org/en-US/developers/builder
So please build the XPI against the latest SDK!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 15•11 years ago
|
||
Repackaged the addon with the latest SDK and tested if it's accepted for upload on AMO. For the Firefox versions I've left them as they were autogenerated and it works ok with both ESR17 and Nightly 25 without any problems.
Attachment #779677 -
Flags: review?(hskupin)
Attachment #779677 -
Flags: review?(dave.hunt)
Reporter | ||
Comment 16•11 years ago
|
||
Comment on attachment 779677 [details] [diff] [review]
restartlessEULA_2307.patch
Review of attachment 779677 [details] [diff] [review]:
-----------------------------------------------------------------
This patch will not apply. Did you pull in the latest changes before creating the patch?
$ hg qpush
applying bug892388.patch
file firefox/addons/extensions/restartless-eula.xpi already exists
1 out of 1 hunks FAILED -- saving rejects to file firefox/addons/extensions/restartless-eula.xpi.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
errors during apply, please fix and refresh bug892388.patch
Attachment #779677 -
Flags: review?(hskupin)
Attachment #779677 -
Flags: review?(dave.hunt)
Attachment #779677 -
Flags: review-
Assignee | ||
Comment 17•11 years ago
|
||
Sorry about that and thank you for the fast review. I got too focused on repackaging the addon and overlooked something as basic as updating the testcase-data.
Attachment #779677 -
Attachment is obsolete: true
Attachment #779721 -
Flags: review?(hskupin)
Attachment #779721 -
Flags: review?(dave.hunt)
Reporter | ||
Comment 19•11 years ago
|
||
Comment on attachment 779721 [details] [diff] [review]
restartlessEula_2307.patch
Review of attachment 779721 [details] [diff] [review]:
-----------------------------------------------------------------
Can you detail what you did in this patch? I only looked briefly over the files and noticed a couple of issues, listed below:
1. The version number has not been updated. As we've updated the SDK we should definitely bump the version number.
2. The minVersion has gone from 4.0 to 19.0
3. The maxVersion has dropped from 25.0 to 20.*
Attachment #779721 -
Flags: review?(hskupin)
Attachment #779721 -
Flags: review?(dave.hunt)
Attachment #779721 -
Flags: review-
Assignee | ||
Comment 20•11 years ago
|
||
I've left the version to 3.1 as you told me back then on skype, the minVersion doesn't really matter when installing the addon as it works with esr17 even with minVersion set at 19. They were set by default when I repackaged the addon with the latest SDK and I figured I shouldn't change them if they worked on all firefox builds.
Basically what I did here was repackage the entire addon using the latest SDK so it would be approved on AMO as Henrik said.
Should I modify the min/maxVersion values and increment the version?
Assignee | ||
Comment 21•11 years ago
|
||
Made the changes requested and uploaded the new addon patch. I've tested it on AMO and it's accepted for upload.
Version now incremented to 3.2 and min/max values updated to 4.0-25.*
Attachment #779721 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #788914 -
Flags: review?(hskupin)
Attachment #788914 -
Flags: review?(dave.hunt)
Reporter | ||
Comment 22•11 years ago
|
||
(In reply to mario garbi from comment #20)
> I've left the version to 3.1 as you told me back then on skype
We haven't spoken on Skype about this. Previously we wanted to keep the version number the same when it was just a fork of the non-eula addon, but now we're rebuilding it based on a new SDK version, so we should bump the version number.
> minVersion doesn't really matter when installing the addon as it works with
> esr17 even with minVersion set at 19. They were set by default when I
> repackaged the addon with the latest SDK and I figured I shouldn't change
> them if they worked on all firefox builds.
If it works on ESR 17 then we should at least set minVersion to 17.0 as this is the lowest version number we run automation on.
> Basically what I did here was repackage the entire addon using the latest
> SDK so it would be approved on AMO as Henrik said.
Can you provide more details, as requested?
> Should I modify the min/maxVersion values and increment the version?
Yes, please.
Assignee | ||
Comment 23•11 years ago
|
||
I have already uploaded an updated version with minVersion set to 4.0 again. Sorry about the "skype" thing, I was thinking IRC while talking on skype and my mind must have made some weird connections.
Comment 24•11 years ago
|
||
Comment on attachment 788914 [details] [diff] [review]
restartlessEula_1208.patch
Review of attachment 788914 [details] [diff] [review]:
-----------------------------------------------------------------
Some things I have noticed:
* We should not open a special page on mozqa.com but https://www.mozqa.com/data/
* The creator of the extension should be Automation Development - but we might want to spin off a new bug to update all add-ons
* As FQDN for the extension we might want to use ´mozqa.com´ now. So we could name it restartless-eula@mozqa.com
Attachment #788914 -
Flags: review?(hskupin)
Attachment #788914 -
Flags: review?(dave.hunt)
Attachment #788914 -
Flags: review-
Assignee | ||
Comment 25•11 years ago
|
||
I have tested that the patch is accepted on AMO and that it's functional on firefox. With this patch I made the required changes if I understood them correctly.
"<em:id>restartless-eula@mozqa.com</em:id>"
"<em:creator>Automation Development</em:creator>"
"var menuItem = contextMenu.Item({
label: "Open mozqa.com",
contentScript: 'self.on("click", function (node, data) {' +
' window.location.href = "http://mozqa.com/data/";' +
'});' "
If there is something I missed or misunderstood I would be happy to fix it as soon as possible.
Attachment #788914 -
Attachment is obsolete: true
Attachment #792131 -
Flags: review?(hskupin)
Attachment #792131 -
Flags: review?(dave.hunt)
Comment 26•11 years ago
|
||
Comment on attachment 792131 [details] [diff] [review]
restartlessEula_1908.patch
Review of attachment 792131 [details] [diff] [review]:
-----------------------------------------------------------------
That looks good now. Lets get it finally in:
http://hg.mozilla.org/qa/testcase-data/rev/0f3866a9f9ea
Attachment #792131 -
Flags: review?(hskupin)
Attachment #792131 -
Flags: review?(dave.hunt)
Attachment #792131 -
Flags: review+
Attachment #792131 -
Flags: checkin+
Comment 27•11 years ago
|
||
Uploading the add-on to AMO was not a good idea. I can't do it myself anymore. So the only possible way I can see is to get it transferred to the https://addons.mozilla.org/en-US/firefox/user/qa-auto/ account. The email address to use I can give you tomorrow.
Status: REOPENED → ASSIGNED
Reporter | ||
Comment 28•11 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #24)
> * As FQDN for the extension we might want to use ´mozqa.com´ now. So we
> could name it restartless-eula@mozqa.com
This has been updated in install.rdf but not in harness-options.json, did you rename it after building the extension? This failed validation when I attempted to upload it to AMO.
(In reply to Henrik Skupin (:whimboo) from comment #27)
> Uploading the add-on to AMO was not a good idea. I can't do it myself
> anymore. So the only possible way I can see is to get it transferred to the
> https://addons.mozilla.org/en-US/firefox/user/qa-auto/ account. The email
> address to use I can give you tomorrow.
I'm not sure I follow you Henrik... I've been using qa-auto to upload this addon. The latest issue was that you requested the ID to be changed in comment 24, which you can't change once you've created an AMO submission. I have deleted the original incomplete submission so this shouldn't be a problem any more.
Comment 29•11 years ago
|
||
(In reply to Dave Hunt (:davehunt) from comment #28)
> (In reply to Henrik Skupin (:whimboo) from comment #24)
> > * As FQDN for the extension we might want to use ´mozqa.com´ now. So we
> > could name it restartless-eula@mozqa.com
>
> This has been updated in install.rdf but not in harness-options.json, did
> you rename it after building the extension? This failed validation when I
> attempted to upload it to AMO.
harness-options.json is auto-generated by the cfx tool. So it should pick up any changes from the install.rdf. Whenever the rdf changes you really have to run the cfx tool again. Did you miss that, Mario?
> (In reply to Henrik Skupin (:whimboo) from comment #27)
> I'm not sure I follow you Henrik... I've been using qa-auto to upload this
> addon. The latest issue was that you requested the ID to be changed in
> comment 24, which you can't change once you've created an AMO submission. I
> have deleted the original incomplete submission so this shouldn't be a
> problem any more.
Oh, by that time Mario uploaded the add-on to his account. So the id was also taken. Might be that he deleted it meanwhile, and we are now seeing a different issue.
I would really love to get this in finally. It takes way too long, sorry.
Reporter | ||
Comment 30•11 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #29)
> Oh, by that time Mario uploaded the add-on to his account. So the id was
> also taken. Might be that he deleted it meanwhile, and we are now seeing a
> different issue.
Let's please use qa-auto and not someone's personal account. If it still exists on your account could you please remove it Mario?
Assignee | ||
Comment 31•11 years ago
|
||
I haven't uploaded restartless-eula.xpi to AMO. I was checking that it was accepted by AMO but never really finished uploading.
I tried again to upload it and I only get one warning about "Jetpack module hash mismatch". I haven't run the cfx tool after making the changes, still learning how addon compile works. I will fix it asap.
Assignee | ||
Comment 32•11 years ago
|
||
Rebuilt the .xpi with the correct information by providing it directly into the package.json before triggering 'cfx xpi' and only modified install.rdf for the firefox versions (17.0-25.*).
I checked it on AMO (without finishing upload) and we get no warnings or notifications so this should be ok now. First time working with Addons SDK and sorry for the previous mistakes.
Attachment #795412 -
Flags: review?(hskupin)
Attachment #795412 -
Flags: review?(dave.hunt)
Comment 33•11 years ago
|
||
I haven't expected an update for this bug given that there are other more important (P1) bugs to work on.
Assignee | ||
Comment 34•11 years ago
|
||
I was investigating the P1 issues on the Mac machine and while checking for the regression range I was able to rebuild this on the Linux machine. The P1 bugs have priority of course.
Comment 35•11 years ago
|
||
Comment on attachment 795412 [details] [diff] [review]
restartlessEula_2508.patch
Review of attachment 795412 [details] [diff] [review]:
-----------------------------------------------------------------
That finally looks fine to me. Sadly I'm not able to upload the extension to AMO given that the validation process never finishes. Dave, can you try it please?
Attachment #795412 -
Flags: review?(hskupin)
Attachment #795412 -
Flags: review?(dave.hunt)
Attachment #795412 -
Flags: review+
Updated•11 years ago
|
Flags: needinfo?(dave.hunt)
Reporter | ||
Comment 36•11 years ago
|
||
I'm also unable to upload this at the moment. First, it seemed to halt at 91% complete - 158.37 KB of 174.03 KB then I got the following message:
Your add-on failed validation with 1 error.
Received an empty response from the server; status: 0
Flags: needinfo?(dave.hunt)
Comment 37•11 years ago
|
||
Add-on has been submitted to AMO:
https://addons.mozilla.org/en-US/firefox/addon/restartless-addon-with-eula/
Status: ASSIGNED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•