aboutsummaryrefslogtreecommitdiff
path: root/scripts/git
AgeCommit message (Collapse)Author
2023-08-23scripts: Add 048 maint branch to our helper scriptsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-06-19scripts: Update git scripts with new gitlab canonical repositoryDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-06-15Change git.tpo URLs to gitlab.tpoDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-02-16scripts: Bye bye 0.4.5, you have reached end of lifeDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-08-11scripts: Remove 0.4.6.x as it is EOLDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-04-27ci: Add 0.4.7 series to scripts and CIDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-02-04Remove unmaintained versions from CI and scriptsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26scripts: Add -M option to git-list-tor-branches.shDavid Goulet
Omit all "maint" branch. It is the opposite of -R that omits release branches. In other words, -M can be used to list all release branches. Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-06-16git: Don't pull github anymore in git-pull-all.shDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-06-14Remove 0.4.4 from list-tor-branches.Nick Mathewson
2021-05-28Merge branch 'maint-0.4.6'Nick Mathewson
2021-05-28Merge branch 'maint-0.4.5' into maint-0.4.6Nick Mathewson
2021-05-28Stop using the "x$FOO" idiom in git-resquash.shNick Mathewson
The new version of shellcheck says that that this idiom is unnecessary, and its presence here is making the shellcheck tests fail. No changes file needed, since this is not user-facing code.
2021-05-25Update scripts to use main instead of master.Alexander Færøy
When talking about the "master" Tor checkout, we now refer to it as "the primary Tor repository". The "master" branch is instead called "main". See: tpo/core/team#2.
2021-04-15Add 0.4.6 to git-list-tor-branches.shNick Mathewson
2021-03-01git-list-tor-branches: remove 0.4.3Nick Mathewson
2020-11-17Add {release,maint}-0.4.5 to git-list-tor-branches.shNick Mathewson
2020-11-12Fix typos.Samanta Navarro
Typos found with codespell. Please keep in mind that this should have impact on actual code and must be carefully evaluated: src/core/or/lttng_circuit.inc - ctf_enum_value("CONTROLER", CIRCUIT_PURPOSE_CONTROLLER) + ctf_enum_value("CONTROLLER", CIRCUIT_PURPOSE_CONTROLLER)
2020-09-15Remove 0.4.2 from list of branches in git script: it has reached EOL.Nick Mathewson
2020-07-17Add git-resquash.sh to repositoryNick Mathewson
This differs from my old git-resquash.sh in that it uses the newer `git rebase --keep-base` if available
2020-07-09git-install-tools: use -b, not --backup.Nick Mathewson
The osx version of this tool doesn't have --backup
2020-07-09Update git scripts to include tor-gitlab repositoryNick Mathewson
Analogously to tor-github, we now make a tor-gitlab repository. It is set up to disable push direct attempts, and to fetch merge requests into appropriate branches. git-pull-all.sh knows how to fetch this repository.
2020-07-02scripts: Don't run practracker in git hooksDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-02scripts: Add env variable to disable pre-commit hookDavid Goulet
We introduce TOR_EXTRA_PRE_COMMIT_CHECKS environment variable to run the pre-commit hook. The pre-push git hook will set it in order to run all pre-commit checks. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-06-09Add 0.4.4 to list of tor branches used by git scripts.Nick Mathewson
2020-06-03Remove 0.4.1 from list of tor branches used by git scripts.Nick Mathewson
2020-03-13Merge branch 'pr1764_squashed'teor
2020-03-13Add a script to install the scripts in scripts/git appropriately.Nick Mathewson
To run this, say something like TOR_DEVTOOL_DIR=~/bin scripts/git/git-install-tools.sh all To see what it would do, give it the -n flag. To get help, give it the -h flag.
2020-03-09Revert "scripts: Remove typo in git-list-tor-branches.sh"Nick Mathewson
This reverts commit a63b4148229ae8ce46494fd6a0f99149c231605c. The "typo" wasn't actually a typo. The "r" in the suffixes for the release branches is meant to make them distinct from the maint branches. Now, _right now_, nothing uses release branch suffixes, but it's important to keep them distinct if we decide to use them in the future.
2020-03-05scripts: Remove typo in git-list-tor-branches.shDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-03-05Merge branch 'tor-github/pr/1720'David Goulet
2020-03-05Update git scripts to use git-list-tor-branches.shNick Mathewson
2020-03-05Add a script to list the maintained Tor branches in different waysNick Mathewson
This will be used for 32121
2020-02-12scripts/git: Stop running the checked-out git scriptsteor
Stop executing the checked-out pre-commit hook from the pre-push hook. Instead, execute the copy in the user's git dir. Fixes bug 33284; bugfix on 0.4.1.1-alpha.
2020-02-11Update scripts/git/*.sh to know about 043 and not about 040.Nick Mathewson
2020-01-23Git hooks: remove support for 0.2.9 directory layout.Nick Mathewson
We no longer will be pushing or committing things in branches that use src/common or src/or. Resolves ticket 32957.
2020-01-15scripts/git: Improve branch list commentsteor
Hopefully, these explanations make it easier to get the next branch transition right. Part of 32772.
2020-01-15scripts/git: Fix git-merge-forward after removing 0.2.9teor
We need a test branch for the earliest maint branch (maint-0.3.5), but we can't merge forward into it, because there is no previous active maint branch. Also, edit a git-push-all comment that still said "029". Bugfix on 32772; bug not in any released version of tor.
2019-12-30Remove 0.2.9 from git scriptsrl1987
2019-12-20Makefile/git scripts: Add comments to keep owned file lists in syncteor
2019-12-04git scripts: Add the checkSpace.pl unit teststeor
Extra testing after 32613.
2019-12-04Makefile/git scripts: Add the practracker unit teststeor
Add a check-practracker-unit-test target, and run it as part of "make check". Add the practracker unit tests to scripts/git/pre-commit.git-hook. Part of 32609.
2019-11-14Merge branch 'tor-github/pr/1489'David Goulet
2019-11-07scripts/git: Stop failing when upstream branches don't existteor
If you add a custom remote, or a new branch, and don't fetch first, then the script would fail when checking for unchanged branches. Instead, skip the check: a new branch is definitely a change.
2019-11-07scripts/git: Remove extra printfs from a bad mergeteor
2019-11-06shellcheck: Fix minor issues in some scriptsteor
Fix minor issues in git-push-all.sh, git-setup-dirs.sh and test_parseconf.sh. Fixes bug 32402; not in any released version of tor. Obviously correct changes to already reviewed code.
2019-11-06Merge branch 'bug32402_042' into bug32402_masterteor
Merge changes from master with shellcheck fixes.
2019-11-06shellcheck: Fix issues in the git-*.sh scriptsteor
Fixes bug 32402; bugfix on 0.4.2.1-alpha. Obviously correct changes to already reviewed code.
2019-10-31scripts/git: Add TOR_EXTRA_REMOTE_* for an extra git remoteteor
When running git-setup-dirs.sh. Part of 32347.
2019-10-31scripts/git: Add TOR_EXTRA_CLONE_ARGS for git cloneteor
When running git-setup-dirs.sh. Part of 32347.