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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davehunt, Assigned: mario.garbi)

References

Details

Attachments

(3 files, 6 obsolete files)

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
Attached patch patch v1.0 (obsolete) — Splinter Review
The binary patch for the restartless.xpi clone named restartless-eula.xpi .
Attachment #773847 - Flags: review?(dave.hunt)
Attached patch patch v1.1 (obsolete) — Splinter Review
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)
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-
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)
Attached patch patch v1.2 (obsolete) — Splinter Review
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)
(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)
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+
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
Attached patch patch v1.3Splinter Review
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)
Attachment #774519 - Flags: review?(hskupin)
Attachment #774519 - Flags: review?(dave.hunt)
Attachment #774519 - Flags: review+
Can we close this bug?
Status: NEW → ASSIGNED
We could wait until the addons is approved on AMO, other than that I'm not sure what else could be done here.
No reason to keep that open then. Closing as fixed! Thanks Mario.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
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 → ---
Attached patch restartlessEULA_2307.patch (obsolete) — Splinter Review
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)
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-
Attached patch restartlessEula_2307.patch (obsolete) — Splinter Review
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)
Setting dependencies.
Blocks: 835296
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-
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?
Attached patch restartlessEula_1208.patch (obsolete) — Splinter Review
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
Attachment #788914 - Flags: review?(hskupin)
Attachment #788914 - Flags: review?(dave.hunt)
(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.
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 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-
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 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+
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
(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.
(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.
(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?
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.
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)
I haven't expected an update for this bug given that there are other more important (P1) bugs to work on.
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 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+
Flags: needinfo?(dave.hunt)
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)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: