Closed Bug 1152126 (jpm-addon) Opened 9 years ago Closed 7 years ago

Simplify add-on development process by building set of features into firefox & GCLI

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: irakli, Assigned: irakli)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

      No description provided.
Comment on attachment 8589368 [details] [review]
jetpack-id is one of the required dependencies

There are some files included which don't look necessary, especially if this is going to be a fork of jetpack-id.

Also I believe Jordan mentioned in irc yesterday that he was fine making jetpack-id MPL, so I think we should do that first.

Jordan, are alright with changing this license to MPL 2?
Attachment #8589368 - Flags: review?(evold) → feedback?(jsantell)
OS: Mac OS X → All
Hardware: x86 → All
Just updated jetpack-id 1.0.0 and released as MPL 2.0, and commented on PR -- leaving the package.json in there will provide all the meta (don't need tests, etc)
Attachment #8589368 - Flags: feedback?(jsantell) → feedback+
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/87006fabcf03b0dd01e73f4e95415d03b0c4e3de
Merge pull request #1931 from Gozala/jetpack-id

Bug 1152126 - Add jetpack-id package. r=@erikvold
Attachment #8595521 - Flags: review?(jsantell) → review+
Assignee: nobody → rFobic
Alias: jpm-addon
Summary: Land JPM add-on → Simplify add-on development process by building set of features into firefox & GCLI
Comment on attachment 8595696 [details] [review]
GCLI wrapper used by jpm add-on

The GCLI wrapper could use some comments on how to use it, but r+
Attachment #8595696 - Flags: review?(jsantell) → review+
Comment on attachment 8595783 [details] [review]
Implementation of JPM as an add-on.

Left a handful of comments -- but generally, the style doesn't really match anything else in the SDK (unless I'm really out of date), with opening curlies on the left-side and aggressive new lines resulting in a very vertical structure that only extends about 30 characters across.

There is only one line of comments (and the other is ported from the rdf implementation from node) -- making this even harder to understand. This needs function descriptions, as I have no idea what most of the functions, let alone modules, are supposed to do unless I dig around tests. Is jpm/core just gcli hooks? There's no mention of that. How do I even use the zip module? Aside from the lack of high-level comments for modules/functions, there's no comments inside of functions either -- this all looks very difficult for anyone else to maintain.

I think the zip utility should live in sdk/ somewhere.

I don't think this should be called `jpm` either -- I think that'll lead to confusion. Seems like it's gcli commands for addons.

How do I use this? require("jpm") and it just binds gcli commands? Where does that occur, in the gcli devtools? Is this only for internal use?
Attachment #8595783 - Flags: review?(jsantell)
Priority: -- → P1
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/0ad61f1ed6d343e0d51dbaa863aaa07024719507
Merge pull request #1939 from Gozala/gcli-wrapper

Bug 1152126 - Implement a wrapper for gcli. r=@jsantell
Commits pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/2fc791d2625af651cc0fd08ee606d49b0c522043
Revert "Bug 1152126 - Implement a wrapper for gcli."

https://github.com/mozilla/addon-sdk/commit/2f5fa877b3b0dbb4220ac5af01263ef2cf89f9cd
Merge pull request #1941 from mozilla/revert-1939-gcli-wrapper

Revert "Bug 1152126 - Implement a wrapper for gcli."
Priority: P1 → --
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: