Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#56995 - {namcap} Update long options in usage()

Attached to Project: Arch Linux
Opened by Rafael Fontenelle (josephg) - Sunday, 07 January 2018, 22:41 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 18 February 2018, 04:37 GMT
Task Type Bug Report
Category Arch Projects
Status Assigned
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description: Some of the long options recognized by Namcap are not listed as valid in the usage function. The missing long options are: --info, --machine-readable, --tags and --version. Currently valid options in the Git source code repository are coded in the line 174 of namcap.py[1], and the usage function is coded in the line 41, also in namcap.py[2].

[1] https://git.archlinux.org/namcap.git/tree/namcap.py?id=f73bf160de19e43d1c22a3db0f32b234b872963f#n174
[2] https://git.archlinux.org/namcap.git/tree/namcap.py?id=f73bf160de19e43d1c22a3db0f32b234b872963f#n41

Additional info:
* package version(s)
namcap 3.2.7-1
* config and/or log files etc.


Steps to reproduce:
- run `namcap' to get the following (incomplete) output:

$ namcap

Usage: /usr/lib/python3.6/site-packages/namcap.py [OPTIONS] packages

Options are:
-L, --list : list available rules
-i : prints information (debug) responses from rules
-m : makes the output parseable (machine-readable)
-e rulelist, --exclude=rulelist : don't apply RULELIST rules to the package
-r rulelist, --rules=rulelist : only apply RULELIST rules to the package
-t tags : use a custom tag file
-v version : print version and exit
This task depends upon

Comment by Eli Schwartz (eschwartz) - Sunday, 07 January 2018, 22:57 GMT
  • Field changed: Summary ([namcap] Update long options in usage() → {namcap} Update long options in usage())
  • Field changed: Category (Packages: Extra → Arch Projects)
Consider also posting patches to the mailing list where namcap development happens: https://lists.archlinux.org/listinfo/arch-projects
Comment by Rafael Fontenelle (josephg) - Monday, 08 January 2018, 21:24 GMT
Well, tried without success, as I'll getting "504 Gateway time-out" when finishing the subscription.

Loading...