Closed
Bug 620553
Opened 14 years ago
Closed 10 years ago
cfx --help should mention default value of --templatedir flag
Categories
(Add-on SDK Graveyard :: Documentation, defect, P3)
Add-on SDK Graveyard
Documentation
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: myk, Unassigned)
References
Details
Attachments
(1 file)
782 bytes,
patch
|
myk
:
review-
|
Details | Diff | Splinter Review |
cfx --help should mention the default value of the --templatedir flag, so folks who want to copy it and use it as the basis of their custom template directory know where to look.
Reporter | ||
Updated•14 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
Myk, is this still wanted? Testing locally, cfx --help still doesn't show the default value for templatedir. But maybe we're too close to switching over to a JS version for this to matter... :)
Reporter | ||
Comment 2•14 years ago
|
||
A JS version is still far away, but in any case, it will still have the `cfx` command-line tool and a template directory, so this is still wanted.
Whiteboard: [milestone:1.4]
Whiteboard: [milestone:1.4]
Target Milestone: Future → 1.4
(Pushing all open bugs to the --- milestone for the new triage system)
Target Milestone: 1.4 → ---
Something like this?
Attachment #570370 -
Flags: review?(myk)
Reporter | ||
Comment 5•13 years ago
|
||
Comment on attachment 570370 [details] [diff] [review]
Add the default
>diff --git a/python-lib/cuddlefish/__init__.py b/python-lib/cuddlefish/__init__.py
>index 15a78d1..1507331 100644
>--- a/python-lib/cuddlefish/__init__.py
>+++ b/python-lib/cuddlefish/__init__.py
>@@ -106,7 +106,7 @@ parser_groups = (
> (("", "--templatedir",), dict(dest="templatedir",
> help="XULRunner app/ext. template",
> metavar=None,
>- default=None,
>+ default="python-lib/cuddlefish/app-extension/",
> cmds=['run', 'xpi'])),
> (("", "--package-path",), dict(dest="packagepath", action="append",
> help="extra directories for package search",
This doesn't cause cfx --help to mention the default value. And it breaks cfx run and cfx xpi, which apply this relative path to the current working directory.
This information should be added to the help text.
Attachment #570370 -
Flags: review?(myk) → review-
Comment 6•11 years ago
|
||
Can we wontfix this because of bug 915376 ?
Flags: needinfo?(dtownsend+bugmail)
Updated•11 years ago
|
Depends on: native-jetpack
Comment 7•11 years ago
|
||
I agree, as a rule though I tend to keep bugs open until the thing that obsoletes them has landed.
Flags: needinfo?(dtownsend+bugmail)
Comment 8•10 years ago
|
||
Sorry we won't be releasing any new versions of cfx, jpm is the replacement https://www.npmjs.com/package/jpm
Blocks: cfx.py
Status: NEW → RESOLVED
Closed: 10 years ago
No longer depends on: native-jetpack
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•