diff options
-rw-r--r-- | .github/workflows/build-openwrt.yml | 3 | ||||
-rw-r--r-- | .github/workflows/build.yml | 3 | ||||
-rw-r--r-- | .gitmodules | 2 | ||||
-rw-r--r-- | dependencies/nDPIsrvd.py | 1 | ||||
m--------- | examples/js-rt-analyzer | 0 | ||||
m--------- | examples/js-rt-analyzer-frontend | 0 |
6 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/build-openwrt.yml b/.github/workflows/build-openwrt.yml index baeaf24ed..21a96ecdf 100644 --- a/.github/workflows/build-openwrt.yml +++ b/.github/workflows/build-openwrt.yml @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 107f6a761..c273052f0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: | diff --git a/.gitmodules b/.gitmodules index 903071c4f..11eed47e4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/dependencies/nDPIsrvd.py b/dependencies/nDPIsrvd.py index a14857433..166af5596 100644 --- a/dependencies/nDPIsrvd.py +++ b/dependencies/nDPIsrvd.py @@ -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) diff --git a/examples/js-rt-analyzer b/examples/js-rt-analyzer -Subproject 2ddfa97de7ebd1ceddc9387d83bc66fdbfd60ea +Subproject 44a2bd0a9d6d7c4e36d2c81ca6a225db5d60155 diff --git a/examples/js-rt-analyzer-frontend b/examples/js-rt-analyzer-frontend -Subproject e2c89fbab138beb4effd729d530ed819782c461 +Subproject 6efa702a1886858d4fe93c2ea21777eaa0b9b7e |