This commit is contained in:
Trevor Batley 2023-06-04 18:04:38 +10:00
parent 80f76cf8ac
commit 80d42edbc1

View File

@ -172,8 +172,8 @@ RESPONSE=$(curl $SILENT -k -X 'POST' \
-H 'accept: application/json' \
-H "Authorization: token $SOURCEACCESSTOKEN" \
-H 'Content-Type: application/json' \
-d {
"auth_token": "$SOURCEACCESSTOKEN",
-d '{
"auth_token": "'"$SOURCEACCESSTOKEN"'",
"description": "'"SMEServer Koozali developed git repo for $TARGETPKG $BASEORCONTRIB"'",
"clone_addr": "'"$SOURCEHOST/$TARGETORG/$TARGETPKG.git"'",
"repo_name": "'"$TARGETPKG"'",
@ -181,8 +181,9 @@ RESPONSE=$(curl $SILENT -k -X 'POST' \
"external_tracker": {
"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
#if [ $DEBUG ] ; then echo "Updating Description, Bug and Wiki links" ; fi
#RESPONSE=$(curl "$SILENT" "$checkSSL" -X 'PATCH' \