FIIK
This commit is contained in:
parent
80f76cf8ac
commit
80d42edbc1
@ -172,8 +172,8 @@ RESPONSE=$(curl $SILENT -k -X 'POST' \
|
|||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "Authorization: token $SOURCEACCESSTOKEN" \
|
-H "Authorization: token $SOURCEACCESSTOKEN" \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d {
|
-d '{
|
||||||
"auth_token": "$SOURCEACCESSTOKEN",
|
"auth_token": "'"$SOURCEACCESSTOKEN"'",
|
||||||
"description": "'"SMEServer Koozali developed git repo for $TARGETPKG $BASEORCONTRIB"'",
|
"description": "'"SMEServer Koozali developed git repo for $TARGETPKG $BASEORCONTRIB"'",
|
||||||
"clone_addr": "'"$SOURCEHOST/$TARGETORG/$TARGETPKG.git"'",
|
"clone_addr": "'"$SOURCEHOST/$TARGETORG/$TARGETPKG.git"'",
|
||||||
"repo_name": "'"$TARGETPKG"'",
|
"repo_name": "'"$TARGETPKG"'",
|
||||||
@ -181,8 +181,9 @@ RESPONSE=$(curl $SILENT -k -X 'POST' \
|
|||||||
"external_tracker": {
|
"external_tracker": {
|
||||||
"external_tracker_url": "'"https://bugs.koozali.org/buglist.cgi?component=$TARGETPKG&product=$PRODUCTBUGZILLA"'"
|
"external_tracker_url": "'"https://bugs.koozali.org/buglist.cgi?component=$TARGETPKG&product=$PRODUCTBUGZILLA"'"
|
||||||
}
|
}
|
||||||
)'
|
}'
|
||||||
)
|
)
|
||||||
|
|
||||||
# Update the repo with the changed description, bugzilla url and wiki url
|
# Update the repo with the changed description, bugzilla url and wiki url
|
||||||
#if [ $DEBUG ] ; then echo "Updating Description, Bug and Wiki links" ; fi
|
#if [ $DEBUG ] ; then echo "Updating Description, Bug and Wiki links" ; fi
|
||||||
#RESPONSE=$(curl "$SILENT" "$checkSSL" -X 'PATCH' \
|
#RESPONSE=$(curl "$SILENT" "$checkSSL" -X 'PATCH' \
|
||||||
|
Loading…
Reference in New Issue
Block a user