-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Extension updates not being accepted by Mozilla #21
Comments
Version 2.2.0 was submitted to AMO on June 7, 2012. On June 27 it was reviewed and rejected. I received this email: Your add-on, Markdown Here 2.2.0, has been reviewed by an editor and did not meet the criteria for being hosted in our gallery. Reviewer: Comments:
Please do not store your CSS in static JavaScript strings. It should be stored in external CSS files and, if not loaded via the href attribute of link tags (via a resource package or contentaccessible chrome package) or the stylesheet service, read in via an XHR when needed. Please fix them and submit again. Thank you. This version of your add-on has been disabled. You may re-request review by addressing the editor's comments and uploading a new version. To learn more about the review process, please visit https://addons.mozilla.org/developers/docs/policies/reviews#selection If you have any questions or comments on this review, please reply to this email or join #amo-editors on irc.mozilla.org Mozilla Add-ons |
The following day -- June 28 -- I replied with this email: Thanks for the review. I some concerns/comments/rebuttals, though... highlight.js modifications
I have modified the highlight.js source. All of my modifications are marked in the source code with I'll detail the changes:
I don't mind using a minified combo file if there's a checksum for users to compare against, but I don't see anything like that on the highlight.js download page. (You can build your package dynamically there, so I'm not even sure how that would work -- especially for old versions.) I guess I could tell users which package I built and have them build it, extract it, and checksum their own build. Of course, the minified code would still need to have the Given that I can't use any currently released highlight.js code without modification, what are my options for clearing this issue? (I'll ask the highlight.js guy in that Google Groups thread about when he might fix/release this stuff.) CSS-in-JS-string
I agree that the CSS JavaScript string is hideously ugly. (Although I'm not sure why it would be a blocking issue.) Rationale for doing it that way:
Regarding your suggestions: I'll look into them. No, seriously. The CSS-in-JS-string thing is ugly as sin, so it'd be great if I can use straight CSS. Surely the browser-specific code can be limited and contained. Next steps?I can probably rectify the CSS-in-JS-string issue to your satisfaction, but I probably can't rectify the highlight.js issue. Or, at least, I don't see how. Can I either be excused from it -- at least until the highlight.js author incorporates my changes -- or can you suggest how I rectify it? Thank you. |
Because one of the AMO reviewer's complaints was that I was using a modified version of Highlight.js, on June 28th I contacted the author of that project to ask him if he would be making the changes I needed so that I could use his code without modification. He indicated that he wouldn't be making the changes any time soon, but that the problem didn't make sense to him. He also suggested that I fork Highlight.js so that my version becomes canonical (for me). The exchange can be seen here: |
On June 26th or 27th the Firefox/Thunderbird extension became completely unavailable in addons.mozilla.org. Approximately 1 week later (but certainly by July 10) the extension reappeared on AMO -- but still version 2.1.0, not 2.2.0. (Issue #20 resulted from this removal.) |
After getting no response to my previous appeal/email, I sent another to AMO on July 13, 2012. It has been two weeks and I've had no response to my appeal. I have contacted the Highlight.js author and he seems to think that I shouldn't have to match a checksum of his code and/or that there isn't one to match. He also suggests that I fork his code so that I can claim it as canonical (for Markdown Here). See the bottom of this thread: https://groups.google.com/forum/?fromgroups#!topic/highlightjs/IK-uPMIK8DQ (And surely having CSS in a string won't block an approval.) Can I get references to the rules that I'm violating? Or something? I would like this review to proceed so that I can fully support Firefox and Thunderbird. Thank you. Adam Pritchard |
I received a reply from the Mozilla reviewer on July 17, 2012. The reviewer's mention of "subscript loader" led me (not coincidentally) I'm sorry. I distinctly recall replying to this over a week ago. On Thu, Jun 28, 2012 at 01:21:46PM -0400, Adam Pritchard wrote:
This isn't a matter of semantic games. We disallow trivial
Using the subscript loader obviates the need for this change.
You can do this without any source modifications. Simply create
You don't. Just use the subscript loader to load them all into
It wouldn't be on its own, but they are incredibly difficult to
I'm not particularly concerned how you do it, so long as I can |
I replied to the Mozilla reviewer on July 22, 2012. Thanks for the reply. I'm pretty sure now that, thanks to your suggestion, I can use mozIJSSubScriptLoader to load Highlight.js without modifying it. So that's great. But another question: What versions of Highlight.js are okay (and from where)? Can I pull a copy from the Highight.js download page? That seems like the best place, but it dynamically creates the package depending on what language checkboxes are selected (I want all of them), and in your original review you mentioned "checksum of any known version", so... it's hard to imagine you have checksums of all combinations. Plus the new version of Highlight.js is quite recent. So where should I pull Highlight.js code from that works best for you? A particular source tag (and then use then unpacked)? Download page and tell you what checkboxes I picked so that you can get the same package and verify? The CDN version mentioned on the download page (which has core languages, and then each extra language is separate)? Something else? Please let me know, so I can make sure the next release is satisfactory. Thank you. Adam Pritchard |
The Mozilla reviewer replied to me on July 23, 2012.
Any release version should be fine, but you should let me know
It would be best to use the source from a release tag in the git |
I replied to the Mozilla reviewer on July 23, 2012. I also committed changes that I hope will allow Mozilla to approve Markdown Here. See: d0edc3f. Note that I used the build step mentioned in the below email. I don't think that it will be possible to just pull a tag and use the raw (I suppose I could XHR the file into a string, prepend Highlight.js includes a Python build script that creates files suitable for Thanks. Adam Pritchard |
The Mozilla reviewer replied on July 24, 2012. His response means that the currently committed code should be okay. It was built from the Marked.js 7.0.1 tag using Marked's build system ( Ok. Just let me know what version you build from and what build flags you use. |
I submitted a new version -- 2.5.0 -- on July 27, 2012. I also email the below to the Mozilla reviewer. Fingers crossed! (But don't hold your breath -- it's at the back of the queue. It might take another month.) I submitted a new version a few minutes ago. I also noted this in the reviewer notes field, but it uses an unmodified Highlight.js built from tag 7.0.1 by running I also moved the CSS that was hacked into JS strings into separate CSS files that are loaded via XHR. So, hopefully I've addressed the issues and haven't introduced any new ones. I look forward to your review, and thanks for all your help. |
Mozilla sent me the results of the review of version 2.5.0 on August 7, 2012. And... failed again. The first problem (the "loose" variable) is quite simple and I've committed a fix for it (c6eafd7). I'm very concerned about the second problem -- that the tester couldn't make the extension work anywhere. That suggests that either the extension is horribly broken, or it's not clear that how/where the extension should be used. I don't think it's horribly broken -- I've tested it and use it in Firefox. So when I submit a new release tomorrow I'll make sure I explain what it does and where. Your add-on, Markdown Here 2.5.0, has been reviewed by an editor and did not meet the criteria for full review. However, your add-on has been granted preliminary review and is now available for download in our gallery at https://addons.mozilla.org/addon/markdown-here/ Reviewer: Comments:
You need to correct them to get full approval. Thanks. Your add-on will now appear in search results and categories with some limitations. You may re-request full review by addressing the editor's comments and uploading a new version. To learn more about the review process, please visit https://addons.mozilla.org/developers/docs/policies/reviews#selection If you have any questions or comments on this review, please reply to this email or join #amo-editors on irc.mozilla.org |
I submitted v2.5.2 on August 8, 2012. The loose variable is fixed, and I included a fairly detailed description of how to test. That description is included below. I also noticed that v2.5.0 has been marked as "preliminarily reviewed", so that's good. That will be the version that's available on AMO now.
|
Version 2.5.2 passed review on August 27, 2012. PASSED!. There's a caveat, though: The reviewer points out some some variables leaking into the global scope, "which should be addressed before your next update". These variables belong to Highlight.js ( I'm closing this issue, since it's resolved. But I'll keep it updated if I encounter resistance in the future. Your add-on, Markdown Here 2.5.2, has been fully reviewed by an editor and is now available for download in our gallery at https://addons.mozilla.org/addon/markdown-here/ Reviewer: Comments: However, I have the following issues which should be addressed before your next update:
Keep up the good work! Your add-on will no longer display warnings and can make full use of features such as contributions and beta channels. To learn more about the review process, please visit https://addons.mozilla.org/developers/docs/policies/reviews#selection If you have any questions or comments on this review, please reply to this email or join #amo-editors on irc.mozilla.org |
Hey! If you do send a pull request, please be so kind as to write a summary what is it all about. I don't think I'll have courage to read this whole thread :-) |
@isagalaev: No need. It looks like the problem was fixed 4 days ago in this rev. Any idea when you're going to put out a release with this change? |
I believe I can do a point release even today or in a few days at most. |
Awesome. I'll keep an eye on your tags. I have a release ready to go. |
Actually, I went ahead and just made the 7.2 release. There was nothing holding it anyway. Enjoy! It won't be available on the CDN for some time though but I guess you don't care about it. |
Version 2.1.0 was submitted to Mozilla (aka addons.mozilla.org, aka AMO) May 31, 2012. It was preliminarily reviewed some time after that and became available for direct download. Because the review was only "preliminary" and not "full", the extension can't be searched for (they need a direct link) and users receive a dire warning when they try to install it.
With the following releases I tried to get a full review done. The review queue takes forever (~1 month) to get through, and if you submit a new version you get put back to the end of the queue (I found out the hard way).
I'll keep this issue updated with info about efforts to get Markdown Here fully reviewed and accepted by AMO.
Note that this issue supersedes issue #20: "Firefox extension not available anymore".
The text was updated successfully, but these errors were encountered: