EPEL/Tasks/NextTestingStableMove

From FedoraProject

Jump to: navigation, search

Contents

Summary =

Move testing/ packages to proper repos

Completion Level

standing

Target Date

EPEL4: around the 15th each month EPEL5: around the 1th each month

Next steps

Details

How to actually do the move

[centos5] 
baseurl=http://ftp-stud.fht-esslingen.de/pub/Mirrors/centos/5/os/$basearch/
name=centos5
enabled=0

[centos5-source] 
baseurl=http://ftp-stud.fht-esslingen.de/pub/Mirrors/centos/5/os/SRPMS/
name=centos5-source
enabled=0

[epel5] 
baseurl=http://download.fedora.redhat.com/pub/epel/5/$basearch/
name=epel5
enabled=0

[epel5-source] 
baseurl=http://download.fedora.redhat.com/pub/epel/5/SRPMS/
name=epel5-source
enabled=0

[epel5-testing] 
baseurl=http://download.fedora.redhat.com/pub/epel/testing/5/$basearch/
name=epel5-testing
enabled=0

[epel5-testing-source] 
baseurl=http://download.fedora.redhat.com/pub/epel/testing/5/SRPMS/
name=epel5-testing
enabled=0

[centos4] 
baseurl=http://ftp-stud.fht-esslingen.de/pub/Mirrors/centos/4/os/$basearch/
name=centos4
enabled=0

[centos4-source] 
baseurl=http://ftp-stud.fht-esslingen.de/pub/Mirrors/centos/4/os/SRPMS/
name=centos4-source
enabled=0

[epel4] 
baseurl=http://download.fedora.redhat.com/pub/epel/4/$basearch/
name=epel4
enabled=0

[epel4-source] 
baseurl=http://download.fedora.redhat.com/pub/epel/4/$basearch/
name=epel4-source
enabled=0

[epel4-testing] 
baseurl=http://download.fedora.redhat.com/pub/epel/testing/4/$basearch/
name=epel4-testing
enabled=0

[epel4-testing-source] 
baseurl=http://download.fedora.redhat.com/pub/epel/testing/4/SRPMS/
name=epel4-testing-source
enabled=0
export EPELVER=5
setarch i686 repoclosure -n -r centos${EPELVER} -r epel${EPELVER} -r epel${EPELVER}-testing > brokendeps-${EPELVER}

Hint: if you use a x86_64 machine remove /etc/rpm/platform

setarch i686 repoquery -qa --qf '%{SOURCERPM}' --repoid=epel${EPELVER}-testing | sort | uniq > tobemoved-srpms-${EPELVER}
setarch i686 repoquery -qa --qf '%{SOURCERPM}' --repoid=epel${EPELVER}-testing | sort | uniq > tobemoved-srpms-rpms-${EPELVER}
setarch i686 repoquery -qa --repoid=epel${EPELVER}-testing | sort  > tobemoved-rpms-${EPELVER}
setarch i686 repoquery -qa --qf '%{SOURCERPM}' --repoid=epel${EPELVER}-testing | sort | uniq > all-srpms-broken-${EPELVER}
grep --file all-srpms-broken-${EPELVER} tobemoved-srpms-rpms-${EPELVER}

grep shouldn't find anything. If it does check add a exclude for those packages as well and start again

echo $(repoquery -qa --qf '%{NAME}' --archlist=src  --repoid=epel${EPELVER}-testing-source $(cat tobemoved-srpms-${EPELVER} | sed 's|.src.rpm||' ) | sort ) > tobemoved-packages-${EPELVER}

You can pass this list to the ToStable command later when you're actually doing the next push