SHA256
1
0
forked from pool/jc

14 Commits

Author SHA256 Message Date
Martin Hauke
09825df01d Accepting request 1045060 from home:dirkmueller:Factory
- update to 1.22.3:
  * Add Common Log Format and Combined Log Format file parser (standard and
    streaming)
  * Add PostgreSQL password file parser
  * Add openvpn-status.log file parser
  * Add `cbt` command parser (Google Big Table)
  * Enhance `ifconfig` parser with interface lane information on BSD
  * Enhance `ifconfig` parser with additional IPv6 `scope_id` info for BSD
  * Fix `ifconfig` parser to capture some IPv6 addresses missed on BSD
  * Fix `git-log` and `git-log-s` parsers for failure on empty author name
  * Update `os-prober` parser with split EFI partition fields
  * Add ISO string attribute (`.iso`) to `jc.utils.timestamp()`
  * Fix several documentation typos

OBS-URL: https://build.opensuse.org/request/show/1045060
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=23
2022-12-23 17:39:30 +00:00
Michael Vetter
1bade9a1b1 Accepting request 1035505 from home:mnhauke
- Update to version 1.22.2
  * add sshd_conf parser for sshd configuration files and
    sshd -T output.
  * add findmnt command parser.
  * add git ls-remote command parser.
  * add os-prober command parser.
  * add SemVer string parser.
  * enhance the ifconfig parser so it can output multiple IPv4 and
    IPv6 addresses.
  * enhance xml parser with optional _ prefix for attributes
    instead of * @ by using the --raw option. This can make it
    easier to filter theJSON output in some tools.
  * fix the xml parser to output a normal Dictionary instead of
    OrderdDict.
  * fix csv and csv-s parsers for UTF-8 encoded CSV files with
    leading BOM bytes.
  * fix exit code to be non-zero on interrupt.
  * allow parser module objects to be used as arguments to
    jc.get_help() and jc.parser_info()
  * catch unexpected exceptions in the CLI
  * add error message on interrupt to STDERR

OBS-URL: https://build.opensuse.org/request/show/1035505
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=21
2022-11-14 09:21:40 +00:00
Martin Hauke
e2f2d40f57 Accepting request 1030942 from home:mnhauke
- Update to version 1.22.1
  * add udevadm command parser
  * add lspci command parser
  * add pci.ids file parser
  * fix proc-pid-stat parser for command names with spaces and
    newlines
  * enhance ip-address parser to add ip_split field
  * display until iso-datetime is removed in a future version.
  * optimize performance of calculated timestamps

OBS-URL: https://build.opensuse.org/request/show/1030942
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=19
2022-10-28 06:36:30 +00:00
Michael Vetter
1a2cb5dc99 Accepting request 983605 from home:mnhauke
- Update to version 1.20.1
  * Add postconf -M parser tested on linux
  * Update asciitable and asciitable-m parsers to preserve case
    in key names when using the -r or raw=True options.
  * Add long options (e.g. --help, --about, --pretty, etc.)
  * Fix id parser for cases where the user or group name is not
    present
- Update to version 1.20.0
  * Add YAML output option with -y
  * Add top -b standard and streaming parsers tested on linux
  * Add plugin_parser_count, standard_parser_count, and
    streaming_parser_count keys to jc -a output
  * Add is_compatible function to the utils module
  * Fix pip-show parser for packages with a multi-line license
    field
  * Fix ASCII Table parser for cases where centered headers cause
    mis-aligned fields

OBS-URL: https://build.opensuse.org/request/show/983605
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=17
2022-06-20 07:57:52 +00:00
Martin Hauke
41d717dfb9 Accepting request 977132 from home:mnhauke
- Update to version 1.19.0
  * Add chage --list command parser tested on linux
  * Add git log command streaming parser
  * Fix git log standard parser for corner-cases where hash
    values are in messages
  * Fix df command parser for rare instances when a newline is
    found at the end
  * Fix asciitable-m parser to skip some rows that contain column
    separator characters in cell data. A warning message will be
    printed to STDOUT unless -q or quiet=True is used.

OBS-URL: https://build.opensuse.org/request/show/977132
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=15
2022-05-17 15:44:39 +00:00
Martin Hauke
3ab83ebe45 Accepting request 948144 from home:mnhauke
- Update to version 1.18.1
  * Add high-level parse API for built-in and plugin parsers
  * Add python module developer documentation
  * Enhance magic syntax exception messages
  * Enhance documentation formatting

OBS-URL: https://build.opensuse.org/request/show/948144
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=14
2022-01-29 12:57:04 +00:00
Michael Vetter
e457e65dfd Accepting request 928358 from home:mnhauke
- Update to version 1.17.1
  * Fix file parser for gzip files
  * Fix uname parser for cases where the 'processor' and/or
    'hardware_platform' fields are missing on linux
  * Fix uname parser on FreeBSD
  * Add lsusb parser tested on linux
  * Add CSV file streaming parser
  * Add testing for Python 3.10.0

OBS-URL: https://build.opensuse.org/request/show/928358
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=13
2021-11-02 13:39:14 +00:00
Michael Vetter
78510fb93c Accepting request 921556 from home:mnhauke
- Update to version 1.17.0
  * Add wrapping of warning and error messages
  * Add vmstat parser tested on linux
  * Add support for streaming parsers
  * Add ls -l command streaming parser
  * Add ping and ping6 command streaming parser
  * Add vmstat command streaming parser
  * Add -u option to allow unbuffered output

OBS-URL: https://build.opensuse.org/request/show/921556
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=12
2021-10-04 08:31:44 +00:00
Michael Vetter
af43fd3fd9 Accepting request 913707 from home:mnhauke
- Update to version 1.16.1
  * Fix issue with process substitution with the magic syntax.
  * Fix issue with globs not including filenames with spaces with
    magic syntax.

- Update to version 1.16.0
  * Fix Man page location in source packages.
  * Add sfdisk command parser tested on linux.
  * Update unit test files to change the timezone when needed
    (POSIX only).

OBS-URL: https://build.opensuse.org/request/show/913707
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=11
2021-08-25 07:10:57 +00:00
Michael Vetter
d1753df813 Accepting request 861570 from home:mnhauke
- Update to version 1.14.1
  * Add iw-scan parser tested on linux (beta)
  * Update date parser for Ubuntu 20.04 support
  * Update last parser for last -F support
  * Update last parser to add convenience fields and augment data
    for easier parsing
  * Update man page
  * Minor documentation updates

OBS-URL: https://build.opensuse.org/request/show/861570
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=9
2021-01-11 09:20:50 +00:00
Martin Hauke
c1cb19a3e4 Accepting request 859754 from home:mnhauke
- Update to version 1.14.0
  * Add hashsum parser
  * Add hash parser
  * Add cksum parser
  * Add wc parser
  * Add printenv
  * Add vdir support under ls parser

OBS-URL: https://build.opensuse.org/request/show/859754
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=7
2021-01-05 14:38:50 +00:00
990fdbe5b0 Accepting request 826543 from home:mnhauke
- Update to version 1.13.4
  * Update crontab and crontab-u parsers to tighten up variable
    detection
  * Update ping parser to tighten linux/bsd detection
- Update to version 1.13.3
  * Update ping parser for Raspberry Pi compatibility
- Update to versino 1.13.2
  * Add key/value file parser (wrapper for ini parser)
  * Add date command parser
  * Update traceroute parser to more gracefully handle missing
    header row
  * Update traceroute parser to handle annotations
  * Update traceroute parser to only return successful probes
- Update to versino 1.13.1
  * Add route -6 tests
- Update to version 1.13.0
  * Add ping and ping6 command parser tested on linux
  * Add traceroute and traceroute6 command parser tested on linux
  * Add tracepath command parser tested on linux
  * Update ini parser to support files only containing key/value
    pairs
  * Update uname parser exception with a hint to use "uname -a"
  * Update route parser to support IPv6 tables
- Update to version 1.12.1
  * Fix tests when using older version of pygments library
- Update to version 1.12.0
  * Add sysctl command parser tested on linux
  * Update the cli code to allow older versions of the pygments
    library (2.3.0) for debian packaging
  * Code cleanup on the cli

OBS-URL: https://build.opensuse.org/request/show/826543
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=5
2020-08-20 13:26:34 +00:00
Michael Vetter
1ca7835333 Accepting request 809110 from home:mnhauke
- Update to version 1.11.1
  * Update stat command parser to change osx_flags field to string
  * Add dmidecode command parser
  * Update stat command parser to add OSX support
  * Update netstat command parser to add -r (route) functionality
    for linux and OSX
  * Update netstat command parser to add -i (interface)
    functionality for linux and OSX
  * Remove shebang from jc/cli.py for Fedora packaging
  * Change file permissions for Fedora packaging
  * Fix ls parser issue where the first file was skipped for
    ls -R on some platforms
  * Update last parser to handle 'gone - no logout' condition
  * Update netstat parser to handle bluetooth section (ignore
    gracefully for now)
  * Add license info to vendorized ifconfig-parser class
  * Add license file to dist for Fedora RPM packaging
    requirements
  * Remove tests from package to keep from polluting the global
    site-packages
  * Requirements modifications for Fedora RPM packaging
    requirements
  * Remove homebrew shim references from du osx tests
  * Minor change of using sys.exit(0) instead of exit()
  * Add color customization via JC_COLORS env variable
  * Fix break on pipe error
  * Change colors to ansi and match jello colors
  * Code cleanup
  * Add color output by default when not piping data to another
    program

OBS-URL: https://build.opensuse.org/request/show/809110
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=3
2020-05-27 20:47:59 +00:00
Michael Vetter
2a0951e26a Accepting request 774737 from home:mnhauke
Initial package for jc

OBS-URL: https://build.opensuse.org/request/show/774737
OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=1
2020-02-17 09:33:06 +00:00