Closed Bug 864158 Opened 11 years ago Closed 10 years ago

Add support for developers key to package.json

Categories

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

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: evold, Unassigned)

References

Details

(Whiteboard: [good first bug])

Attachments

(1 file)

46 bytes, text/x-github-pull-request
evold
: review+
evold
: feedback+
Details | Review
Maybe we should just adopt NodeJS's 'contributors' style (if not already) and add a 'type' property with 'translator' and 'developer' as optional values.
Whiteboard: [good first bug]
I'd vote for NodeJS's contributors.
Hi,

I created a pull request with a fix for this. Could you review it and see if the changes are good?

Regards,
Gio
Attached file Patch
Attachment #833398 - Flags: review?
Comment on attachment 833398 [details] [review]
Patch

Erik, pass on the review if you can't do it. :)
Attachment #833398 - Flags: review? → review?(evold)
Comment on attachment 833398 [details] [review]
Patch

This looks alright, it will needs some tests though.  If you'd like some help with this let us know!  I would use a test addon for this bug, you can find some examples here https://github.com/mozilla/addon-sdk/tree/master/test/addons

Also you should know that we are working on removing the pythion code eventually so the less you touch that code the easier it will be to land this.
Attachment #833398 - Flags: review?(evold) → feedback+
Hi Erik,

The part of the test is not totally clear to me. I was seeing bug 809335 and they didn't pull test, so i am not sure about what to do with test. I need to create an example addon as the ones in the addon-sdk example (https://github.com/mozilla/addon-sdk/tree/master/test/addons) implementing the new feature in the Pull Request? that example needs to be in a Pull Request too?

Regards,
Gio
(In reply to Giovanny Andres Gongora Granada from comment #7)
> Hi Erik,
> 
> The part of the test is not totally clear to me. I was seeing bug 809335 and
> they didn't pull test, so i am not sure about what to do with test. I need
> to create an example addon as the ones in the addon-sdk example
> (https://github.com/mozilla/addon-sdk/tree/master/test/addons) implementing
> the new feature in the Pull Request? that example needs to be in a Pull
> Request too?
> 
> Regards,
> Gio

Thanks for pointing that out, that should not have happened, but it can..

I made bug 945315 about this issue that you've mentioned, and I'll try to have a patch added in the next day or two which we can basically copy for this bug.
There is a test example in bug 945315 now, basically just needs a copy and paste and a few lines changed.
Commits pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/77db1e614a78e117e033d1a83289a3766af010a6
Bug 864158 - Add support for developers key to package.json r=@erikvold

https://github.com/mozilla/addon-sdk/commit/dfb9cabc5b14a1e619d71f3d069914ffe212f22a
Bug 864158 - Add test addon for developers key in package.json a=me

https://github.com/mozilla/addon-sdk/commit/82306bd6d7bb85455654935464a197a086f3446d
Merge pull request #1610 from erikvold/1296

Bug 864158 - Add support for developers key to package.json r=@erikvold
Thanks!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: