Recently the clearinghouse list has been discussing the possibility of
moving the uP3 source tree out of CVS and into SVN. I'd like to surface
that discussion to this list and ask for an up-or-down vote on the
issue, as well as solicit feedback on the specific steps I've proposed
for executing the migration. Talking with Andrew Petro yesterday, we
thought that it might be a good idea to target the migration for some
time Wed - Fri of next week when we'll have a high concentration of
interested developers gathered in one place.
To be clear, we're only talking about moving uP3 source at this point.
It's a good guinea pig: it's still sandboxed, its tagging and branching
are straightforward and current commit traffic is light. I've gone
through a dry run of the process on my workstation... cvs2svn
successfully generates a SVN dump file, which loads into SVN with what
looks to me like a perfectly valid log history. The dump preserves the
three milestone tags. If you'd like to take a look at the end result
yourself, the dump is available at:
URL: ftp://ftp.unicon.net/up3.dump
User: up3
(Note that this dump dates back to early August.)
Here's my shot at a high-level blow-by-blow for making it happen in the
real world:
1) Announce our intentions to jasig-...@unm.edu, jasi...@unm.edu,
jasig-upo...@googlegroups.com and
http://www.uportal.org/cvs.html/ and set a target cutover date. Again,
I'm thinking that late next week would be ideal. Jason Shao has
suggested that we identify an admin/support contact for project
migrations. I can volunteer to help support the uP3 migration, but I
think it's probably best if I were assisted by someone with more
historical knowledge of the JA-SIG hosting environment and established
standing in the JA-SIG community. I'm also willing to assist with
migrating any other JA-SIG project, with the same caveat and the
understanding that I need to make uP3 my near-term priority.
2) Get a SVN repo up and running behind Apache to verify SSL, authn/z
and any other configuration before attempting anything more
interesting. If necessary, configure backup processes to include SVN
data.
3) Grab the cvs2svn tarball. Can either install it or run it directly
from the exploded archive.
4) Take a backup of the CVS file system. (Not strictly necessary for
what we're doing, but better paranoid than sorry.)
5) Generate the SVN dump file. I found I needed to use the --use-cvs
switch.
We're just dumping uP3 code, so the command ends up looking something
like:
% cvs2svn --use-cvs --dump-only --dumpfile <dump-file>
<cvs-backup-home>/sandbox/up3
6) Load the dump into SVN. Assuming we want a top-level uP3 module with
the usual trunks, branches and tags dirs below that, the command should
look something like:
% svnadmin --parent-dir uP3 load <path-to-repo> < <dump-file>
7) Verify the load, then delete the uP3 module in SVN. This was just a
trial run.
8) On the appointed date, throw CVS into a read-only state (I'll humbly
defer someone with more CVS admin experience on the best approach.
Possible options might include a global commit refusal script or an
empty 'writers'
file). Repeat steps 4 - 6.
9) Re-enable CVS commit access. Move uP3 source into the attic with an
informative log message. Add a readme explaining where to find the
SVN'd source.
10) Announce completion to the channels notified in step 1.
Jason also suggested that we take a vote on a URL for the JA-SIG SVN
service. I'll take this opportunity to suggest
'https://developer.ja-sig.org/svn' to represent a global repository for
all JA-SIG SVN projects. uP3 code would be a first-class project, with
its trunk accessible at: 'https://developer.ja-sig.org/svn/uP3/trunk'.
I look forward to your feedback.
- Dan McCallum
Unicon, Inc
As long as those two are figured out +1
-Eric
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "jasig-uportal3-dev" group.
> To post to this group, send email to jasig-upo...@googlegroups.com
> To unsubscribe from this group, send email to jasig-uportal3-...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/jasig-uportal3-dev
> -~----------~----~----~----~------~----~------~--~---
>
>
> moving the uP3 source tree out of CVS and into SVN. I'd like to surface
> that discussion to this list and ask for an up-or-down vote
> To be clear, we're only talking about moving uP3 source at this point.
-Eric
Dan McCallum wrote:
> Unless another box is available and/or we have a good reason to start
> looking for another box (like, ahem, running out of disk space every
> so often), I'd say sure, let's target the clearinghouse box.
>
> I'm make no claims to be the world's greatest sys admin, but I will
> volunteer to take responsibility for the JA-SIG SVN service.
>
> - Dan
>
> On 9/7/06, *Eric Dalquist* <eric.d...@doit.wisc.edu
> >> URL: ftp://ftp.unicon.net/up3.dump <ftp://ftp.unicon.net/up3.dump>
> >> User: up3
> >>
> >> (Note that this dump dates back to early August.)
> >>
> >> Here's my shot at a high-level blow-by-blow for making it
> happen in the
> >> real world:
> >>
> >> 1) Announce our intentions to jasig-...@unm.edu
> <mailto:jasig-...@unm.edu>, jasi...@unm.edu
> <mailto:jasi...@unm.edu>,
> >> jasig-upo...@googlegroups.com
> <mailto:jasig-upo...@googlegroups.com> and
+1 and I can probably free up some time to assist with implementation
on the Clearinghouse side in terms of any support you might need
there.
2 points.
1- currently we only have a certificate for www.ja-sig.org NOT
developer.ja-sig.org - so if the connection needs to be over SSL
(seems reasonable) we either need to use a self-signed, or purchase
another commercial certificate.
2- Echo Eric's point -- who is responsible for owning the service in
the longer term - e.g. upgrading the SVN install, checking backups,
managing accounts, etc?
Jason