diff options
-rwxr-xr-x | src/retrace/abrt-retrace-reposync | 51 | ||||
-rwxr-xr-x | src/retrace/install.sh | 20 | ||||
-rw-r--r-- | src/retrace/retrace-local.repo | 144 | ||||
-rw-r--r-- | src/retrace/retrace.repo | 144 | ||||
-rwxr-xr-x | src/retrace/worker.py | 14 |
5 files changed, 201 insertions, 172 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 cf11cbe0..d73a0b58 100755 --- a/src/retrace/install.sh +++ b/src/retrace/install.sh @@ -177,16 +177,16 @@ then 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 -# createrepo "$REPODIR/fedora-14-i686-debuginfo" > /dev/null -# "$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 14 i686 + createrepo "$REPODIR/fedora-14-i686" > /dev/null + createrepo "$REPODIR/fedora-14-i686-debuginfo" > /dev/null + "$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 # 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 @@ -208,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 |