forked from kellyjonbrazil/jc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
82 changed files
with
836 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,39 @@ on: | |
- "**/*.py" | ||
|
||
jobs: | ||
build: | ||
old_python: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-20.04, windows-latest] | ||
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | ||
os: [macos-13, ubuntu-20.04, windows-2019] | ||
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: "Set up timezone to America/Los_Angeles" | ||
uses: szenius/[email protected] | ||
with: | ||
timezoneLinux: "America/Los_Angeles" | ||
timezoneMacos: "America/Los_Angeles" | ||
timezoneWindows: "Pacific Standard Time" | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Test with unittest | ||
run: | | ||
python -m unittest discover tests | ||
latest_python: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
python-version: ["3.11", "3.12"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,13 @@ field names | |
"file_descriptor": string | ||
} | ||
} | ||
"inode_number": string, | ||
"cookie": string, | ||
"cgroup": string, | ||
"v6only": string, | ||
"timer_name": string, | ||
"expire_time": string, | ||
"retrans": string | ||
} | ||
} | ||
] | ||
|
@@ -310,4 +317,4 @@ Compatibility: linux | |
|
||
Source: [`jc/parsers/ss.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/ss.py) | ||
|
||
Version 1.7 by Kelly Brazil ([email protected]) | ||
Version 1.8 by Kelly Brazil ([email protected]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,4 +145,4 @@ Compatibility: linux, darwin, freebsd | |
|
||
Source: [`jc/parsers/traceroute.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/traceroute.py) | ||
|
||
Version 1.6 by Kelly Brazil ([email protected]) | ||
Version 1.7 by Kelly Brazil ([email protected]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
from jc import utils | ||
|
||
|
||
__version__ = '1.25.2' | ||
__version__ = '1.25.3' | ||
|
||
parsers: List[str] = [ | ||
'acpi', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ | |
Usage (cli): | ||
$ apt-get -sqq | jc --apt-get-sqq | ||
$ apt-get -sqq upgrade | jc --apt-get-sqq | ||
or | ||
$ jc apt-get -sqq | ||
$ jc apt-get -sqq full-upgrade | ||
Usage (module): | ||
|
@@ -30,7 +30,7 @@ | |
Examples: | ||
$ apt-get -sqq | jc --apt-get-sqq -p | ||
$ apt-get -sqq upgrade | jc --apt-get-sqq -p | ||
[ | ||
{ | ||
"operation": "unpack", | ||
|
@@ -98,7 +98,7 @@ | |
} | ||
] | ||
$ apt-get -sqq | jc --apt-get-sqq -p -r | ||
$ apt-get -sqq upgrade | jc --apt-get-sqq -p -r | ||
[ | ||
{ | ||
"operation": "Inst", | ||
|
@@ -174,7 +174,7 @@ | |
|
||
class info(): | ||
"""Provides parser metadata (version, author, etc.)""" | ||
version = '1.0' | ||
version = '1.1' | ||
description = '`apt-get -sqq` command parser' | ||
author = 'Kelly Brazil' | ||
author_email = '[email protected]' | ||
|
Oops, something went wrong.