This is an automated email from the git hooks/post-receive script.
dgoulet pushed a commit to branch main in repository tor.
commit 623a55764b8c72e6271f822c1fe68b9613c551b9 Author: David Goulet dgoulet@torproject.org AuthorDate: Mon Jun 19 08:09:24 2023 -0400
Use the new Stem repository on Gitlab
Signed-off-by: David Goulet dgoulet@torproject.org --- .gitlab-ci.yml | 2 +- Makefile.am | 2 +- doc/HACKING/WritingTests.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3bb2a9a40f..d00642eb82 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -101,7 +101,7 @@ variables: - if [ "$CC" = clang ]; then apt-get install clang; fi - if [ "$NSS" = yes ]; then apt-get install libnss3 libnss3-dev; fi # TODO: This next line should not be debian-only. - - if [ "$STEM" = yes ]; then git clone --depth 1 https://git.torproject.org/stem.git ; export STEM_PATH="$(pwd)/stem"; fi + - if [ "$STEM" = yes ]; then git clone --depth 1 https://gitlab.torproject.org/tpo/network-health/stem.git ; export STEM_PATH="$(pwd)/stem"; fi # TODO: This next line should not be debian-only. - if [ "$CHUTNEY" = yes ]; then git clone --depth 1 https://git.torproject.org/chutney.git ; export CHUTNEY_PATH="$(pwd)/chutney"; fi - if [ "$TRACING" = yes ]; then apt install liblttng-ust-dev; fi diff --git a/Makefile.am b/Makefile.am index 280047a71b..e65bd133bc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -475,7 +475,7 @@ test-network-results: need-stem-path: @if test ! -d "$$STEM_SOURCE_DIR"; then \ echo '$$STEM_SOURCE_DIR was not set.'; echo; \ - echo "To run these tests, git clone https://git.torproject.org/stem.git/ ; export STEM_SOURCE_DIR=`pwd`/stem"; \ + echo "To run these tests, git clone https://gitlab.torproject.org/tpo/network-health/stem ; export STEM_SOURCE_DIR=`pwd`/stem"; \ exit 1; \ fi
diff --git a/doc/HACKING/WritingTests.md b/doc/HACKING/WritingTests.md index e1497a77c2..129b79a854 100644 --- a/doc/HACKING/WritingTests.md +++ b/doc/HACKING/WritingTests.md @@ -465,7 +465,7 @@ Let's assume you actually want to write a test for a previously untested controller feature. I'm picking the `exit-policy/*` GETINFO queries. Since these are a controller feature that we want to write an integration test for, the right file to modify is -`https://gitweb.torproject.org/stem.git/tree/test/integ/control/controller.py.... +`https://gitlab.torproject.org/tpo/network-health/stem/-/blob/master/test/int....
First off we notice that there is an integration test called `test_get_exit_policy()` that's already written. This exercises the interaction