pull-request.sh

changeset 5
9d63b4f82112
parent 4
7c02e457e6ab
child 7
7dbc04a61376
equal deleted inserted replaced
4:7c02e457e6ab 5:9d63b4f82112
114 -u "${username}:${password}" \ 114 -u "${username}:${password}" \
115 -d "$json" \ 115 -d "$json" \
116 -o "$response" \ 116 -o "$response" \
117 "https://api.bitbucket.org/2.0/repositories/${upstream}/pullrequests" \ 117 "https://api.bitbucket.org/2.0/repositories/${upstream}/pullrequests" \
118 >/dev/stdout 2>&1 118 >/dev/stdout 2>&1
119
120 echo "response JSON: $response"
121
122 # if [ -n "$bturl" -a -n "$btuser" -a -n "$btpass" -a -n "$ticket" ]
123 # then
124 # titlefile=$(tempfile)
125 # echo -n $title >$titlefile
126 # python $selfpath/pullreq_to_mantisbt.py "$bturl" "$btuser" "$btpass" "$ticket" "$response" "$titlefile"
127 # rm $titlefile
128 # fi

mercurial