Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
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.
|
|
Signed-off-by: David Goulet <dgoulet@torproject.org>
|
|
|
|
|
|
This will be used for 32121
|
|
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.
|
|
|
|
We no longer will be pushing or committing things in branches that
use src/common or src/or.
Resolves ticket 32957.
|
|
Hopefully, these explanations make it easier to get the next branch
transition right.
Part of 32772.
|
|
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.
|
|
|
|
|
|
Extra testing after 32613.
|
|
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.
|
|
|
|
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.
|
|
|
|
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.
|
|
Merge changes from master with shellcheck fixes.
|
|
Fixes bug 32402; bugfix on 0.4.2.1-alpha.
Obviously correct changes to already reviewed code.
|
|
When running git-setup-dirs.sh.
Part of 32347.
|
|
When running git-setup-dirs.sh.
Part of 32347.
|
|
When running git-setup-dirs.sh.
Part of 32347.
|
|
Bugfix on 31919; not in any released version of Tor.
|
|
|
|
|
|
Bugfix on 31919; not in any released version of tor.
|
|
Some versions of shellcheck do not detect this error.
Bugfix on 31919; not in any released version of tor.
|
|
Part of 31919.
|
|
Part of 31919.
|
|
But only check modified files, which dramatically speeds up
check_cocci_parse.sh.
Part of 31919.
|
|
Change the loop order, so that we only sleep between pushes,
and avoid sleeping after all the pushes are done.
(In rare cases, there may still be an extra sleep.)
Part of 32216.
|
|
The script now skips master, maint-* and release-* branches that match
upstream, not just test branches.
And fix "no branches" bugs that this change makes happen more often.
Part of 32216.
|
|
This makes the behaviour of git-push-all.sh -n identical to the other
git scripts.
Part of 32216.
|
|
Obviously correct changes to already reviewed code.
|
|
git-setup-dirs.sh sets up an upstream git repository and worktrees,
so that tor maintainers can do merges.
Closes ticket 29603.
|
|
|
|
Fixes an issue where test branch _041 was merged into _042 and _master.
This issue only affects test branch mode (-t).
|
|
|
|
All of the git scripts now have usage messages on:
* a new -h option, and
* usage errors.
Closes 31677.
|
|
Preparation for 31677.
|
|
Part of 31677.
|
|
Closes 31678.
|
|
* Move the shellcheck script from the Makefile to its own script file
* Reformat the shellcheck script so it's easier to read and modify
* Call the shellcheck script from the pre-commit hook
Fixes bug 30967; not in any released version of Tor.
|
|
Part of 31314.
|
|
Part of 31314.
|
|
Most shell arguments should be quoted to avoid mistakes.
But since all branch names are hard-coded, or supplied by the script user,
we don't need to be too concerned about command injection.
Quoting all shell arguments would take a major refactor.
(Probably using arrays.)
Part of 31314.
|
|
Part of 31314.
|