Closed
Bug 660680
Opened 15 years ago
Closed 15 years ago
--strip-xpi should be identified as experimental in docs
Categories
(Add-on SDK Graveyard :: Documentation, defect, P1)
Add-on SDK Graveyard
Documentation
Tracking
(Not tracked)
RESOLVED
FIXED
1.0
People
(Reporter: myk, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.12 KB,
patch
|
myk
:
review+
|
Details | Diff | Splinter Review |
The --strip-xpi command-line flag is identified as a "supported" command-line flag in the cfx documentation, but it should be marked "experimental," since it landed late in the cycle, but especially because we expect to make its behavior the default and then remove the flag in the future.
Brian: can you put together a patch for this?
| Reporter | ||
Comment 2•15 years ago
|
||
Comment on attachment 536352 [details] [diff] [review]
mark --strip-xpi as experimental, in 'cfx --help' and xpi.md
>diff --git a/python-lib/cuddlefish/__init__.py b/python-lib/cuddlefish/__init__.py
> (("", "--strip-xpi",), dict(dest="strip_xpi",
>- help="remove unused modules from XPI",
>+ help="[experimental] remove unused modules from XPI",
> action="store_true",
> default=False,
> cmds=['xpi'])),
Instead of tagging the option in its help text, move it to the separate "parser group" called "Experimental Command-Specific Options" (search for that string in the code to find it), which is the group into which such options should be placed.
Attachment #536352 -
Flags: review?(myk) → review-
Comment 3•15 years ago
|
||
ahh.. I didn't even see that section. Righto, here's an updated patch.
Attachment #536352 -
Attachment is obsolete: true
Attachment #536535 -
Flags: review?(myk)
| Reporter | ||
Comment 4•15 years ago
|
||
Comment on attachment 536535 [details] [diff] [review]
better patch, move option into 'experimental' section of --help text
>+file. (Note: `--strip-xpi` is currently experimental; when this feature is
>+sufficiently mature, it will simply be made the default, and the `cfx` option
>+will be removed).
Nit: ). -> .)
r+a=myk
Attachment #536535 -
Flags: review?(myk) → review+
Comment 5•15 years ago
|
||
Landed (with nit fixed) in https://github.com/mozilla/addon-sdk/commit/cd8764bc760c1f62b969f9cb3e525444b5d8d3a5
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•