[tor-commits] [sbws/m12] chg: scanner: Move to concurrent.futures

2021-06-30 Thread juga
commit e11faefd010ca0447f10d79ca9da1ef71f37a1d9 Author: juga0 Date: Sat Jun 19 16:07:20 2021 + chg: scanner: Move to concurrent.futures away from multiprocessing, because it looks like we hit python bug 22393, in which the pool hangs forever when a worker process dies.

[tor-commits] [sbws/m12] chg: Split dumpstacks into handle_sigint

2021-06-30 Thread juga
commit 3def288e4590d7a55b330d8be8d0bde5f6f8de86 Author: juga0 Date: Mon Jun 28 12:31:11 2021 + chg: Split dumpstacks into handle_sigint stop exiting when there's a possible exception that makes sbws stalled and instead just dump the stack. Additionaly, call pdb on sigint.

[tor-commits] [sbws/m12] fix: scanner: Rename functions

2021-06-30 Thread juga
commit dbf50208a1a76e5a17f927d92fce43e2e15778fb Author: juga0 Date: Tue Jun 29 09:20:45 2021 + fix: scanner: Rename functions to more appropriate names, after switching to concurrent. futures. --- sbws/core/scanner.py| 27 ++-

[tor-commits] [sbws/m12] fix: tests: Consensus bandwidth might not be 0

2021-06-30 Thread juga
commit 685d3ea6b5ccbb96bae6fc7ca5ebae7509456f20 Author: juga0 Date: Mon Jun 21 10:08:06 2021 + fix: tests: Consensus bandwidth might not be 0 Since tor version 0.4.7.0-alpha-dev with #40337 patch, chutney relays notice bandwidth changes. ---

[tor-commits] [sbws/m12] fix: typos

2021-06-17 Thread juga
commit 3c13490687f3d62858a5bf21f809f42532813926 Author: Georg Koppen Date: Wed Jun 16 13:24:52 2021 + fix: typos --- docs/source/activity_aggr_lines.puml | 2 +- docs/source/images/activity_aggr_lines.svg | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[tor-commits] [sbws/m12] fix: CI: Install tor specifying release

2021-06-17 Thread juga
commit 7d42e2a8088204d877615ff04a4f0b012ed3dc1a Author: juga0 Date: Mon May 31 10:05:40 2021 + fix: CI: Install tor specifying release instead of version, so that it's more clear which version is being installed. Closes: #40089 --- .gitlab-ci.yml | 6 +++--- 1 file

[tor-commits] [sbws/m12] fix: CI: Really test tor stable

2021-06-17 Thread juga
commit e2729dd75b226077294e09689dbe9fba279ee8d0 Author: juga0 Date: Mon May 31 10:04:27 2021 + fix: CI: Really test tor stable since the default tor with deb.tpo repository is master --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[tor-commits] [sbws/m12] fix: CI: Change identation to 2 chars

2021-06-17 Thread juga
commit 6b638fc2b134e3e6ed86a7f63795793b17ef0bbe Author: juga0 Date: Mon May 31 09:58:42 2021 + fix: CI: Change identation to 2 chars --- .gitlab-ci.yml | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.gitlab-ci.yml

[tor-commits] [sbws/m12] chg: v3bwfile: Stop scaling with consensus weight

2021-06-17 Thread juga
commit 6ecb3948efd1d13416cdf1460453ad12c9e6313e Author: juga0 Date: Fri Jun 11 13:02:03 2021 + chg: v3bwfile: Stop scaling with consensus weight because when the observed bandwidth is higher than the consensus (for example when the relay is new or was some time down), it's

[tor-commits] [sbws/m12] fix: CI: Really test tor 0.4.6

2021-06-17 Thread juga
commit dd83097a4755929ee3a3e7da0f9f2ee79a425dd4 Author: juga0 Date: Mon May 31 10:02:47 2021 + fix: CI: Really test tor 0.4.6 since master is the default and add test for master. --- .gitlab-ci.yml | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff

[tor-commits] [sbws/main] Merge branch 'm12' into main

2021-05-25 Thread juga
commit 0682250db47b689bd7758f5e9b6571b9ff1019a3 Merge: 77ea710 3653396 Author: juga0 Date: Tue May 25 13:19:20 2021 + Merge branch 'm12' into main sbws/core/scanner.py | 30 +- setup.cfg| 1 + 2 files changed, 26 insertions(+), 5 deletions(-)

[tor-commits] [sbws/main] fix: scanner: Increase time getting measurements

2021-05-25 Thread juga
commit 3653396c9daa9170033fd2b706cd9d290eac6f6b Author: juga0 Date: Thu May 13 12:10:35 2021 + fix: scanner: Increase time getting measurements - Increase the time waiting for the last measurements queued, to avoid canceling unfinished measurements and gc maybe not

[tor-commits] [sbws/main] fix: Reformat docstrings for black

2021-05-25 Thread juga
commit f3c07f29f18a25505278d09c62823b2993244cfe Author: juga0 Date: Fri Apr 30 09:18:56 2021 + fix: Reformat docstrings for black To pass tox tests. This seems to have changed in black from version 20.8b1 to 21.4b2. --- sbws/globals.py | 2 +-

[tor-commits] [sbws/main] Merge branch 'm12'

2021-05-25 Thread juga
commit 10890538003f2b39b24d63cf53fde158c2edda6d Merge: b9b5c48 51a9017 Author: Georg Koppen Date: Tue Apr 27 12:12:20 2021 + Merge branch 'm12' .gitlab-ci.yml | 10 ++ .readthedocs.yml | 2 +- README.rst | 10 +-

[tor-commits] [sbws/main] fix: Update python version for rtfd.io

2021-05-25 Thread juga
commit 51a90173b3c38e57b7af5679a7b7324bbe0d0001 Author: juga0 Date: Tue Apr 20 11:38:20 2021 + fix: Update python version for rtfd.io --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index a052595..701a824

[tor-commits] [sbws/main] fix: CI: Build docs automatically in Gitlab

2021-05-25 Thread juga
commit 2944ddd3e36c904f11f54af7672c65daa1c00556 Author: juga0 Date: Tue Apr 20 11:02:21 2021 + fix: CI: Build docs automatically in Gitlab also replace the links to Read the Docs to pages.torproject.net and add redirect to it. Closes: #40085. --- .gitlab-ci.yml

[tor-commits] [sbws/main] Merge branch 'm12'

2021-05-25 Thread juga
commit 77ea7105953bbf20cad284fcf247c80b1af67c8f Merge: 1089053 f3c07f2 Author: Georg Koppen Date: Tue May 4 13:06:08 2021 + Merge branch 'm12' sbws/globals.py | 2 +- sbws/lib/resultdump.py| 4 ++-- tests/integration/conftest.py | 1 - tests/unit/conftest.py

[tor-commits] [sbws/m12] fix: scanner: Increase time getting measurements

2021-05-25 Thread juga
commit 3653396c9daa9170033fd2b706cd9d290eac6f6b Author: juga0 Date: Thu May 13 12:10:35 2021 + fix: scanner: Increase time getting measurements - Increase the time waiting for the last measurements queued, to avoid canceling unfinished measurements and gc maybe not

[tor-commits] [sbws/m12] fix: Update python version for rtfd.io

2021-05-25 Thread juga
commit 51a90173b3c38e57b7af5679a7b7324bbe0d0001 Author: juga0 Date: Tue Apr 20 11:38:20 2021 + fix: Update python version for rtfd.io --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index a052595..701a824

[tor-commits] [sbws/m12] fix: CI: Build docs automatically in Gitlab

2021-05-25 Thread juga
commit 2944ddd3e36c904f11f54af7672c65daa1c00556 Author: juga0 Date: Tue Apr 20 11:02:21 2021 + fix: CI: Build docs automatically in Gitlab also replace the links to Read the Docs to pages.torproject.net and add redirect to it. Closes: #40085. --- .gitlab-ci.yml

[tor-commits] [sbws/m12] fix: Reformat docstrings for black

2021-05-25 Thread juga
commit f3c07f29f18a25505278d09c62823b2993244cfe Author: juga0 Date: Fri Apr 30 09:18:56 2021 + fix: Reformat docstrings for black To pass tox tests. This seems to have changed in black from version 20.8b1 to 21.4b2. --- sbws/globals.py | 2 +-

[tor-commits] [sbws/master] Merge remote-tracking branch 'gitlab/merge-requests/83' into maint-1.1

2021-04-16 Thread juga
commit 0f5fa3a909ebac176842c76042337ebd479998ec Merge: 36d96da 316d67f Author: Georg Koppen Date: Fri Apr 16 11:03:21 2021 + Merge remote-tracking branch 'gitlab/merge-requests/83' into maint-1.1 .gitchangelog.rc| 3 +- .gitchangelogrst.tpl| 12 +-

[tor-commits] [sbws/master] fix: Clarify release script dependencies

2021-04-16 Thread juga
commit 99505e2c3ee182158cb201094dc84f9b28298fa6 Author: juga0 Date: Wed Apr 14 08:32:15 2021 + fix: Clarify release script dependencies --- scripts/maint/release.py | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/maint/release.py

[tor-commits] [sbws/master] fix: CI: Create release on tag

2021-04-16 Thread juga
commit 316d67fe132bc774ba7bff20ddf298aa947bce98 Author: juga0 Date: Fri Apr 16 09:51:13 2021 + fix: CI: Create release on tag --- .gitlab-ci.yml | 17 + 1 file changed, 17 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d352153..1a9ad10 100644 ---

[tor-commits] [sbws/master] Merge branch 'maint-1.1'

2021-04-16 Thread juga
commit b9b5c48e7a52dd42bdc3c3c066258fab605f026e Merge: 7da8d72 0f5fa3a Author: juga0 Date: Fri Apr 16 11:41:52 2021 + Merge branch 'maint-1.1' .gitchangelog.rc | 3 +- .gitchangelogrst.tpl | 12 +- .gitlab-ci.yml | 19 +- AUTHORS.md =>

[tor-commits] [sbws/master] Prepare release version 1.2.0.

2021-04-16 Thread juga
commit 9e165ce63acf8edc805736dad963528c24033ef7 Author: juga0 Date: Wed Apr 14 08:35:17 2021 + Prepare release version 1.2.0. Update changelog, updated automatically, manually fixed typos and and new lines. Closes #40004. --- CHANGELOG.rst | 607

[tor-commits] [sbws/master] Merge branch 'bug_40082' into 'maint-1.1'

2021-04-16 Thread juga
commit 36d96da7c36b6c02751eb7697b17d78cdea8f2e6 Merge: 37d5c0a 664742c Author: juga Date: Mon Mar 22 16:30:43 2021 + Merge branch 'bug_40082' into 'maint-1.1' fix: doc: Clarify Torflow aggregation Closes #40082 See merge request tpo/network-health/sbws!80

[tor-commits] [sbws/master] fix: doc: Clarify Torflow aggregation

2021-04-16 Thread juga
commit 664742c40fa82d0f907b63e5c7c2157a03859993 Author: Georg Koppen Date: Mon Mar 22 10:45:12 2021 + fix: doc: Clarify Torflow aggregation Closes #40082. --- docs/source/torflow_aggr.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[tor-commits] [sbws/master] fix: CI: Replace tor 0.4.6 by 0.4.7.

2021-04-16 Thread juga
commit 198de57cfcfc96fd8347b61bfffe256c2631e574 Author: juga0 Date: Fri Apr 16 08:14:21 2021 + fix: CI: Replace tor 0.4.6 by 0.4.7. Cause of tpo/tpa/team#40221. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml

[tor-commits] [sbws/master] fix: Use rst changelog template

2021-04-16 Thread juga
commit bda888e9d9fdeb38dd9c1a121d113c0918f4d049 Author: juga0 Date: Fri Apr 9 10:17:46 2021 + fix: Use rst changelog template and put in the same entry commit subject and body removing new lines. Closes: #40004 --- .gitchangelog.rc | 3 ++- .gitchangelogrst.tpl

[tor-commits] [sbws/master] fix: doc: Replace md by rst and rm dep

2021-04-16 Thread juga
ave contributed to Simple Bandwidth Scanner. Thank +you for helping make Tor better. -* anadahz -* George Kadianakis -* Georg Koppen -* juga -* Matt Traudt -* teor +- anadahz +- George Kadianakis +- Georg Koppen +- juga +- Matt Traudt +- teor *Last updated: 2020-06-26 on d7a822bf* diff --

[tor-commits] [sbws/maint-1.1] Merge remote-tracking branch 'gitlab/merge-requests/83' into maint-1.1

2021-04-16 Thread juga
commit 0f5fa3a909ebac176842c76042337ebd479998ec Merge: 36d96da 316d67f Author: Georg Koppen Date: Fri Apr 16 11:03:21 2021 + Merge remote-tracking branch 'gitlab/merge-requests/83' into maint-1.1 .gitchangelog.rc| 3 +- .gitchangelogrst.tpl| 12 +-

[tor-commits] [sbws/maint-1.1] Prepare release version 1.2.0.

2021-04-16 Thread juga
commit 9e165ce63acf8edc805736dad963528c24033ef7 Author: juga0 Date: Wed Apr 14 08:35:17 2021 + Prepare release version 1.2.0. Update changelog, updated automatically, manually fixed typos and and new lines. Closes #40004. --- CHANGELOG.rst | 607

[tor-commits] [sbws/maint-1.1] fix: CI: Create release on tag

2021-04-16 Thread juga
commit 316d67fe132bc774ba7bff20ddf298aa947bce98 Author: juga0 Date: Fri Apr 16 09:51:13 2021 + fix: CI: Create release on tag --- .gitlab-ci.yml | 17 + 1 file changed, 17 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d352153..1a9ad10 100644 ---

[tor-commits] [sbws/maint-1.1] fix: Clarify release script dependencies

2021-04-16 Thread juga
commit 99505e2c3ee182158cb201094dc84f9b28298fa6 Author: juga0 Date: Wed Apr 14 08:32:15 2021 + fix: Clarify release script dependencies --- scripts/maint/release.py | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/maint/release.py

[tor-commits] [sbws/maint-1.1] fix: CI: Replace tor 0.4.6 by 0.4.7.

2021-04-16 Thread juga
commit 198de57cfcfc96fd8347b61bfffe256c2631e574 Author: juga0 Date: Fri Apr 16 08:14:21 2021 + fix: CI: Replace tor 0.4.6 by 0.4.7. Cause of tpo/tpa/team#40221. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml

[tor-commits] [sbws/maint-1.1] fix: Use rst changelog template

2021-04-16 Thread juga
commit bda888e9d9fdeb38dd9c1a121d113c0918f4d049 Author: juga0 Date: Fri Apr 9 10:17:46 2021 + fix: Use rst changelog template and put in the same entry commit subject and body removing new lines. Closes: #40004 --- .gitchangelog.rc | 3 ++- .gitchangelogrst.tpl

[tor-commits] [sbws/maint-1.1] Merge branch 'bug_40082' into 'maint-1.1'

2021-04-16 Thread juga
commit 36d96da7c36b6c02751eb7697b17d78cdea8f2e6 Merge: 37d5c0a 664742c Author: juga Date: Mon Mar 22 16:30:43 2021 + Merge branch 'bug_40082' into 'maint-1.1' fix: doc: Clarify Torflow aggregation Closes #40082 See merge request tpo/network-health/sbws!80

[tor-commits] [sbws/maint-1.1] fix: doc: Clarify Torflow aggregation

2021-04-16 Thread juga
commit 664742c40fa82d0f907b63e5c7c2157a03859993 Author: Georg Koppen Date: Mon Mar 22 10:45:12 2021 + fix: doc: Clarify Torflow aggregation Closes #40082. --- docs/source/torflow_aggr.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[tor-commits] [sbws/maint-1.1] fix: doc: Replace md by rst and rm dep

2021-04-16 Thread juga
ave contributed to Simple Bandwidth Scanner. Thank +you for helping make Tor better. -* anadahz -* George Kadianakis -* Georg Koppen -* juga -* Matt Traudt -* teor +- anadahz +- George Kadianakis +- Georg Koppen +- juga +- Matt Traudt +- teor *Last updated: 2020-06-26 on d7a822bf* diff --

[tor-commits] [sbws/master] fix: doc: Correct network stream and filtered bw

2021-03-19 Thread juga
commit 37d5c0abc0c330d8c21609af8ac563a6a12ac9c4 Author: juga0 Date: Fri Mar 19 14:16:08 2021 + fix: doc: Correct network stream and filtered bw because Torflow is not using them by relay type. --- docs/source/differences.rst | 7 --- docs/source/torflow_aggr.rst | 40

[tor-commits] [sbws/master] Merge branch 'maint-1.1'

2021-03-19 Thread juga
commit 7da8d72ebfca239d2781ac0076e2b8b9592441fa Merge: a016ab4 37d5c0a Author: juga0 Date: Fri Mar 19 15:52:59 2021 + Merge branch 'maint-1.1' docs/source/differences.rst | 7 --- docs/source/torflow_aggr.rst | 40 sbws/globals.py

[tor-commits] [sbws/master] fix: v3bwfile: network means without relay type

2021-03-19 Thread juga
commit f93a11ca264e4c50f8cc17106084ae75c367a460 Author: juga0 Date: Fri Mar 19 13:37:17 2021 + fix: v3bwfile: network means without relay type This reverts commit fc3d3b992ada601a6255f8a6889179abd4b7e55e and partialy reverts a82c26184097bea3ca405ae19773de7c4354a541.

[tor-commits] [sbws/maint-1.1] fix: doc: Correct network stream and filtered bw

2021-03-19 Thread juga
commit 37d5c0abc0c330d8c21609af8ac563a6a12ac9c4 Author: juga0 Date: Fri Mar 19 14:16:08 2021 + fix: doc: Correct network stream and filtered bw because Torflow is not using them by relay type. --- docs/source/differences.rst | 7 --- docs/source/torflow_aggr.rst | 40

[tor-commits] [sbws/maint-1.1] fix: v3bwfile: network means without relay type

2021-03-19 Thread juga
commit f93a11ca264e4c50f8cc17106084ae75c367a460 Author: juga0 Date: Fri Mar 19 13:37:17 2021 + fix: v3bwfile: network means without relay type This reverts commit fc3d3b992ada601a6255f8a6889179abd4b7e55e and partialy reverts a82c26184097bea3ca405ae19773de7c4354a541.

[tor-commits] [sbws/master] fix: semi-automatic correction of typos

2021-03-18 Thread juga
commit 888fb6e88366e4bdaced0239d833ecee11fac636 Author: juga0 Date: Wed Mar 17 12:51:35 2021 + fix: semi-automatic correction of typos Closes #33599. --- docs/source/contributing.rst | 10 +- docs/source/examples/sbws.example.ini

[tor-commits] [sbws/master] Merge branch 'maint-1.1'

2021-03-18 Thread juga
commit a016ab4fb9d677999d2a376dcfb998b942a1acc3 Merge: fd139b8 888fb6e Author: juga0 Date: Thu Mar 18 08:11:25 2021 + Merge branch 'maint-1.1' .coveragerc| 1 + .editorconfig | 10 +- .gitattributes

[tor-commits] [sbws/master] fix: tests: Additional security tests

2021-03-18 Thread juga
commit 41fa1480da0466ec859871ba8a7710f4950cd8f0 Author: juga0 Date: Wed Mar 17 09:51:04 2021 + fix: tests: Additional security tests --- tox.ini | 11 +++ 1 file changed, 11 insertions(+) diff --git a/tox.ini b/tox.ini index 5c6e2a2..3a4fb27 100644 --- a/tox.ini +++ b/tox.ini

[tor-commits] [sbws/master] fix: tests: Add codespell configuration

2021-03-18 Thread juga
commit f6b40b7fa22c4f3574ad297b64f7f13b3b938a7d Author: juga0 Date: Wed Mar 17 12:44:25 2021 + fix: tests: Add codespell configuration --- setup.cfg | 4 tox.ini | 7 +++ 2 files changed, 11 insertions(+) diff --git a/setup.cfg b/setup.cfg index 578a389..2ba9548 100644 ---

[tor-commits] [sbws/master] fix: 2nd round of automatic format

2021-03-18 Thread juga
commit d6de5a4b2a91e06e1c8b506ec28d227dec662567 Author: juga0 Date: Wed Mar 17 09:21:42 2021 + fix: 2nd round of automatic format black insists to keep one long line and flake complain, therefore make flake to ignore it. --- sbws/lib/resultdump.py | 12 +++- 1

[tor-commits] [sbws/master] fix: CI: Use all tox environments for python 3.8

2021-03-18 Thread juga
commit c662522e355437f96158f5402b30ea3f0c797bac Author: juga0 Date: Wed Mar 17 09:25:12 2021 + fix: CI: Use all tox environments for python 3.8 Closes: #40070 --- .gitlab-ci.yml | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci.yml

[tor-commits] [sbws/master] fix: flake8 errors

2021-03-18 Thread juga
commit 8f711dd176c750f09637877b291f3d25e507a7c8 Author: juga0 Date: Tue Mar 16 19:14:13 2021 + fix: flake8 errors --- sbws/lib/destination.py | 4 ++-- sbws/lib/resultdump.py | 6 -- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sbws/lib/destination.py

[tor-commits] [sbws/master] fix: Reorder imports with isort

2021-03-18 Thread juga
commit 68cb95ba1a74a50791714c0ceb1993a831b19ac2 Author: juga0 Date: Tue Mar 16 19:10:34 2021 + fix: Reorder imports with isort --- sbws/core/cleanup.py | 17 + sbws/core/generate.py | 22 ++-- sbws/core/scanner.py

[tor-commits] [sbws/master] fix: Move to declarative setup.cfg

2021-03-18 Thread juga
ost.dev%d" % pieces["distance"] +rendered = "0.post0.dev%d" % pieces["distance"] return rendered @@ -385,7 +390,7 @@ def render_pep440_old(pieces): The ".dev0" means dirty. -Eexceptions: +Exceptions: 1: no tags. 0.postDISTANC

[tor-commits] [sbws/master] fix: Indent by default to 2 except python files

2021-03-18 Thread juga
commit de2154d4f1dc585366cc1b96ab49bc3def83b391 Author: juga0 Date: Tue Mar 16 14:23:14 2021 + fix: Indent by default to 2 except python files also uncomment final newline. Can be commented again in case it fails --- .editorconfig | 10 ++ 1 file changed, 2

[tor-commits] [sbws/maint-1.1] fix: 2nd round of automatic format

2021-03-18 Thread juga
commit d6de5a4b2a91e06e1c8b506ec28d227dec662567 Author: juga0 Date: Wed Mar 17 09:21:42 2021 + fix: 2nd round of automatic format black insists to keep one long line and flake complain, therefore make flake to ignore it. --- sbws/lib/resultdump.py | 12 +++- 1

[tor-commits] [sbws/maint-1.1] fix: semi-automatic correction of typos

2021-03-18 Thread juga
commit 888fb6e88366e4bdaced0239d833ecee11fac636 Author: juga0 Date: Wed Mar 17 12:51:35 2021 + fix: semi-automatic correction of typos Closes #33599. --- docs/source/contributing.rst | 10 +- docs/source/examples/sbws.example.ini

[tor-commits] [sbws/maint-1.1] fix: CI: Use all tox environments for python 3.8

2021-03-18 Thread juga
commit c662522e355437f96158f5402b30ea3f0c797bac Author: juga0 Date: Wed Mar 17 09:25:12 2021 + fix: CI: Use all tox environments for python 3.8 Closes: #40070 --- .gitlab-ci.yml | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci.yml

[tor-commits] [sbws/maint-1.1] fix: tests: Additional security tests

2021-03-18 Thread juga
commit 41fa1480da0466ec859871ba8a7710f4950cd8f0 Author: juga0 Date: Wed Mar 17 09:51:04 2021 + fix: tests: Additional security tests --- tox.ini | 11 +++ 1 file changed, 11 insertions(+) diff --git a/tox.ini b/tox.ini index 5c6e2a2..3a4fb27 100644 --- a/tox.ini +++ b/tox.ini

[tor-commits] [sbws/maint-1.1] fix: tests: Add codespell configuration

2021-03-18 Thread juga
commit f6b40b7fa22c4f3574ad297b64f7f13b3b938a7d Author: juga0 Date: Wed Mar 17 12:44:25 2021 + fix: tests: Add codespell configuration --- setup.cfg | 4 tox.ini | 7 +++ 2 files changed, 11 insertions(+) diff --git a/setup.cfg b/setup.cfg index 578a389..2ba9548 100644 ---

[tor-commits] [sbws/maint-1.1] fix: Indent by default to 2 except python files

2021-03-18 Thread juga
commit de2154d4f1dc585366cc1b96ab49bc3def83b391 Author: juga0 Date: Tue Mar 16 14:23:14 2021 + fix: Indent by default to 2 except python files also uncomment final newline. Can be commented again in case it fails --- .editorconfig | 10 ++ 1 file changed, 2

[tor-commits] [sbws/maint-1.1] fix: flake8 errors

2021-03-18 Thread juga
commit 8f711dd176c750f09637877b291f3d25e507a7c8 Author: juga0 Date: Tue Mar 16 19:14:13 2021 + fix: flake8 errors --- sbws/lib/destination.py | 4 ++-- sbws/lib/resultdump.py | 6 -- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sbws/lib/destination.py

[tor-commits] [sbws/maint-1.1] fix: Reorder imports with isort

2021-03-18 Thread juga
commit 68cb95ba1a74a50791714c0ceb1993a831b19ac2 Author: juga0 Date: Tue Mar 16 19:10:34 2021 + fix: Reorder imports with isort --- sbws/core/cleanup.py | 17 + sbws/core/generate.py | 22 ++-- sbws/core/scanner.py

[tor-commits] [sbws/maint-1.1] fix: Move to declarative setup.cfg

2021-03-18 Thread juga
ost.dev%d" % pieces["distance"] +rendered = "0.post0.dev%d" % pieces["distance"] return rendered @@ -385,7 +390,7 @@ def render_pep440_old(pieces): The ".dev0" means dirty. -Eexceptions: +Exceptions: 1: no tags. 0.postDISTANC

[tor-commits] [sbws/master] Merge branch 'maint-1.1'

2021-03-16 Thread juga
commit fd139b89de20b6d38941f137325e05069995793b Merge: 63d71cc 279874f Author: juga0 Date: Tue Mar 16 14:18:41 2021 + Merge branch 'maint-1.1' .gitlab-ci.yml | 71 +- docs/source/torflow_aggr.rst | 25 ++

[tor-commits] [sbws/master] Merge remote-tracking branch 'gitlab/merge-requests/71' into maint-1.1

2021-03-16 Thread juga
commit 279874f4f4ef90f50b87580cd347b6b2ce62c390 Merge: cde8950 fc3d3b9 Author: Georg Koppen Date: Tue Mar 16 13:07:48 2021 + Merge remote-tracking branch 'gitlab/merge-requests/71' into maint-1.1 docs/source/torflow_aggr.rst | 25 ++ sbws/globals.py|

[tor-commits] [sbws/master] fix: v3bwfile: network means by relay type

2021-03-16 Thread juga
commit fc3d3b992ada601a6255f8a6889179abd4b7e55e Author: juga0 Date: Mon Mar 1 22:04:04 2021 + fix: v3bwfile: network means by relay type Calculate network stream and filtered bandwidth averages per relay type, to obtain bandwidth weights the same way as Torflow.

[tor-commits] [sbws/master] fix: scaling: Return mean if no bw >= mean

2021-03-16 Thread juga
commit bd57e473e2975bf0ef1a0abae214a59f115223b8 Author: juga0 Date: Mon Mar 15 14:10:33 2021 + fix: scaling: Return mean if no bw >= mean --- sbws/lib/scaling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbws/lib/scaling.py b/sbws/lib/scaling.py index

[tor-commits] [sbws/master] fix: scaling: Stop returning 1 as the means minima

2021-03-16 Thread juga
commit a82c26184097bea3ca405ae19773de7c4354a541 Author: juga0 Date: Wed Mar 10 10:34:56 2021 + fix: scaling: Stop returning 1 as the means minima since they are used as the numerator when calculating the ratio and the rounding already returns a minimum of 1. ---

[tor-commits] [sbws/master] fix: scaling: Return if there are no measurements

2021-03-16 Thread juga
commit 455a7f69a9f3d0b2945a428e55e4eed604031e4e Author: juga0 Date: Mon Mar 1 19:04:34 2021 + fix: scaling: Return if there are no measurements it should not be the case because the measurements come from successful results, but otherwise it'd throw an exception. ---

[tor-commits] [sbws/master] fix: scaling: round bandwidth filtered

2021-03-16 Thread juga
commit cc343eb85f53095aceacd9ad2a22cb5dfebd0782 Author: juga0 Date: Mon Mar 1 19:02:04 2021 + fix: scaling: round bandwidth filtered because Torflow does it. --- docs/source/torflow_aggr.rst | 25 + sbws/lib/scaling.py| 6 --

[tor-commits] [sbws/master] fix: tests: Add bw filtered from results

2021-03-16 Thread juga
commit e3b4c4ed4d84bee543b47fd0d683050b3d00182b Author: juga0 Date: Mon Mar 15 14:25:13 2021 + fix: tests: Add bw filtered from results --- tests/unit/lib/test_scaling.py | 29 + 1 file changed, 29 insertions(+) diff --git a/tests/unit/lib/test_scaling.py

[tor-commits] [sbws/master] fix: scanner: Return from measure if no helper

2021-03-16 Thread juga
commit 83e07312fda00d39d3a7a2a90c1980d7f67c3c0a Author: juga0 Date: Sat Feb 27 11:00:02 2021 + fix: scanner: Return from measure if no helper After refactoring in #40041, it was forgotten to return the error in the case a helper was not found, what can happen in test

[tor-commits] [sbws/master] fixup! minor: Change info logs to debug or warning

2021-03-16 Thread juga
commit a2b2583462d3b993b0c1b76454cc304e6d809dff Author: juga0 Date: Mon Mar 8 10:49:19 2021 + fixup! minor: Change info logs to debug or warning --- sbws/lib/destination.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbws/lib/destination.py

[tor-commits] [sbws/master] fix: tests: debug log for tests by default

2021-03-16 Thread juga
commit cde895003c0f3aab57008d6cb0a3f570b0a14011 Author: juga0 Date: Fri Mar 5 16:29:14 2021 + fix: tests: debug log for tests by default and fix test that didn't consider that there might be other logs from other threads. Closes #33797. --- setup.cfg

[tor-commits] [sbws/master] minor: Change info logs to debug or warning

2021-03-16 Thread juga
commit 3b1f7b79bfab9262567e487f0429635781f6fcab Author: juga0 Date: Tue Mar 2 17:21:15 2021 + minor: Change info logs to debug or warning when they contain sensitive information, eg. Web server or are too verbose for the debug level. Also add log to indicate when the

[tor-commits] [sbws/master] fix: scanner: Log times kept

2021-03-16 Thread juga
commit dc60a3c0215e28d8d32e9d0ffd4aa8872a8f70c3 Author: juga0 Date: Wed Mar 3 09:42:38 2021 + fix: scanner: Log times kept not only the times that are not kept. Closes #40060 --- sbws/core/scanner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git

[tor-commits] [sbws/master] major: Change default log level to info

2021-03-16 Thread juga
commit fa70b0a1edd01062aa82724ff4371116d00225fa Author: juga0 Date: Wed Mar 3 07:57:15 2021 + major: Change default log level to info also change formatting to show thread. --- sbws/config.default.ini | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[tor-commits] [sbws/master] minor: Change log warning to info or debug

2021-03-16 Thread juga
commit 290030aedd6d6ade7e53c22dacab149e3e5b1b8f Author: juga0 Date: Tue Mar 2 17:33:12 2021 + minor: Change log warning to info or debug when it contains sensitive information. --- sbws/core/scanner.py | 2 +- sbws/util/stem.py| 12 ++-- 2 files changed, 7

[tor-commits] [sbws/master] fix: CI: Temporal workaround for #40072

2021-03-16 Thread juga
commit 4e7ad5d78d58c9068ece2239cacc2ddd6d13d7b1 Author: juga0 Date: Fri Mar 5 13:45:39 2021 + fix: CI: Temporal workaround for #40072 --- tests/integration/start_chutney.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/start_chutney.sh

[tor-commits] [sbws/master] fix: CI: Exit from integration script

2021-03-16 Thread juga
commit a49cf7029bf5b3a6414ca89fd31a243bec319ef4 Author: juga0 Date: Wed Mar 3 12:38:18 2021 + fix: CI: Exit from integration script when any of the commands fail. --- tests/integration/run.sh | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[tor-commits] [sbws/master] fix: CI: Update Python versions

2021-03-16 Thread juga
commit 193f5da1b0024aefb03edee547d770f0584761f3 Author: juga0 Date: Tue Mar 2 12:45:43 2021 + fix: CI: Update Python versions Closes #40055. --- .gitlab-ci.yml | 55 +++ tox.ini| 4 ++-- 2 files changed, 37

[tor-commits] [sbws/master] fix: relalist: Use the consensus timestamp

2021-03-16 Thread juga
commit aa6b79d343dfe43fa6bb447a9d9c37d41c37e589 Author: juga0 Date: Fri Mar 5 11:51:59 2021 + fix: relalist: Use the consensus timestamp to the relay consensus timestamps list, so that it can be tested it was in a concrete consensus. --- sbws/lib/relaylist.py | 6 +-

[tor-commits] [sbws/master] fix: CI: Update tor versions

2021-03-16 Thread juga
commit 842ed52f34992d416930a4beace9b2d8016af574 Author: juga0 Date: Tue Mar 2 12:40:52 2021 + fix: CI: Update tor versions --- .gitlab-ci.yml | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index

[tor-commits] [sbws/maint-1.1] Merge remote-tracking branch 'gitlab/merge-requests/71' into maint-1.1

2021-03-16 Thread juga
commit 279874f4f4ef90f50b87580cd347b6b2ce62c390 Merge: cde8950 fc3d3b9 Author: Georg Koppen Date: Tue Mar 16 13:07:48 2021 + Merge remote-tracking branch 'gitlab/merge-requests/71' into maint-1.1 docs/source/torflow_aggr.rst | 25 ++ sbws/globals.py|

[tor-commits] [sbws/maint-1.1] fix: v3bwfile: network means by relay type

2021-03-16 Thread juga
commit fc3d3b992ada601a6255f8a6889179abd4b7e55e Author: juga0 Date: Mon Mar 1 22:04:04 2021 + fix: v3bwfile: network means by relay type Calculate network stream and filtered bandwidth averages per relay type, to obtain bandwidth weights the same way as Torflow.

[tor-commits] [sbws/maint-1.1] fix: scaling: Stop returning 1 as the means minima

2021-03-16 Thread juga
commit a82c26184097bea3ca405ae19773de7c4354a541 Author: juga0 Date: Wed Mar 10 10:34:56 2021 + fix: scaling: Stop returning 1 as the means minima since they are used as the numerator when calculating the ratio and the rounding already returns a minimum of 1. ---

[tor-commits] [sbws/maint-1.1] fix: scaling: Return mean if no bw >= mean

2021-03-16 Thread juga
commit bd57e473e2975bf0ef1a0abae214a59f115223b8 Author: juga0 Date: Mon Mar 15 14:10:33 2021 + fix: scaling: Return mean if no bw >= mean --- sbws/lib/scaling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbws/lib/scaling.py b/sbws/lib/scaling.py index

[tor-commits] [sbws/maint-1.1] fix: scaling: Return if there are no measurements

2021-03-16 Thread juga
commit 455a7f69a9f3d0b2945a428e55e4eed604031e4e Author: juga0 Date: Mon Mar 1 19:04:34 2021 + fix: scaling: Return if there are no measurements it should not be the case because the measurements come from successful results, but otherwise it'd throw an exception. ---

[tor-commits] [sbws/maint-1.1] fix: tests: Add bw filtered from results

2021-03-16 Thread juga
commit e3b4c4ed4d84bee543b47fd0d683050b3d00182b Author: juga0 Date: Mon Mar 15 14:25:13 2021 + fix: tests: Add bw filtered from results --- tests/unit/lib/test_scaling.py | 29 + 1 file changed, 29 insertions(+) diff --git a/tests/unit/lib/test_scaling.py

[tor-commits] [sbws/maint-1.1] fix: scaling: round bandwidth filtered

2021-03-16 Thread juga
commit cc343eb85f53095aceacd9ad2a22cb5dfebd0782 Author: juga0 Date: Mon Mar 1 19:02:04 2021 + fix: scaling: round bandwidth filtered because Torflow does it. --- docs/source/torflow_aggr.rst | 25 + sbws/lib/scaling.py| 6 --

[tor-commits] [sbws/maint-1.1] fix: tests: debug log for tests by default

2021-03-16 Thread juga
commit cde895003c0f3aab57008d6cb0a3f570b0a14011 Author: juga0 Date: Fri Mar 5 16:29:14 2021 + fix: tests: debug log for tests by default and fix test that didn't consider that there might be other logs from other threads. Closes #33797. --- setup.cfg

[tor-commits] [sbws/maint-1.1] fix: scanner: Return from measure if no helper

2021-03-16 Thread juga
commit 83e07312fda00d39d3a7a2a90c1980d7f67c3c0a Author: juga0 Date: Sat Feb 27 11:00:02 2021 + fix: scanner: Return from measure if no helper After refactoring in #40041, it was forgotten to return the error in the case a helper was not found, what can happen in test

[tor-commits] [sbws/maint-1.1] fixup! minor: Change info logs to debug or warning

2021-03-16 Thread juga
commit a2b2583462d3b993b0c1b76454cc304e6d809dff Author: juga0 Date: Mon Mar 8 10:49:19 2021 + fixup! minor: Change info logs to debug or warning --- sbws/lib/destination.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbws/lib/destination.py

[tor-commits] [sbws/maint-1.1] minor: Change log warning to info or debug

2021-03-16 Thread juga
commit 290030aedd6d6ade7e53c22dacab149e3e5b1b8f Author: juga0 Date: Tue Mar 2 17:33:12 2021 + minor: Change log warning to info or debug when it contains sensitive information. --- sbws/core/scanner.py | 2 +- sbws/util/stem.py| 12 ++-- 2 files changed, 7

[tor-commits] [sbws/maint-1.1] major: Change default log level to info

2021-03-16 Thread juga
commit fa70b0a1edd01062aa82724ff4371116d00225fa Author: juga0 Date: Wed Mar 3 07:57:15 2021 + major: Change default log level to info also change formatting to show thread. --- sbws/config.default.ini | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[tor-commits] [sbws/maint-1.1] fix: scanner: Log times kept

2021-03-16 Thread juga
commit dc60a3c0215e28d8d32e9d0ffd4aa8872a8f70c3 Author: juga0 Date: Wed Mar 3 09:42:38 2021 + fix: scanner: Log times kept not only the times that are not kept. Closes #40060 --- sbws/core/scanner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git

[tor-commits] [sbws/maint-1.1] minor: Change info logs to debug or warning

2021-03-16 Thread juga
commit 3b1f7b79bfab9262567e487f0429635781f6fcab Author: juga0 Date: Tue Mar 2 17:21:15 2021 + minor: Change info logs to debug or warning when they contain sensitive information, eg. Web server or are too verbose for the debug level. Also add log to indicate when the

[tor-commits] [sbws/maint-1.1] fix: CI: Temporal workaround for #40072

2021-03-16 Thread juga
commit 4e7ad5d78d58c9068ece2239cacc2ddd6d13d7b1 Author: juga0 Date: Fri Mar 5 13:45:39 2021 + fix: CI: Temporal workaround for #40072 --- tests/integration/start_chutney.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/start_chutney.sh

[tor-commits] [sbws/maint-1.1] fix: CI: Update tor versions

2021-03-16 Thread juga
commit 842ed52f34992d416930a4beace9b2d8016af574 Author: juga0 Date: Tue Mar 2 12:40:52 2021 + fix: CI: Update tor versions --- .gitlab-ci.yml | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index

  1   2   3   4   5   6   7   8   9   10   >