https://bugzilla.wikimedia.org/show_bug.cgi?id=63995

--- Comment #1 from Tim Landscheidt <[email protected]> ---
Until then a short script to determine whether a branch is rebaseable according
to Gerrit:

| COMMITID="$(git log -1 --format=format:%B "$1" | sed -ne 's/^Change-Id:
//p;')"
| MERGEABLE="$(curl -s "https://gerrit.wikimedia.org/r/changes/$COMMITID"; | sed
-e 1d | jq '.mergeable')"

| if [ "true" = "$MERGEABLE" ]; then
|     exit 0
| fi

| if [ "false" = "$MERGEABLE" ]; then
|     exit 1
| fi

| echo "Unknown result: $MERGEABLE"
| exit 2

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to