mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-27 03:05:39 +01:00
use txw gerrit-getGroupMembers in bb_repo_upload
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
2bead59378
commit
fd29a52c73
1 changed files with 6 additions and 16 deletions
|
|
@ -71,21 +71,10 @@ function bb_repo_upload()
|
||||||
local A
|
local A
|
||||||
|
|
||||||
declare -a REVIEWERS
|
declare -a REVIEWERS
|
||||||
|
REVIEWERS=$(txw gerrit-getGroupMembers reviewers-buildbot 2> /dev/null | tr " " ",")
|
||||||
REVIEWERS=(ion.alberdi@intel.com\
|
echo "Reviewers: $REVIEWERS"
|
||||||
vincentx.besanceney@intel.com\
|
echo "Cmd: repo upload --cbr --re=$REVIEWERS ."
|
||||||
vincentx.dardel@intel.com\
|
yes | repo upload --cbr --re=$REVIEWERS .
|
||||||
christophex.letessier@intel.com\
|
|
||||||
olivier.monnier@intel.com\
|
|
||||||
remy.protat@intel.com\
|
|
||||||
gaetan.semet@intel.com\
|
|
||||||
pierre.tardy@intel.com\
|
|
||||||
john.l.villalovos@intel.com)
|
|
||||||
RE_LIST=$(printf -- '%s,' ${REVIEWERS[@]})
|
|
||||||
RE_LIST=${RE_LIST%,}
|
|
||||||
echo "Reviewers: $RE_LIST"
|
|
||||||
echo "Cmd: repo upload --cbr --re=$RE_LIST ."
|
|
||||||
yes | repo upload --cbr --re=$RE_LIST .
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function bb_merge_bottom_branch_to_here()
|
function bb_merge_bottom_branch_to_here()
|
||||||
|
|
@ -126,6 +115,7 @@ function bb_push_with_care()
|
||||||
fi
|
fi
|
||||||
echo "Pushing branch '$branch' on project '$project'"
|
echo "Pushing branch '$branch' on project '$project'"
|
||||||
echo "Press Enter to continue"
|
echo "Press Enter to continue"
|
||||||
|
echo "Command: git push ssh://android.intel.com/a/buildbot/$project HEAD:refs/heads/platform/buildbot/$branch"
|
||||||
read
|
read
|
||||||
git push ssh://android.intel.com/a/buildbot/$project HEAD:refs/heads/platform/buildbot/$branch
|
git push ssh://android.intel.com/a/buildbot/$project HEAD:refs/heads/platform/buildbot/$branch
|
||||||
|
|
||||||
|
|
@ -134,7 +124,7 @@ function bb_push_with_care()
|
||||||
sleep "30"
|
sleep "30"
|
||||||
repo sync .
|
repo sync .
|
||||||
|
|
||||||
echo "Display merged:"
|
echo "Display merged tree:"
|
||||||
git log --pretty=oneline --graph -3 | cat
|
git log --pretty=oneline --graph -3 | cat
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue