From bd69f0f4daaec703ae89378891abd0cabaed2642 Mon Sep 17 00:00:00 2001 From: Till Maas Date: May 26 2016 18:25:41 +0000 Subject: [PATCH 1/2] Update bugzilla owners URL everywhere Signed-off-by: Till Maas --- diff --git a/src/fedoradev-pkgowners b/src/fedoradev-pkgowners index 00c7535..7394745 100755 --- a/src/fedoradev-pkgowners +++ b/src/fedoradev-pkgowners @@ -23,6 +23,9 @@ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # +## constants +BUGZILLA_OWNERS_URL="https://admin.fedoraproject.org/pkgdb/api/bugzilla" + ## globally used file_fadcsvdata= file_pkgdbfiledata= @@ -85,12 +88,12 @@ this_init() # download owners tmpfile_owners=$(mktemp -t ${myprog_name}.XXXXXXXXX) - wget --quiet --output-document="${tmpfile_owners}" "https://admin.fedoraproject.org/pkgdb/api/bugzilla" + wget --quiet --output-document="${tmpfile_owners}" "${BUGZILLA_OWNERS_URL}" # did download of owners succeed? local returncode=$? if (( ${returncode} > 0 )) || [[ ! -s "${tmpfile_owners}" ]] ; then - echo "Could not download informations about owners from"$'\n'"https://admin.fedoraproject.org/pkgdb/lists/bugzilla?tg_format=plain ; aborting!" >&2 + echo "Could not download informations about owners from"$'\n'"${BUGZILLA_OWNERS_URL} ; aborting!" >&2 this_finish exit 2 fi @@ -168,7 +171,7 @@ myprog_help() echo " --fasfile -- get email or real name from fas-file ; download uri:" echo " https://admin.fedora.redhat.com/accounts/dump-group.cgi?group=cvsextras&format=csv" echo " --pkgdbfile -- get pkgowners from local file instead of downloading it from:" - echo " https://admin.fedoraproject.org/pkgdb/lists/bugzilla?tg_format=plain" + echo " ${BUGZILLA_OWNERS_URL}" echo " --realname -- print realname (needs --fasfile )" echo echo " --help -- this text" From c18ea676bfa8e01890a32858b5f6d855ba6e1a82 Mon Sep 17 00:00:00 2001 From: Till Maas Date: May 26 2016 18:25:47 +0000 Subject: [PATCH 2/2] Make scripts executable in GIT Signed-off-by: Till Maas --- diff --git a/src/fedora-getsvn b/src/fedora-getsvn old mode 100644 new mode 100755 diff --git a/src/rpmbuild-md5 b/src/rpmbuild-md5 old mode 100644 new mode 100755 diff --git a/src/secondary-koji b/src/secondary-koji old mode 100644 new mode 100755