diff --git a/.github/workflows/build-openwrt.yml b/.github/workflows/build-openwrt.yml index baeaf24e..21a96ecd 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 107f6a76..c273052f 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 903071c4..11eed47e 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 a1485743..166af559 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 index 2ddfa97d..44a2bd0a 160000 --- a/examples/js-rt-analyzer +++ b/examples/js-rt-analyzer @@ -1 +1 @@ -Subproject commit 2ddfa97de7ebd1ceddc9387d83bc66fdbfd60eaa +Subproject commit 44a2bd0a9d6d7c4e36d2c81ca6a225db5d601555 diff --git a/examples/js-rt-analyzer-frontend b/examples/js-rt-analyzer-frontend index e2c89fba..6efa702a 160000 --- a/examples/js-rt-analyzer-frontend +++ b/examples/js-rt-analyzer-frontend @@ -1 +1 @@ -Subproject commit e2c89fbab138beb4effd729d530ed819782c461a +Subproject commit 6efa702a1886858d4fe93c2ea21777eaa0b9b7ea