| Summary: | Validation of --lang on install_book verb, possibly others. | ||
|---|---|---|---|
| Product: | [Community] Publican | Reporter: | Stephen Gordon <sgordon> |
| Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ruediger Landmann <rlandman+disabled> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.7 | CC: | lnovich, rlandman+disabled, rlandman |
| Target Milestone: | 3.0 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 3.0.0 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-10-31 03:11:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Stephen Gordon
2011-11-25 17:36:47 UTC
Changed bash_completion command for --lang so trailing slash isn't generated. Applied to branches/publican-2x and trunk. Committed revision 1959. ok the change now causes the following error message: Invalid build request: no PO files exist for language en-US/ (In reply to comment #2) > ok the change now causes the following error message: > > Invalid build request: no PO files exist for language en-US/ Vased on issues in found in this bug, moving from VERIFIED back to ASSIGNED. > Vased on issues in found in this bug, moving from VERIFIED back to ASSIGNED.
Lol Based*
Works for publican install_book. Test_Book]$ publican install_book --site_config ../website/foomaster.cfg --lang en-US/ Test_Book]$ Note: it doesn't work for publican build. I got the same output as Laura did in comment#2 publican build -f html,html-single -l en-US/ Setting up en-US/ Invalid build request: no PO files exist for language en-US/ at /usr/bin/publican line 887 (In reply to comment #5) > Works for publican install_book. > > Test_Book]$ publican install_book --site_config ../website/foomaster.cfg > --lang en-US/ > Test_Book]$ > > > > Note: it doesn't work for publican build. I got the same output as Laura did > in comment#2 > > publican build -f html,html-single -l en-US/ > Setting up en-US/ > Invalid build request: no PO files exist for language en-US/ at > /usr/bin/publican line 887 Removed support for undocumented options. $ publican build -l en-US/ Unknown option: l Usage: ... It's not possible to support short options properly with bash-completion because the context for it changes with the usage but bash completion happens before publican can intervene. Confirmed that the short options are no longer in publican-3.0-0.fc17.t213.noarch and that tab completion no longer includes a trailing slash. |