This is an automated email from the ASF dual-hosted git repository. bmahler pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 193dd64580e5e9337ed20218d6a1db4fe5dbac31 Author: Jason Zhou <[email protected]> AuthorDate: Fri Jun 7 14:34:05 2024 -0400 [mesos-build] Add /SRC/.git as safe directory for tidybot. This change allows us to bypass the git directory warnings for tidybot. As part of this change we will have to rebuild the tidybot image and push it to dockerhub. Review: https://reviews.apache.org/r/75037/ --- support/mesos-tidy/entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/support/mesos-tidy/entrypoint.sh b/support/mesos-tidy/entrypoint.sh index 70e6c3133..86271dfa2 100755 --- a/support/mesos-tidy/entrypoint.sh +++ b/support/mesos-tidy/entrypoint.sh @@ -21,6 +21,11 @@ set -o pipefail SRCDIR=/tmp/SRC +# NOTE: Higher ubuntu versions seem to give the following warning: +# "detected dubious ownership in repository at '/SRC/.git'" +# we will add an exception for this directory. +git config --global --add safe.directory /SRC/.git + # Prepare sources git clone --depth 1 file:///SRC "${SRCDIR}"
