This is an automated email from the git hooks/post-receive script.
dgoulet pushed a change to branch main in repository tor.
from 7a83aa4f50 Merge branch 'tor-gitlab/mr/722' new 623a55764b Use the new Stem repository on Gitlab new 94f4d0968b Change git.tpo URLs to gitlab.tpo new 3cb6a690be Merge branch 'maint-0.4.7'
The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
Summary of changes: .gitlab-ci.yml | 2 +- Makefile.am | 2 +- doc/HACKING/WritingTests.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
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
This is an automated email from the git hooks/post-receive script.
dgoulet pushed a commit to branch main in repository tor.
commit 94f4d0968b57db8b3346a5b51b9e0c2ed3e8d98f Author: David Goulet dgoulet@torproject.org AuthorDate: Thu Jun 15 13:00:11 2023 -0400
Change git.tpo URLs to gitlab.tpo
Signed-off-by: David Goulet dgoulet@torproject.org --- .gitlab-ci.yml | 2 +- Makefile.am | 4 ++-- doc/HACKING/CircuitPaddingQuickStart.md | 2 +- doc/HACKING/GettingStarted.md | 2 +- doc/HACKING/README.1st.md | 6 +++--- scripts/git/git-push-all.sh | 2 +- scripts/git/git-setup-dirs.sh | 21 ++------------------- src/test/test-network.sh | 3 ++- 8 files changed, 13 insertions(+), 29 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d00642eb82..e1ea5bee4c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -103,7 +103,7 @@ variables: # TODO: This next line should not be debian-only. - 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 [ "$CHUTNEY" = yes ]; then git clone --depth 1 https://gitlab.torproject.org/tpo/core/chutney.git ; export CHUTNEY_PATH="$(pwd)/chutney"; fi - if [ "$TRACING" = yes ]; then apt install liblttng-ust-dev; fi
# Minimal check on debian: just make, make check. diff --git a/Makefile.am b/Makefile.am index e65bd133bc..2181d74de0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -292,7 +292,7 @@ check-local: \ shellcheck
# test-network requires a copy of Chutney in $CHUTNEY_PATH. -# Chutney can be cloned from https://git.torproject.org/chutney.git . +# Chutney can be cloned from https://gitlab.torproject.org/tpo/core/chutney.git . .PHONY: need-chutney-path need-chutney-path: @if test ! -d "$$CHUTNEY_PATH"; then \ @@ -305,7 +305,7 @@ need-chutney-path: echo; \ echo "To run these tests," \ "git clone" \ - "https://git.torproject.org/chutney.git ;" \ + "https://gitlab.torproject.org/tpo/core/chutney.git ;" \ "export CHUTNEY_PATH=`pwd`/chutney"; \ exit 1; \ fi \ diff --git a/doc/HACKING/CircuitPaddingQuickStart.md b/doc/HACKING/CircuitPaddingQuickStart.md index 25bf05048c..fc690084bb 100644 --- a/doc/HACKING/CircuitPaddingQuickStart.md +++ b/doc/HACKING/CircuitPaddingQuickStart.md @@ -19,7 +19,7 @@ The quick and dirty plan is to: ## Clone and compile tor
```console -$ git clone https://git.torproject.org/tor.git +$ git clone https://gitlab.torproject.org/tpo/core/tor.git $ cd tor $ git checkout tor-0.4.1.5 ``` diff --git a/doc/HACKING/GettingStarted.md b/doc/HACKING/GettingStarted.md index 271e2d7517..21b9b17358 100644 --- a/doc/HACKING/GettingStarted.md +++ b/doc/HACKING/GettingStarted.md @@ -38,7 +38,7 @@ Once you've reached this point, here's what you need to know. version, run:
```console - $ git clone https://git.torproject.org/git/tor + $ git clone https://gitlab.torproject.org/tpo/core/tor.git ```
This will give you a checkout of the main branch. If you're diff --git a/doc/HACKING/README.1st.md b/doc/HACKING/README.1st.md index 1c0decf9ce..e49c41f6f7 100644 --- a/doc/HACKING/README.1st.md +++ b/doc/HACKING/README.1st.md @@ -24,15 +24,15 @@ that you don't miss any steps! ## Additional Information
For full information on how Tor is supposed to work, look at the files in -[Tor specification](https://gitweb.torproject.org/torspec.git/tree). +[Tor specification](https://gitlab.torproject.org/tpo/core/torspec).
For an explanation of how to change Tor's design to work differently, look at -[the Tor proposal process](https://gitweb.torproject.org/torspec.git/plain/proposals/001-process.txt). +[the Tor proposal process](https://gitlab.torproject.org/tpo/core/torspec/-/blob/main/proposals/001-pro...).
For the latest version of the code, get a copy of git, and
```console -$ git clone https://git.torproject.org/git/tor +$ git clone https://gitlab.torproject.org/tpo/core/tor.git ```
For a copy of Tor's original design paper, see diff --git a/scripts/git/git-push-all.sh b/scripts/git/git-push-all.sh index e5c16e615f..0eac616000 100755 --- a/scripts/git/git-push-all.sh +++ b/scripts/git/git-push-all.sh @@ -80,7 +80,7 @@ if [ "$TOR_FULL_GIT_PATH" ]; then fi # git push command and default arguments GIT_PUSH=${TOR_GIT_PUSH:-"git push --atomic"} -# The upstream remote which git.torproject.org/tor.git points to. +# The upstream remote which gitlab.torproject.org/tpo/core/tor.git points to. DEFAULT_UPSTREAM_REMOTE=${TOR_UPSTREAM_REMOTE_NAME:-"upstream"} # Push to a different upstream remote using -r <remote-name> UPSTREAM_REMOTE=${DEFAULT_UPSTREAM_REMOTE} diff --git a/scripts/git/git-setup-dirs.sh b/scripts/git/git-setup-dirs.sh index c502f74f58..f8a85c4928 100755 --- a/scripts/git/git-setup-dirs.sh +++ b/scripts/git/git-setup-dirs.sh @@ -40,10 +40,6 @@ function usage() echo " (current: $GITHUB_PULL)" echo " TOR_GITHUB_PUSH: the tor-github remote push URL" echo " (current: $GITHUB_PUSH)" - echo " TOR_GITLAB_PULL: the tor-gitlab remote pull URL" - echo " (current: $GITLAB_PULL)" - echo " TOR_GITLAB_PUSH: the tor-gitlab remote push URL" - echo " (current: $GITLAB_PUSH)" echo " TOR_EXTRA_CLONE_ARGS: extra arguments to git clone" echo " (current: $TOR_EXTRA_CLONE_ARGS)" echo " TOR_EXTRA_REMOTE_NAME: the name of an extra remote" @@ -72,9 +68,9 @@ TOR_MASTER_NAME=${TOR_MASTER_NAME:-"tor"} TOR_WKT_NAME=${TOR_WKT_NAME:-"tor-wkt"}
# Origin repositories -GIT_ORIGIN_PULL=${TOR_GIT_ORIGIN_PULL:-"https://git.torproject.org/tor.git%22%7D +GIT_ORIGIN_PULL=${TOR_GIT_ORIGIN_PULL:-"https://gitlab.torproject.org/tpo/core/tor.git%22%7D GIT_ORIGIN_PUSH=${TOR_GIT_ORIGIN_PUSH:-"git@git-rw.torproject.org:tor.git"} -# The upstream remote which git.torproject.org/tor.git points to. +# The upstream remote which gitlab.torproject.org/tpo/core/tor.git points to. DEFAULT_UPSTREAM_REMOTE=${TOR_UPSTREAM_REMOTE_NAME:-"upstream"} # Copy the URLs from origin GIT_UPSTREAM_PULL="$GIT_ORIGIN_PULL" @@ -87,10 +83,6 @@ fi GITHUB_PULL=${TOR_GITHUB_PULL:-"https://github.com/torproject/tor.git%22%7D GITHUB_PUSH=${TOR_GITHUB_PUSH:-"No_Pushing_To_GitHub"}
-# GitLab repositories -GITLAB_PULL=${TOR_GITLAB_PULL:-"https://gitlab.torproject.org/tpo/core/tor.git%22%7D -GITLAB_PUSH=${TOR_GITLAB_PUSH:-"No_Pushing_To_GitLab"} - ########################## # Git branches to manage # ########################## @@ -493,15 +485,6 @@ set_tor_github_pr_fetch_config # Now fetch them all fetch_remote "tor-github"
-# GitLab remote -printf "%s Setting up remote %s\n" "$MARKER" "${BYEL}tor-gitlab${CNRM}" -add_remote "tor-gitlab" "$GITLAB_PULL" -set_remote_push "tor-gitlab" "$GITLAB_PUSH" -# Add custom fetch for MRs -set_tor_gitlab_mr_fetch_config -# Now fetch them all -fetch_remote "tor-gitlab" - # Extra remote if [ "$TOR_EXTRA_REMOTE_NAME" ]; then printf "%s Setting up remote %s\n" "$MARKER" \ diff --git a/src/test/test-network.sh b/src/test/test-network.sh index 5ef995f1a4..72ed73c6ff 100755 --- a/src/test/test-network.sh +++ b/src/test/test-network.sh @@ -65,7 +65,8 @@ if [ ! -d "$CHUTNEY_PATH" ] || [ ! -x "$CHUTNEY_PATH/chutney" ]; then CHUTNEY_PATH="$TOR_DIR/../chutney" else $ECHO "$myname: missing 'chutney' in $CHUTNEY_PATH ($CHUTNEY_PATH)" - $ECHO "$myname: Get chutney: git clone https://git.torproject.org/%5C + $ECHO "$myname: Get chutney: git clone + https://gitlab.torproject.org/tpo/core%5C chutney.git" $ECHO "$myname: Set $CHUTNEY_PATH to a non-standard location: export \ CHUTNEY_PATH=`pwd`/chutney"
This is an automated email from the git hooks/post-receive script.
dgoulet pushed a commit to branch main in repository tor.
commit 3cb6a690be60fcdab60130402ff88dcfc0657596 Merge: 7a83aa4f50 94f4d0968b Author: David Goulet dgoulet@torproject.org AuthorDate: Mon Jun 19 08:09:45 2023 -0400
Merge branch 'maint-0.4.7'
.gitlab-ci.yml | 2 +- Makefile.am | 2 +- doc/HACKING/WritingTests.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --cc .gitlab-ci.yml index bec3043072,e1ea5bee4c..2ff664d861 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@@ -100,10 -100,8 +100,10 @@@ variables - if [ "$STEM" = yes ]; then apt-get install timelimit; fi - if [ "$CC" = clang ]; then apt-get install clang; fi - if [ "$NSS" = yes ]; then apt-get install libnss3 libnss3-dev; fi + # llvm-symbolizer for sanitizer backtrace + - if [ "$HARDENING" = yes ]; then apt-get install llvm; 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://gitlab.torproject.org/tpo/core/chutney.git ; export CHUTNEY_PATH="$(pwd)/chutney"; fi - if [ "$TRACING" = yes ]; then apt install liblttng-ust-dev; fi
tor-commits@lists.torproject.org