Talk about add-ons and extension development.
Frank Lion

Posts: 20893Joined: April 23rd, 2004, 6:59 pmLocation: ... The Exorcist....United Kingdom
Posted July 8th, 2015, 2:58 am
lithopsian wrote:Signing an extension that was once hosted on AMO, and still exists there, but without the new version being hosted at AMO, is also a pain.
Yeah, mine was. What with that and trying to change details later, I ended up changing the GUID three times. Here's the answer to my max-version question - you don't resubmit, but bump compat in the AMO dev Panel every few months (you can only bump about 2 versions ahead of the release one) - - Code: Select all
Update Compatibility
Adjusting application information here will allow users to install your add-on [b]even [/b]if the install manifest in the package indicates that the add-on is incompatible
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
lithopsian
Posts: 3664Joined: September 15th, 2010, 9:03 am
Posted July 8th, 2015, 3:45 am
I assume the compatibility bump create a new signed xpi that can be downloaded?
Frank Lion

Posts: 20893Joined: April 23rd, 2004, 6:59 pmLocation: ... The Exorcist....United Kingdom
Posted July 8th, 2015, 5:56 am
lithopsian wrote:I assume the compatibility bump create a new signed xpi that can be downloaded?
As far as I can tell, no. It seems that you keep the same .xpi and it will install on later Firefox versions OK, so long as it has been already been bumped in the Dev Panel. Yeah, seems odd to me as well.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
patrickjdempsey

Posts: 23734Joined: October 23rd, 2008, 11:43 amLocation: Asheville NC
Posted July 8th, 2015, 2:57 pm
No. Compatibility data is stored on whole separate file system on one of those amazon servers. When Firefox checks for "updates" the first thing it does is query that db and checks it against addons.json. If the local version number matches the version number in the db then it just bumps the compatibility numbers in addons.json. If the version numbers don't match then it asks for the full update from AMO. The only time Firefox ever cares about the compatibility numbers in the install.rdf in your extension is at first install. After that it just goes by addons.json.
lithopsian
Posts: 3664Joined: September 15th, 2010, 9:03 am
Posted July 20th, 2015, 3:02 pm
I might as well pile on some more to this heap. Beta versions of addons still cannot be uploaded. Unless they are 100% validation-perfect, which almost never happens. Tracking bug says it is fixed, but it still isn't working in the real world. https://bugzilla.mozilla.org/show_bug.cgi?id=1172035
Frank Lion

Posts: 20893Joined: April 23rd, 2004, 6:59 pmLocation: ... The Exorcist....United Kingdom
Posted July 20th, 2015, 3:29 pm
lithopsian wrote:I might as well pile on ...
Me too.  I thought I'd already posted this bug here, but seems not - ' Extensions contained in signed add-ons with type=32 aren't properly signed' https://bugzilla.mozilla.org/show_bug.cgi?id=1172696
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
Frank Lion

Posts: 20893Joined: April 23rd, 2004, 6:59 pmLocation: ... The Exorcist....United Kingdom
Posted August 9th, 2015, 3:01 pm
This bug is now fixed. Type 32 devs now just get their .xpis signed on their own first and then add them to the Type 32 'bundle'.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
Yaron10
Posts: 449Joined: July 5th, 2011, 6:32 am
Posted August 13th, 2015, 1:33 pm
Hello, I'd like to modify Firefox source-code so that I can use unsigned extensions. Are *all* the relevant files in omni.ja? Thank you. *** I haven't read all the posts in this thread. 
patrickjdempsey

Posts: 23734Joined: October 23rd, 2008, 11:43 amLocation: Asheville NC
Posted August 13th, 2015, 1:41 pm
None of the relevant files are in omni.ja. If it was that easy to defeat there would be no point in doing it as malware could just mod omni.ja. You would have to actually do a build and use the correct build-time switch.
Yaron10
Posts: 449Joined: July 5th, 2011, 6:32 am
Posted August 13th, 2015, 2:00 pm
Hi patrickjdempsey,
Thanks for the info. I really appreciate it.
I don't want to rebuild FF on each new version. I suppose the alternative is the unbranded version. Do you know if the exe file is going to be "firefox.exe"? (I know I can easily change that, but it's important to me). And "branding" the unbranded version can be done by modifying files in omni.ja. Correct?
Best regards.
patrickjdempsey

Posts: 23734Joined: October 23rd, 2008, 11:43 amLocation: Asheville NC
Posted August 13th, 2015, 2:08 pm
No clue. My browser of choice has thankfully opted out of that madness. But my guess would be that you cannot have your cake and eat it too.
Yaron10
Posts: 449Joined: July 5th, 2011, 6:32 am
Posted August 13th, 2015, 3:06 pm
Thanks again.
And your browser of choice?
lithopsian
Posts: 3664Joined: September 15th, 2010, 9:03 am
Posted August 13th, 2015, 3:15 pm
Yaron10 wrote:Hi patrickjdempsey,
Thanks for the info. I really appreciate it.
I don't want to rebuild FF on each new version. I suppose the alternative is the unbranded version. Do you know if the exe file is going to be "firefox.exe"? (I know I can easily change that, but it's important to me). And "branding" the unbranded version can be done by modifying files in omni.ja. Correct?
Best regards.
Who knows? Such a thing should now be available, but I haven't seen it yet.
Yaron10
Posts: 449Joined: July 5th, 2011, 6:32 am
Posted August 13th, 2015, 3:22 pm
Hi lithopsian,
Thank you. I hope you're doing well.
Do you mean the unbranded version is already available?
Best regards.
Return to Extension Development
Who is online
Users browsing this forum: No registered users and 1 guest
|