-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #501 from networktocode/develop
Merge 1.8.0 into main
- Loading branch information
Showing
60 changed files
with
2,220 additions
and
719 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
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
name: "Protocol-Number-Updates" | ||
|
||
on: # yamllint disable-line rule:truthy | ||
schedule: | ||
- cron: "0 2 1 * *" | ||
|
||
jobs: | ||
data_gathering: | ||
runs-on: "ubuntu-latest" | ||
env: | ||
BRANCH_NAME: "PROTO_NUM_Updates" | ||
steps: | ||
# Checkout repo | ||
- name: "Check out code" | ||
uses: "actions/checkout@v2" | ||
with: | ||
ref: "develop" | ||
# Delete old branch if it exists | ||
- name: "Delete existing branch" | ||
run: "git branch -D $BRANCH_NAME || true" | ||
# Create branch for Flatbot | ||
- name: "Create Flatbot branch" | ||
run: "git checkout -b $BRANCH_NAME" | ||
# Push new branch so Flatbot can make its commit | ||
- name: "Push Flatbot branch" | ||
run: "git push -f --set-upstream origin $BRANCH_NAME" | ||
# Install Black | ||
- name: "Install Python Black" | ||
run: "pip install black" | ||
# This step installs Deno, which is a new Javascript runtime that improves on Node. Can be used for an optional postprocessing step | ||
- name: "Setup deno" | ||
uses: "denoland/setup-deno@main" | ||
with: | ||
deno-version: "v1.10.x" | ||
# The Flat Action step. We fetch the data in the http_url and save it as downloaded_filename | ||
- name: "Fetch data" | ||
uses: "githubocto/flat@v3" | ||
with: | ||
http_url: "https://www.iana.org/assignments/protocol-numbers/protocol-numbers-1.csv" | ||
downloaded_filename: "./netutils/data_files/protocol_number_mappings.py" | ||
postprocess: "./flat_postprocess/protocol_number_postprocess.ts" | ||
pr_creation: | ||
runs-on: "ubuntu-latest" | ||
needs: "data_gathering" | ||
steps: | ||
# Checkout repo | ||
- name: "Check out code" | ||
uses: "actions/checkout@v2" | ||
with: | ||
ref: "PROTO_NUM_Updates" | ||
# Create PR from branch created above into develop | ||
- name: "Create a Pull Request" | ||
run: "gh pr create -B develop -H PROTO_NUM_Updates --title 'Flatbot PROTOCOL Number File Updates' --body 'Created by Flatbot action'" | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# v1.8 Release Notes | ||
|
||
## Release Overview | ||
|
||
- Added support for Python 3.12. | ||
- Added local support of `distutils.version` now that Python 3.12 deprecates disutils. | ||
- Added functions `compare_version_loose` and `compare_version_strict` based on `distutils.version`. | ||
- Added function `paloalto_panos_clean_newlines`. | ||
- Added various lib_mapper updates. | ||
- Added HP Comware parser. | ||
|
||
## [v1.8.0] 2024-04 | ||
|
||
### Added | ||
|
||
- [#483](https://github.com/networktocode/netutils/pull/483) Added support for Python 3.12. | ||
- [#483](https://github.com/networktocode/netutils/pull/483) Added local support of `distutils.version` now that Python 3.12 deprecates disutils. | ||
- [#490](https://github.com/networktocode/netutils/pull/490) Add JunOS and Vyatta to HierConfig mappers. | ||
- [#416](https://github.com/networktocode/netutils/pull/416) Added `paloalto_panos_clean_newlines` function. | ||
- [#467](https://github.com/networktocode/netutils/pull/467) Added HP Comware parser. | ||
|
||
### Changed | ||
|
||
- [#485](https://github.com/networktocode/netutils/pull/485) Changed order of changelog menu. | ||
- [#494](https://github.com/networktocode/netutils/pull/494) Changed protocol number import to be dynamic update via flatbot. | ||
- [#495](https://github.com/networktocode/netutils/pull/495) Changed XR mapping, add tests to ensure always using normalized name, various lib_mapper fixes. | ||
|
||
### Fixed | ||
|
||
- [#496](https://github.com/networktocode/netutils/pull/496) Fixed vyos lib_mapper. | ||
- [#416](https://github.com/networktocode/netutils/pull/416) Fixed for `\n` characters in parsing bug in palo parser. |
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
Oops, something went wrong.