Age | Commit message (Collapse) | Author |
|
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.
|
|
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)
|
|
|
|
This differs from my old git-resquash.sh in that it uses the newer
`git rebase --keep-base` if available
|
|
The osx version of this tool doesn't have --backup
|
|
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.
|
|
Signed-off-by: David Goulet <dgoulet@torproject.org>
|
|
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>
|
|
|
|
|
|
|
|
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).
|