Infrastructure/CoreExtrasCVSMerge

From FedoraProject

< Infrastructure
Revision as of 18:29, 3 June 2008 by Anubis (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Fedora Merge CVS Merge Plan

This should all be done now.

As part of the merge, we are going to be migrating to the use of /cvs/pkgs as opposed to either /cvs/dist or /cvs/extras. Note that /cvs/extras will continue to function on cvs.fedora, but should be migrated away from over time.

These are the mechanics which should be needed to do the change on the server side.

Disable access to various things and disable automated tasks

Make a backup of what we're going to be changing; ensure that we're synced

Basic setup type things, all on cvs.fedora all done (notting)

Now for the scary part. This will do copies of devel branches for everything that we know needs it. We'll do output prefixed with WARN: for things that we're not sure of and that thus need manual intervention. This is currently about 50 packages

for i in /cvs/dist/rpms/* ; do
if [ ! -d $i/devel ] ; then
continue;
fi ;
if [ -d $i/devel -a -d /cvs/extras/rpms/$(basename $i)/devel ] ; then
if [ -d $i/FC-6 -a ! -d /cvs/extras/rpms/$(basename $i)/FC-6 ] ; then
echo "WARN: $i definitely needs manual attention";
else
echo "WARN: $i apparently not in FC-6" ;
fi ;
else
echo /usr/local/bin/setup_package $(basename $i)
echo mkdir -p /cvs/extras/rpms/$(basename $i)/devel ;
echo cp -rv $i/devel/* /cvs/extras/rpms/$(basename $i)/devel ;
fi
done | tee /tmp/cvscopy.out

DONE

For the packages which need manual attention, need to see if what's in /cvs/extras is newer than what's in /cvs/dist. If not, then do the actual process by hand for those packages. The "apparently not in FC-6" packages are likely moves from Core -> Extras and just need confirmation. (done - notting)

Final touches

Open questions:

Future things: