mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +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
|
||||
|
||||
declare -a REVIEWERS
|
||||
|
||||
REVIEWERS=(ion.alberdi@intel.com\
|
||||
vincentx.besanceney@intel.com\
|
||||
vincentx.dardel@intel.com\
|
||||
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 .
|
||||
REVIEWERS=$(txw gerrit-getGroupMembers reviewers-buildbot 2> /dev/null | tr " " ",")
|
||||
echo "Reviewers: $REVIEWERS"
|
||||
echo "Cmd: repo upload --cbr --re=$REVIEWERS ."
|
||||
yes | repo upload --cbr --re=$REVIEWERS .
|
||||
}
|
||||
|
||||
function bb_merge_bottom_branch_to_here()
|
||||
|
|
@ -126,6 +115,7 @@ function bb_push_with_care()
|
|||
fi
|
||||
echo "Pushing branch '$branch' on project '$project'"
|
||||
echo "Press Enter to continue"
|
||||
echo "Command: git push ssh://android.intel.com/a/buildbot/$project HEAD:refs/heads/platform/buildbot/$branch"
|
||||
read
|
||||
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"
|
||||
repo sync .
|
||||
|
||||
echo "Display merged:"
|
||||
echo "Display merged tree:"
|
||||
git log --pretty=oneline --graph -3 | cat
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue