summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/retrace/abrt-retrace-reposync51
-rwxr-xr-xsrc/retrace/install.sh80
-rw-r--r--src/retrace/retrace-local.repo144
-rw-r--r--src/retrace/retrace.repo144
-rwxr-xr-xsrc/retrace/worker.py14
5 files changed, 215 insertions, 218 deletions
diff --git a/src/retrace/abrt-retrace-reposync b/src/retrace/abrt-retrace-reposync
index 0e75a7e1..64291100 100755
--- a/src/retrace/abrt-retrace-reposync
+++ b/src/retrace/abrt-retrace-reposync
@@ -2,13 +2,13 @@
if [ $3 ] && [ ! $4 ] \
&& [ $1 = "fedora" ] \
- && ( [ $3 = "i686" ] || [ $3 = "x86_64" ] )
+ && ( [ $3 = "i386" ] || [ $3 = "i686" ] || [ $3 = "x86_64" ] )
then
LOG="/var/log/abrt-retrace/$1-$2-$3.log"
LOCK="/var/lock/subsys/abrt-retrace-$1-$2-$3"
REPODIR="/var/cache/abrt-retrace/"
- REPODIR_CUSTOM=`cat "/etc/abrt/retrace.conf" | grep "RepoDir" | sed "s/^ *RepoDir *= *//"`
+ REPODIR_CUSTOM=`cat "/etc/abrt/retrace.conf" | grep "^ *RepoDir *= *" | sed "s/^ *RepoDir *= *//"`
if [ -d $REPODIR_CUSTOM ] || mkdir -p $REPODIR_CUSTOM > /dev/null 2>&1
then
REPODIR="$REPODIR_CUSTOM"
@@ -30,20 +30,49 @@ then
cd "$REPODIR"
+ if [ $3 = "i686" ]
+ then
+ REPOARCH="i386"
+ else
+ REPOARCH=$3
+ fi
+
+ # F15 pushes updates directly to fedora repo
+ if [ $1 = "fedora" ] && [ $2 = "15" ]
+ then
+ reposync -a $3 \
+ --repoid="$1-$2-$REPOARCH" \
+ --repoid="$1-$2-$REPOARCH-debuginfo" \
+ | grep "Downloading" \
+ | sed -e "s/^\[\([^:]*\).*\] Downloading /\1 /" \
+ | sed -e "s/Packages\///" \
+ >> "$LOG"
+
+ createrepo "$1-$2-$REPOARCH" > /dev/null
+ createrepo "$1-$2-$REPOARCH-debuginfo" > /dev/null
+ else
+ reposync -a $3 \
+ --repoid="$1-$2-$REPOARCH-updates" \
+ --repoid="$1-$2-$REPOARCH-updates-debuginfo" \
+ | grep "Downloading" \
+ | sed -e "s/^\[\([^:]*\).*\] Downloading /\1 /" \
+ | sed -e "s/Packages\///" \
+ >> "$LOG"
+
+ createrepo "$1-$2-$REPOARCH-updates" > /dev/null
+ createrepo "$1-$2-$REPOARCH-updates-debuginfo" > /dev/null
+ fi
+
reposync -a $3 \
- --repoid="$1-$2-$3-updates" \
- --repoid="$1-$2-$3-updates-debuginfo" \
- --repoid="$1-$2-$3-updates-testing" \
- --repoid="$1-$2-$3-updates-testing-debuginfo" \
+ --repoid="$1-$2-$REPOARCH-updates-testing" \
+ --repoid="$1-$2-$REPOARCH-updates-testing-debuginfo" \
| grep "Downloading" \
| sed -e "s/^\[\([^:]*\).*\] Downloading /\1 /" \
| sed -e "s/Packages\///" \
>> "$LOG"
- createrepo "$1-$2-$3-updates" > /dev/null
- createrepo "$1-$2-$3-updates-debuginfo" > /dev/null
- createrepo "$1-$2-$3-updates-testing" > /dev/null
- createrepo "$1-$2-$3-updates-testing-debuginfo" > /dev/null
+ createrepo "$1-$2-$REPOARCH-updates-testing" > /dev/null
+ createrepo "$1-$2-$REPOARCH-updates-testing-debuginfo" > /dev/null
rm -f "$LOCK"
else
@@ -52,7 +81,7 @@ else
echo "where"
echo "distributuon = [fedora]"
echo "version = release version"
- echo "architecture = [i686|x86_64]"
+ echo "architecture = [i386|i686|x86_64]"
exit 1
fi
diff --git a/src/retrace/install.sh b/src/retrace/install.sh
index ca88a1ec..d73a0b58 100755
--- a/src/retrace/install.sh
+++ b/src/retrace/install.sh
@@ -7,11 +7,11 @@ SCRIPTDIR="/usr/share/abrt-retrace"
SRCDIR="."
WORKDIR="/var/spool/abrt-retrace"
-INTFILES="$SRCDIR/interface/create.wsgi $SRCDIR/interface/status.wsgi \
- $SRCDIR/interface/log.wsgi $SRCDIR/interface/backtrace.wsgi"
-LIBFILES="$SRCDIR/lib/retrace.py"
-REPOSYNCFILES="$SRCDIR/reposync/abrt-retrace-reposync"
-WORKERFILES="$SRCDIR/worker/worker.py $SRCDIR/worker/coredump2packages.py"
+FILES="$SRCDIR/create.wsgi $SRCDIR/status.wsgi \
+ $SRCDIR/log.wsgi $SRCDIR/backtrace.wsgi \
+ $SRCDIR/retrace.py $SRCDIR/abrt-retrace-reposync \
+ $SRCDIR/worker.py $SRCDIR/coredump2packages.py \
+ $SRCDIR/abrt-retrace-cleanup.py"
if [ ! $EUID = "0" ]
then
@@ -43,9 +43,9 @@ then
exit 5
fi
-if ! rpm -q yum-utils > /dev/null 2>&1
+if ! rpm -q elfutils > /dev/null 2>&1
then
- echo "yum-utils package is required to install Retrace Server"
+ echo "elfutils package is required to install Retrace Server"
exit 6
fi
@@ -143,7 +143,7 @@ then
fi
fi
-if ! gcc -pedantic -Wall -Wextra -Werror -o "/usr/sbin/abrt-retrace-worker" "$SRCDIR/worker/worker.c" \
+if ! gcc -pedantic -Wall -Wextra -Werror -o "/usr/sbin/abrt-retrace-worker" "$SRCDIR/worker.c" \
|| ! chmod u+s "/usr/sbin/abrt-retrace-worker"
then
echo "Error compiling abrt-retrace-worker"
@@ -152,7 +152,7 @@ fi
echo "abrt-retrace-worker compiled"
-for FILE in $LIBFILES
+for FILE in $FILES
do
if cp "$FILE" "$SCRIPTDIR"
then
@@ -163,51 +163,19 @@ do
fi
done
-for FILE in $INTFILES
-do
- if cp "$FILE" "$SCRIPTDIR"
- then
- echo "Installed '$FILE'"
- else
- echo "Error installing '$FILE'"
- exit 20
- fi
-done
-
-for FILE in $WORKERFILES
-do
- if cp "$FILE" "$SCRIPTDIR"
- then
- echo "Installed '$FILE'"
- else
- echo "Error installing '$FILE'"
- exit 21
- fi
-done
-
-for FILE in $REPOSYNCFILES
-do
- if cp "$FILE" "$SCRIPTDIR"
- then
- echo "Installed '$FILE'"
- else
- echo "Error installing '$FILE'"
- exit 22
- fi
-done
-
-if cp "$SRCDIR/config/retrace.conf" "/etc/abrt/retrace.conf"
+if cp "$SRCDIR/retrace.conf" "/etc/abrt/retrace.conf"
then
- echo "Copied '$SRCDIR/config/retrace.conf' to '/etc/abrt/retrace.conf'"
+ echo "Copied '$SRCDIR/retrace.conf' to '/etc/abrt/retrace.conf'"
else
- echo "Error copying '$SRCDIR/config/retrace.conf'"
+ echo "Error copying '$SRCDIR/retrace.conf'"
exit 23
fi
-if cp "$SRCDIR/config/retrace.repo" "/etc/yum.repos.d/retrace.repo" \
- && cp "$SRCDIR/config/retrace-local.repo" "/etc/yum.repos.d/retrace-local.repo"
+if cp "$SRCDIR/retrace.repo" "/etc/yum.repos.d/retrace.repo" \
+ && cp "$SRCDIR/retrace-local.repo" "/etc/yum.repos.d/retrace-local.repo"
then
- echo "Copied '$SRCDIR/config/retrace.repo' to '/etc/yum.repos.d/retrace.repo'"
+ echo "Copied '$SRCDIR/retrace.repo' to '/etc/yum.repos.d/retrace.repo'"
+ echo "Copied '$SRCDIR/retrace-local.repo' to '/etc/yum.repos.d/retrace-local.repo'"
echo "Running initial repository download. This will take some time."
"$SCRIPTDIR/abrt-retrace-reposync" fedora 14 i686
createrepo "$REPODIR/fedora-14-i686" > /dev/null
@@ -215,23 +183,23 @@ then
"$SCRIPTDIR/abrt-retrace-reposync" fedora 14 x86_64
createrepo "$REPODIR/fedora-14-x86_64" > /dev/null
createrepo "$REPODIR/fedora-14-x86_64-debuginfo" > /dev/null
-# "$SCRIPTDIR/abrt-retrace-reposync" fedora 15 i686
+ "$SCRIPTDIR/abrt-retrace-reposync" fedora 15 i686
# createrepo "$REPODIR/fedora-15-i686"
# createrepo "$REPODIR/fedora-15-i686-debuginfo"
-# "$SCRIPTDIR/abrt-retrace-reposync" fedora 15 x86_64
+ "$SCRIPTDIR/abrt-retrace-reposync" fedora 15 x86_64
# createrepo "$REPODIR/fedora-15-x86_64"
# createrepo "$REPODIR/fedora-15-x86_64-debuginfo"
else
- echo "Error copying '$SRCDIR/config/retrace.repo'"
+ echo "Error copying '$SRCDIR/retrace.repo' or '$SRCDIR/retrace-local.repo'"
exit 24
fi
-if cp "$SRCDIR/config/retrace_httpd.conf" "/etc/httpd/conf.d/retrace.conf"
+if cp "$SRCDIR/retrace_httpd.conf" "/etc/httpd/conf.d/retrace.conf"
then
- echo "Copied '$SRCDIR/config/retrace_httpd.conf' to '/etc/httpd/conf.d/retrace.conf'"
+ echo "Copied '$SRCDIR/retrace_httpd.conf' to '/etc/httpd/conf.d/retrace.conf'"
service httpd restart
else
- echo "Error copying '$SRCDIR/config/retrace_httpd.conf'"
+ echo "Error copying '$SRCDIR/retrace_httpd.conf'"
exit 25
fi
@@ -240,5 +208,5 @@ echo "Retrace Server setup OK."
echo "You should set up cron to periodically synchronize local repositories. The recommended configuration is:"
echo "0 0,8,16 * * * $SCRIPTDIR/abrt-retrace-reposync fedora 14 i686"
echo "0 2,10,18 * * * $SCRIPTDIR/abrt-retrace-reposync fedora 14 x86_64"
-#echo "0 4,12,20 * * * $SCRIPTDIR/abrt-retrace-reposync fedora 15 i686"
-#echo "0 6,14,22 * * * $SCRIPTDIR/abrt-retrace-reposync fedora 15 x86_64"
+echo "0 4,12,20 * * * $SCRIPTDIR/abrt-retrace-reposync fedora 15 i686"
+echo "0 6,14,22 * * * $SCRIPTDIR/abrt-retrace-reposync fedora 15 x86_64"
diff --git a/src/retrace/retrace-local.repo b/src/retrace/retrace-local.repo
index fb079ca5..39f63c1c 100644
--- a/src/retrace/retrace-local.repo
+++ b/src/retrace/retrace-local.repo
@@ -1,143 +1,143 @@
-[retrace-fedora-13-i686]
-name=Fedora 13 - i686
+[retrace-fedora-14-i386]
+name=Fedora 14 - i386
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-13-i686/
+baseurl=file:///var/cache/abrt-retrace/fedora-14-i386/
enabled=0
-[retrace-fedora-13-i686-debuginfo]
-name=Fedora 13 - i686 - Debug
+[retrace-fedora-14-i386-debuginfo]
+name=Fedora 14 - i386 - Debug
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-13-i686-debuginfo/
+baseurl=file:///var/cache/abrt-retrace/fedora-14-i386-debuginfo/
enabled=0
-[retrace-fedora-13-i686-updates]
-name=Fedora 13 - i686 - Updates
+[retrace-fedora-14-i386-updates]
+name=Fedora 14 - i386 - Updates
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-13-i686-updates/
+baseurl=file:///var/cache/abrt-retrace/fedora-14-i386-updates/
enabled=0
-[retrace-fedora-13-i686-updates-debuginfo]
-name=Fedora 13 - i686 - Updates - Debug
+[retrace-fedora-14-i386-updates-debuginfo]
+name=Fedora 14 - i386 - Updates - Debug
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-13-i686-updates-debuginfo/
+baseurl=file:///var/cache/abrt-retrace/fedora-14-i386-updates-debuginfo/
enabled=0
-[retrace-fedora-13-i686-updates-testing]
-name=Fedora 13 - i686 - Test Updates
+[retrace-fedora-14-i386-updates-testing]
+name=Fedora 14 - i386 - Test Updates
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-13-i686-updates-testing/
+baseurl=file:///var/cache/abrt-retrace/fedora-14-i386-updates-testing/
enabled=0
-[retrace-fedora-13-i686-updates-testing-debuginfo]
-name=Fedora 13 - i686 - Test Updates Debug
+[retrace-fedora-14-i386-updates-testing-debuginfo]
+name=Fedora 14 - i386 - Test Updates Debug
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-13-i686-updates-testing-debuginfo/
+baseurl=file:///var/cache/abrt-retrace/fedora-14-i386-updates-testing-debuginfo/
enabled=0
-[retrace-fedora-13-x86_64]
-name=Fedora 13 - x86_64
+[retrace-fedora-14-x86_64]
+name=Fedora 14 - x86_64
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-13-x86_64/
+baseurl=file:///var/cache/abrt-retrace/fedora-14-x86_64/
enabled=0
-[retrace-fedora-13-x86_64-debuginfo]
-name=Fedora 13 - x86_64 - Debug
+[retrace-fedora-14-x86_64-debuginfo]
+name=Fedora 14 - x86_64 - Debug
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-13-x86_64-debuginfo/
+baseurl=file:///var/cache/abrt-retrace/fedora-14-x86_64-debuginfo/
enabled=0
-[retrace-fedora-13-x86_64-updates]
-name=Fedora 13 - x86_64 - Updates
+[retrace-fedora-14-x86_64-updates]
+name=Fedora 14 - x86_64 - Updates
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-13-x86_64-updates/
+baseurl=file:///var/cache/abrt-retrace/fedora-14-x86_64-updates/
enabled=0
-[retrace-fedora-13-x86_64-updates-debuginfo]
-name=Fedora 13 - x86_64 - Updates - Debug
+[retrace-fedora-14-x86_64-updates-debuginfo]
+name=Fedora 14 - x86_64 - Updates - Debug
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-13-x86_64-updates-debuginfo/
+baseurl=file:///var/cache/abrt-retrace/fedora-14-x86_64-updates-debuginfo/
enabled=0
-[retrace-fedora-13-x86_64-updates-testing]
-name=Fedora 13 - x86_64 - Test Updates
+[retrace-fedora-14-x86_64-updates-testing]
+name=Fedora 14 - x86_64 - Test Updates
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-13-x86_64-updates-testing/
+baseurl=file:///var/cache/abrt-retrace/fedora-14-x86_64-updates-testing/
enabled=0
-[retrace-fedora-13-x86_64-updates-testing-debuginfo]
-name=Fedora 13 - x86_64 - Test Updates Debug
+[retrace-fedora-14-x86_64-updates-testing-debuginfo]
+name=Fedora 14 - x86_64 - Test Updates Debug
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-13-x86_64-updates-testing-debuginfo/
+baseurl=file:///var/cache/abrt-retrace/fedora-14-x86_64-updates-testing-debuginfo/
enabled=0
-[retrace-fedora-14-i686]
-name=Fedora 14 - i686
+[retrace-fedora-15-i386]
+name=Fedora 15 - i386
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-14-i686/
+baseurl=file:///var/cache/abrt-retrace/fedora-15-i386/
enabled=0
-[retrace-fedora-14-i686-debuginfo]
-name=Fedora 14 - i686 - Debug
+[retrace-fedora-15-i386-debuginfo]
+name=Fedora 15 - i386 - Debug
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-14-i686-debuginfo/
+baseurl=file:///var/cache/abrt-retrace/fedora-15-i386-debuginfo/
enabled=0
-[retrace-fedora-14-i686-updates]
-name=Fedora 14 - i686 - Updates
+[retrace-fedora-15-i386-updates]
+name=Fedora 15 - i386 - Updates
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-14-i686-updates/
+baseurl=file:///var/cache/abrt-retrace/fedora-15-i386-updates/
enabled=0
-[retrace-fedora-14-i686-updates-debuginfo]
-name=Fedora 14 - i686 - Updates - Debug
+[retrace-fedora-15-i386-updates-debuginfo]
+name=Fedora 15 - i386 - Updates - Debug
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-14-i686-updates-debuginfo/
+baseurl=file:///var/cache/abrt-retrace/fedora-15-i386-updates-debuginfo/
enabled=0
-[retrace-fedora-14-i686-updates-testing]
-name=Fedora 14 - i686 - Test Updates
+[retrace-fedora-15-i386-updates-testing]
+name=Fedora 15 - i386 - Test Updates
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-14-i686-updates-testing/
+baseurl=file:///var/cache/abrt-retrace/fedora-15-i386-updates-testing/
enabled=0
-[retrace-fedora-14-i686-updates-testing-debuginfo]
-name=Fedora 14 - i686 - Test Updates Debug
+[retrace-fedora-15-i386-updates-testing-debuginfo]
+name=Fedora 15 - i386 - Test Updates Debug
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-14-i686-updates-testing-debuginfo/
+baseurl=file:///var/cache/abrt-retrace/fedora-15-i386-updates-testing-debuginfo/
enabled=0
-[retrace-fedora-14-x86_64]
-name=Fedora 14 - x86_64
+[retrace-fedora-15-x86_64]
+name=Fedora 15 - x86_64
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-14-x86_64/
+baseurl=file:///var/cache/abrt-retrace/fedora-15-x86_64/
enabled=0
-[retrace-fedora-14-x86_64-debuginfo]
-name=Fedora 14 - x86_64 - Debug
+[retrace-fedora-15-x86_64-debuginfo]
+name=Fedora 15 - x86_64 - Debug
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-14-x86_64-debuginfo/
+baseurl=file:///var/cache/abrt-retrace/fedora-15-x86_64-debuginfo/
enabled=0
-[retrace-fedora-14-x86_64-updates]
-name=Fedora 14 - x86_64 - Updates
+[retrace-fedora-15-x86_64-updates]
+name=Fedora 15 - x86_64 - Updates
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-14-x86_64-updates/
+baseurl=file:///var/cache/abrt-retrace/fedora-15-x86_64-updates/
enabled=0
-[retrace-fedora-14-x86_64-updates-debuginfo]
-name=Fedora 14 - x86_64 - Updates - Debug
+[retrace-fedora-15-x86_64-updates-debuginfo]
+name=Fedora 15 - x86_64 - Updates - Debug
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-14-x86_64-updates-debuginfo/
+baseurl=file:///var/cache/abrt-retrace/fedora-15-x86_64-updates-debuginfo/
enabled=0
-[retrace-fedora-14-x86_64-updates-testing]
-name=Fedora 14 - x86_64 - Test Updates
+[retrace-fedora-15-x86_64-updates-testing]
+name=Fedora 15 - x86_64 - Test Updates
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-14-x86_64-updates-testing/
+baseurl=file:///var/cache/abrt-retrace/fedora-15-x86_64-updates-testing/
enabled=0
-[retrace-fedora-14-x86_64-updates-testing-debuginfo]
-name=Fedora 14 - x86_64 - Test Updates Debug
+[retrace-fedora-15-x86_64-updates-testing-debuginfo]
+name=Fedora 15 - x86_64 - Test Updates Debug
failovermethod=priority
-baseurl=file:///var/cache/abrt-retrace/fedora-14-x86_64-updates-testing-debuginfo/
+baseurl=file:///var/cache/abrt-retrace/fedora-15-x86_64-updates-testing-debuginfo/
enabled=0
diff --git a/src/retrace/retrace.repo b/src/retrace/retrace.repo
index 19c409e2..df826cec 100644
--- a/src/retrace/retrace.repo
+++ b/src/retrace/retrace.repo
@@ -1,199 +1,199 @@
-[fedora-13-i686]
-name=Fedora 13 - i686
+[fedora-14-i386]
+name=Fedora 14 - i386
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-13&arch=i386
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-14&arch=i386
enabled=0
metadata_expire=6h
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
-[fedora-13-i686-debuginfo]
-name=Fedora 13 - i686 - Debug
+[fedora-14-i386-debuginfo]
+name=Fedora 14 - i386 - Debug
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-13&arch=i386
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-14&arch=i386
enabled=0
metadata_expire=6h
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
-[fedora-13-i686-updates]
-name=Fedora 13 - i686 - Updates
+[fedora-14-i386-updates]
+name=Fedora 14 - i386 - Updates
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f13&arch=i386
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f14&arch=i386
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
-[fedora-13-i686-updates-debuginfo]
-name=Fedora 13 - i686 - Updates - Debug
+[fedora-14-i386-updates-debuginfo]
+name=Fedora 14 - i386 - Updates - Debug
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f13&arch=i386
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f14&arch=i386
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
-[fedora-13-i686-updates-testing]
-name=Fedora 13 - i686 - Test Updates
+[fedora-14-i386-updates-testing]
+name=Fedora 14 - i386 - Test Updates
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f13&arch=i386
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f14&arch=i386
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
-[fedora-13-i686-updates-testing-debuginfo]
-name=Fedora 13 - i686 - Test Updates Debug
+[fedora-14-i386-updates-testing-debuginfo]
+name=Fedora 14 - i386 - Test Updates Debug
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f13&arch=i386
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f14&arch=i386
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
-[fedora-13-x86_64]
-name=Fedora 13 - x86_64
+[fedora-14-x86_64]
+name=Fedora 14 - x86_64
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-13&arch=x86_64
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-14&arch=x86_64
enabled=0
metadata_expire=6h
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
-[fedora-13-x86_64-debuginfo]
-name=Fedora 13 - x86_64 - Debug
+[fedora-14-x86_64-debuginfo]
+name=Fedora 14 - x86_64 - Debug
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-13&arch=x86_64
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-14&arch=x86_64
enabled=0
metadata_expire=6h
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
-[fedora-13-x86_64-updates]
-name=Fedora 13 - x86_64 - Updates
+[fedora-14-x86_64-updates]
+name=Fedora 14 - x86_64 - Updates
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f13&arch=x86_64
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f14&arch=x86_64
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
-[fedora-13-x86_64-updates-debuginfo]
-name=Fedora 13 - x86_64 - Updates - Debug
+[fedora-14-x86_64-updates-debuginfo]
+name=Fedora 14 - x86_64 - Updates - Debug
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f13&arch=x86_64
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f14&arch=x86_64
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
-[fedora-13-x86_64-updates-testing]
-name=Fedora 13 - x86_64 - Test Updates
+[fedora-14-x86_64-updates-testing]
+name=Fedora 14 - x86_64 - Test Updates
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f13&arch=x86_64
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f14&arch=x86_64
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
-[fedora-13-x86_64-updates-testing-debuginfo]
-name=Fedora 13 - x86_64 - Test Updates Debug
+[fedora-14-x86_64-updates-testing-debuginfo]
+name=Fedora 14 - x86_64 - Test Updates Debug
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f13&arch=x86_64
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f14&arch=x86_64
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
-[fedora-14-i686]
-name=Fedora 14 - i686
+[fedora-15-i386]
+name=Fedora 15 - i386
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-14&arch=i386
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-15&arch=i386
enabled=0
metadata_expire=6h
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
-[fedora-14-i686-debuginfo]
-name=Fedora 14 - i686 - Debug
+[fedora-15-i386-debuginfo]
+name=Fedora 15 - i386 - Debug
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-14&arch=i386
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-15&arch=i386
enabled=0
metadata_expire=6h
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
-[fedora-14-i686-updates]
-name=Fedora 14 - i686 - Updates
+[fedora-15-i386-updates]
+name=Fedora 15 - i386 - Updates
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f14&arch=i386
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f15&arch=i386
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
-[fedora-14-i686-updates-debuginfo]
-name=Fedora 14 - i686 - Updates - Debug
+[fedora-15-i386-updates-debuginfo]
+name=Fedora 15 - i386 - Updates - Debug
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f14&arch=i386
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f15&arch=i386
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
-[fedora-14-i686-updates-testing]
-name=Fedora 14 - i686 - Test Updates
+[fedora-15-i386-updates-testing]
+name=Fedora 15 - i386 - Test Updates
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f14&arch=i386
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f15&arch=i386
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
-[fedora-14-i686-updates-testing-debuginfo]
-name=Fedora 14 - i686 - Test Updates Debug
+[fedora-15-i386-updates-testing-debuginfo]
+name=Fedora 15 - i386 - Test Updates Debug
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f14&arch=i386
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f15&arch=i386
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
-[fedora-14-x86_64]
-name=Fedora 14 - x86_64
+[fedora-15-x86_64]
+name=Fedora 15 - x86_64
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-14&arch=x86_64
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-15&arch=x86_64
enabled=0
metadata_expire=6h
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
-[fedora-14-x86_64-debuginfo]
-name=Fedora 14 - x86_64 - Debug
+[fedora-15-x86_64-debuginfo]
+name=Fedora 15 - x86_64 - Debug
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-14&arch=x86_64
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-15&arch=x86_64
enabled=0
metadata_expire=6h
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
-[fedora-14-x86_64-updates]
-name=Fedora 14 - x86_64 - Updates
+[fedora-15-x86_64-updates]
+name=Fedora 15 - x86_64 - Updates
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f14&arch=x86_64
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f15&arch=x86_64
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
-[fedora-14-x86_64-updates-debuginfo]
-name=Fedora 14 - x86_64 - Updates - Debug
+[fedora-15-x86_64-updates-debuginfo]
+name=Fedora 15 - x86_64 - Updates - Debug
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f14&arch=x86_64
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f15&arch=x86_64
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
-[fedora-14-x86_64-updates-testing]
-name=Fedora 14 - x86_64 - Test Updates
+[fedora-15-x86_64-updates-testing]
+name=Fedora 15 - x86_64 - Test Updates
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f14&arch=x86_64
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f15&arch=x86_64
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
-[fedora-14-x86_64-updates-testing-debuginfo]
-name=Fedora 14 - x86_64 - Test Updates Debug
+[fedora-15-x86_64-updates-testing-debuginfo]
+name=Fedora 15 - x86_64 - Test Updates Debug
failovermethod=priority
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f14&arch=x86_64
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f15&arch=x86_64
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
diff --git a/src/retrace/worker.py b/src/retrace/worker.py
index 4b56c992..06fa609a 100755
--- a/src/retrace/worker.py
+++ b/src/retrace/worker.py
@@ -111,7 +111,7 @@ if __name__ == "__main__":
packages = "%s.%s" % (crash_package, arch)
try:
# ToDo: deal with not found build-ids
- pipe = Popen(["/usr/share/abrt-retrace/coredump2packages.py", "%s/crash/coredump" % savedir, "--repos=retrace-%s-%s-%s*" % (distribution, version, arch)], stdout=PIPE).stdout
+ pipe = Popen(["/usr/share/abrt-retrace/coredump2packages.py", "%s/crash/coredump" % savedir, "--repos=retrace-%s-%s-%s*" % (distribution, version, repoarch)], stdout=PIPE).stdout
section = 0
crash_package_or_component = None
for line in pipe.readlines():
@@ -159,32 +159,32 @@ if __name__ == "__main__":
mockcfg.write("\n")
mockcfg.write("[fedora]\n")
mockcfg.write("name=fedora\n")
- mockcfg.write("baseurl=file://%s/%s-%s-%s/\n" % (CONFIG["RepoDir"], distribution, version, arch))
+ mockcfg.write("baseurl=file://%s/%s-%s-%s/\n" % (CONFIG["RepoDir"], distribution, version, repoarch))
mockcfg.write("failovermethod=priority\n")
mockcfg.write("\n")
mockcfg.write("[fedora-debuginfo]\n")
mockcfg.write("name=fedora-debuginfo\n")
- mockcfg.write("baseurl=file://%s/%s-%s-%s-debuginfo/\n" % (CONFIG["RepoDir"], distribution, version, arch))
+ mockcfg.write("baseurl=file://%s/%s-%s-%s-debuginfo/\n" % (CONFIG["RepoDir"], distribution, version, repoarch))
mockcfg.write("failovermethod=priority\n")
mockcfg.write("\n")
mockcfg.write("[updates]\n")
mockcfg.write("name=updates\n")
- mockcfg.write("baseurl=file://%s/%s-%s-%s-updates/\n" % (CONFIG["RepoDir"], distribution, version, arch))
+ mockcfg.write("baseurl=file://%s/%s-%s-%s-updates/\n" % (CONFIG["RepoDir"], distribution, version, repoarch))
mockcfg.write("failovermethod=priority\n")
mockcfg.write("\n")
mockcfg.write("[updates-debuginfo]\n")
mockcfg.write("name=updates-debuginfo\n")
- mockcfg.write("baseurl=file://%s/%s-%s-%s-updates-debuginfo/\n" % (CONFIG["RepoDir"], distribution, version, arch))
+ mockcfg.write("baseurl=file://%s/%s-%s-%s-updates-debuginfo/\n" % (CONFIG["RepoDir"], distribution, version, repoarch))
mockcfg.write("failovermethod=priority\n")
mockcfg.write("\n")
mockcfg.write("[updates-testing]\n")
mockcfg.write("name=updates-testing\n")
- mockcfg.write("baseurl=file://%s/%s-%s-%s-updates-testing/\n" % (CONFIG["RepoDir"], distribution, version, arch))
+ mockcfg.write("baseurl=file://%s/%s-%s-%s-updates-testing/\n" % (CONFIG["RepoDir"], distribution, version, repoarch))
mockcfg.write("failovermethod=priority\n")
mockcfg.write("\n")
mockcfg.write("[updates-testing-debuginfo]\n")
mockcfg.write("name=updates-testing-debuginfo\n")
- mockcfg.write("baseurl=file://%s/%s-%s-%s-updates-testing-debuginfo/\n" % (CONFIG["RepoDir"], distribution, version, arch))
+ mockcfg.write("baseurl=file://%s/%s-%s-%s-updates-testing-debuginfo/\n" % (CONFIG["RepoDir"], distribution, version, repoarch))
mockcfg.write("failovermethod=priority\n")
mockcfg.write("\n")
# custom ABRT repo with ABRT 2.0 binaries - obsolete after release of ABRT 2.0