Closed
Bug 1045273
Opened 10 years ago
Closed 7 years ago
[gcli] optional parameters labeled as 'helpManOptional', not as optional in help
Categories
(DevTools Graveyard :: Graphic Commandline and Toolbar, defect)
Tracking
(firefox55 fixed)
RESOLVED
FIXED
Firefox 55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: aryx, Assigned: pandark, Mentored)
Details
(Whiteboard: [lang=js])
Attachments
(1 file, 3 obsolete files)
2.12 KB,
patch
|
miker
:
review+
|
Details | Diff | Splinter Review |
Firefox Nightly 34.0a1 20140728030201 on Windows 8.1 The options which are optional in the GCLI are labeled as helpManOptional, the strings ID which should be shown here. Example: Type |help highlight|. Look at the description of --region and --fill.
Comment 1•10 years ago
|
||
The failure is probably in the usage from toolkit/devtools/gcli/source/lib/gcli/commands/help.js
Mentor: jwalker
Whiteboard: [good first bug][lang=js]
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8466770 -
Flags: review?(jwalker)
Assignee | ||
Updated•10 years ago
|
Attachment #8466770 -
Flags: review?(jwalker)
Updated•10 years ago
|
Attachment #8466770 -
Flags: review+
Comment 3•10 years ago
|
||
Thanks Adrien, do you want me to push to try?
Comment 4•10 years ago
|
||
Hi, I am new on this project and would like to accept the bug. How do I accept the bug?. Thanks, Sushrut
Comment 5•10 years ago
|
||
(In reply to Sushrut Bhalla from comment #4) > Hi, > > I am new on this project and would like to accept the bug. > How do I accept the bug?. > Thanks, > Sushrut This bug is being worked on by Adrien, whose done one patch and is half way through a second. Can I suggest a couple of alternatives? * Bug 1043896 * Bug 992386
Assignee: nobody → adrien-dev
Assignee | ||
Comment 6•10 years ago
|
||
A little overdue, but here is the second patch :)
Attachment #8469797 -
Flags: review?(jwalker)
Updated•10 years ago
|
Attachment #8469797 -
Flags: review?(jwalker) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8466770 -
Attachment is obsolete: true
Attachment #8469797 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Attachment #8470069 -
Flags: review?(jwalker)
Updated•10 years ago
|
Attachment #8470069 -
Flags: review?(jwalker) → review+
Comment 9•10 years ago
|
||
Nice work Adrien. You asked about other bugs. I've not looked at bug 1038251 very much, so it's a bit of an known quantity, but you did a good job of tracking down the unknown parts of this one. What do you think?
Comment 10•10 years ago
|
||
Encountered this bug today: (Aurora 34.0a2 (2014-09-07)) "Failed to format " "helpManOptional" TypeError: swaps is undefined l10n.js:86 Stack trace: exports.lookupFormat@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/gcli/util/l10n.js:83:5 getHelpManData/<.getTypeDescription@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/gcli/commands/help.js:68:17 @resource://gre/modules/devtools/Templater.jsm line 570 > eval:1:1 envEval@resource://gre/modules/devtools/Templater.jsm:570:16 processTextNode/<@resource://gre/modules/devtools/Templater.jsm:413:1 processTextNode@resource://gre/modules/devtools/Templater.jsm:408:5 processNode@resource://gre/modules/devtools/Templater.jsm:215:7 processNode@resource://gre/modules/devtools/Templater.jsm:211:7 processNode@resource://gre/modules/devtools/Templater.jsm:211:7 processForEachMember/<@resource://gre/modules/devtools/Templater.jsm:375:11 handleAsync@resource://gre/modules/devtools/Templater.jsm:482:5 processForEachMember@resource://gre/modules/devtools/Templater.jsm:356:5 processForEachLoop/<@resource://gre/modules/devtools/Templater.jsm:326:1 processForEachLoop@resource://gre/modules/devtools/Templater.jsm:325:5 processForEach/<@resource://gre/modules/devtools/Templater.jsm:299:9 handleAsync@resource://gre/modules/devtools/Templater.jsm:482:5 processForEach@resource://gre/modules/devtools/Templater.jsm:298:7 processNode@resource://gre/modules/devtools/Templater.jsm:119:9 processNode@resource://gre/modules/devtools/Templater.jsm:211:7 processNode@resource://gre/modules/devtools/Templater.jsm:211:7 processForEachMember/<@resource://gre/modules/devtools/Templater.jsm:375:11 handleAsync@resource://gre/modules/devtools/Templater.jsm:482:5 processForEachMember@resource://gre/modules/devtools/Templater.jsm:356:5 processForEachLoop@resource://gre/modules/devtools/Templater.jsm:333:9 processForEach/<@resource://gre/modules/devtools/Templater.jsm:299:9 handleAsync@resource://gre/modules/devtools/Templater.jsm:482:5 processForEach@resource://gre/modules/devtools/Templater.jsm:298:7 processNode@resource://gre/modules/devtools/Templater.jsm:119:9 processNode@resource://gre/modules/devtools/Templater.jsm:211:7 processNode@resource://gre/modules/devtools/Templater.jsm:211:7 template@resource://gre/modules/devtools/Templater.jsm:69:3 exports.createView/<.toDom@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/gcli/ui/view.js:83:7 viewDomConverter.exec@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/gcli/converters/converters.js:58:12 getChainConverter/<.exec@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/gcli/converters/converters.js:131:14 Converters.prototype.convert/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/gcli/converters/converters.js:244:14 createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:239:18 Task_spawn@resource://gre/modules/Task.jsm:164:12 exports.exec@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/gcli/util/host.js:72:10 Converters.prototype.convert@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/gcli/converters/converters.js:243:12 Output.prototype.convert@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/gcli/cli.js:2193:10 OutputPanel.prototype._update@resource://app/modules/devtools/DeveloperToolbar.jsm:975:5 resolve@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/deprecated-sync-thenables.js:40:40 then@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/deprecated-sync-thenables.js:20:43 resolve@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/deprecated-sync-thenables.js:72:11 Output.prototype.complete@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/gcli/cli.js:2186:3 Requisition.prototype.exec/onDone@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/gcli/cli.js:2059:5 Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:865:23 this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:744:7
Comment 11•9 years ago
|
||
Joe, should this patch be merged? It's been sitting on an r+ for some time now.
Updated•9 years ago
|
Flags: needinfo?(jwalker)
Comment 12•9 years ago
|
||
Thanks, Josh - yes it should. I'll make sure we land it. Mike - please could you take a look at this patch? I think it's fine, but we should probably re-try.
Flags: needinfo?(jwalker) → needinfo?(mratcliffe)
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e1fbffbfb92f https://tbpl.mozilla.org/?tree=Try&rev=e1fbffbfb92f
Flags: needinfo?(mratcliffe)
What happened here? Can we land something?
Flags: needinfo?(mratcliffe)
Flags: needinfo?(jwalker)
Comment 16•9 years ago
|
||
I'm guessing that it's a rebase away from being landable. Not sure why we didn't land previously.
Flags: needinfo?(jwalker)
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #15) > What happened here? Can we land something? I remember that it failed on try... can't remember why though. @Adrien: Do you feel like rebasing this patch?
Flags: needinfo?(mratcliffe) → needinfo?(adrien-dev)
Comment 18•8 years ago
|
||
Hello, I am new to Open Source programming. I would like to know what "landing" something and "rebasing" a patch means. Also, I cannot find the mentioned folder "toolkit/devtools/gcli/source/lib/gcli/commands/" on my source directory. I can find "mozilla-central/toolkit/" but there is no folder "devtools" in there. Was it removed?
Flags: needinfo?(jwalker)
Comment 19•8 years ago
|
||
Land = Get a patch committed to mozilla-central Rebase = Take an old patch and make it up to date toolkit/devtools/gcli/source/lib/gcli/commands/ -> devtools/shared/gcli/commands
Flags: needinfo?(jwalker)
Assignee | ||
Comment 20•8 years ago
|
||
Hello, It's been… a while :) I'll have to set everything up again, so I'll probably give it a try after FOSDEM (next week).
Updated•8 years ago
|
Whiteboard: [good first bug][lang=js] → [lang=js]
Comment 21•7 years ago
|
||
I tried to rebase the patch and it turned out to be the same as the the original. Since I can not see the failed "try" can we spin it one more time?
Flags: needinfo?(adrien-dev) → needinfo?(mratcliffe)
(In reply to Stoyan Dimitrov [:stoyan] from comment #21) > I tried to rebase the patch and it turned out to be the same as the the > original. Since I can not see the failed "try" can we spin it one more time? It probably looks the same but that will be because the files have moved: - toolkit/devtools/gcli/source/lib/gcli/commands/commands.js is now at devtools/shared/gcli/source/lib/gcli/commands/commands.js - toolkit/devtools/gcli/source/lib/gcli/commands/help.js is now at devtools/shared/gcli/source/lib/gcli/commands/help.js So to rebase the patch you will need to first update the paths in the diff file.
Flags: needinfo?(mratcliffe) → needinfo?(stoyan)
Comment 23•7 years ago
|
||
Attachment #8470069 -
Attachment is obsolete: true
Flags: needinfo?(stoyan)
Comment 26•7 years ago
|
||
Comment on attachment 8854407 [details] [diff] [review] Rebased version of the original patch r? miker as per IRC conversation with jwalker.
Attachment #8854407 -
Flags: review?(mratcliffe)
Attachment #8854407 -
Flags: review?(mratcliffe) → review+
Updated•7 years ago
|
Keywords: checkin-needed
https://hg.mozilla.org/integration/mozilla-inbound/rev/76cd22c6aa18bb66152139f90c3612ad4795399c Bug 1045273 - "[gcli] optional parameters labeled as 'helpManOptional', not as optional in help" r=mratcliffe
Updated•7 years ago
|
Keywords: checkin-needed
Comment 28•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/76cd22c6aa18
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Flags: needinfo?(mratcliffe)
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•