mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-10-29 17:32:23 +00:00
Small CI/CD/nDPIsrvd.py improvements.
* Updated examples/js-rt-analyzer and examples/js-rt-analyzer-frontend Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
3
.github/workflows/build-openwrt.yml
vendored
3
.github/workflows/build-openwrt.yml
vendored
@@ -53,7 +53,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: false
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Build
|
||||
uses: openwrt/gh-action-sdk@master
|
||||
|
||||
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -43,7 +43,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
submodules: false
|
||||
fetch-depth: 1
|
||||
- name: Install Ubuntu Prerequisites
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
run: |
|
||||
|
||||
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -8,4 +8,4 @@
|
||||
url = https://gitlab.com/verzulli/ndpid-rt-analyzer.git
|
||||
[submodule "examples/js-rt-analyzer-frontend"]
|
||||
path = examples/js-rt-analyzer-frontend
|
||||
url = git@gitlab.com:verzulli/ndpid-rt-analyzer-frontend.git
|
||||
url = https://gitlab.com/verzulli/ndpid-rt-analyzer-frontend.git
|
||||
|
||||
1
dependencies/nDPIsrvd.py
vendored
1
dependencies/nDPIsrvd.py
vendored
@@ -421,6 +421,7 @@ class nDPIsrvdSocket:
|
||||
try:
|
||||
json_dict = json.loads(received_line[0].decode('ascii', errors='replace'), strict=True)
|
||||
except json.decoder.JSONDecodeError as e:
|
||||
json_dict = dict()
|
||||
self.failed_lines += [received_line]
|
||||
self.lines = self.lines[1:]
|
||||
raise(e)
|
||||
|
||||
Submodule examples/js-rt-analyzer updated: 2ddfa97de7...44a2bd0a9d
Submodule examples/js-rt-analyzer-frontend updated: e2c89fbab1...6efa702a18
Reference in New Issue
Block a user