#1355 fix cvs checkout seed generation script
Closed: Fixed None Opened 14 years ago by kevin.

The script that generates the files at:

http://cvs.fedoraproject.org/webfiles/

Needs to be fixed/updated.

The devel checkout is updating ok, but:

  • None of the other checkouts are working since feb 23rd.
  • There is no F-11 checkout.

I might be able to look at this, but thought I would file a ticket for anyone else interested to fix it first.


Here is a patch to mkbranch that would be the first step to getting branch seeds:

{{{
Index: mkbranch
===================================================================
RCS file: /cvs/pkgs/CVSROOT/admin/mkbranch,v
retrieving revision 1.11
diff -u -r1.11 mkbranch
--- mkbranch 22 Apr 2008 16:43:50 -0000 1.11
+++ mkbranch 29 May 2009 00:36:21 -0000
@@ -184,6 +184,12 @@
echo "$BRANCH" > branch && \
/usr/bin/ci -q -m"Initialize branch $BRANCH for $NAME" branch </dev/null && \ popd >/dev/null
+
+ # Create the symlinks to the branch directory
+ mkdir -p $CVSROOT/$BRANCH
+ pushd $CVSROOT/$BRANCH > /dev/null
+ ln -s ../$TOPLEVEL/$NAME/$BRANCH $NAME
+ popd > /dev/null
done

echo
}}}

Once we get this in after the release and create symlinks for all existing packages/branches, it'll be a simple edit to get-webfiles.sh to create these seeds.

Patch committed to mkbranch on cvs1.

Kevin just did a test with a new package, and it seemed to work OK. get-webfiles.sh has also been modified to create seeds from these branch directories now - I'm doing a manual run now which will take a while, but the new seeds should show up at http://cvs.fedoraproject.org/webfiles/ soon.

Login to comment on this ticket.

Metadata