> > [CC'd to dbi-dev] > > On Mon, Feb 02, 2004 at 04:28:45AM -0500, Jeff Urlwin wrote: > > Tim, > > > > Can you tell me exactly which commands you used? > > If you just want to get a copy to look at or patch you'd just to > > svn checkout http://svn.perl.org/modules/dbi/trunk/
Got it. And, I was playing with the svn property svn:ignore. For cleanliness, I've attached a patch which handles svn ignore for generated files. It may not be complete, as I didn't run Makefile.PL with the required proxy modules available, but it should be a start if nothing else. It's attached. I didn't think I had rights or the right to commit it and, well, didn't want to try. I did use my perl.org to login...so I wasn't sure offhand about the permissions. It could/should be something simple like this to test it, but... > > That's it. To send me a patch just to: > > svn update http://svn.perl.org/modules/dbi/trunk/ # get in sync > svn diff > foo.patch > > To load up initially I did something like this: > > tar xfz DBI-1.38.tar.gz > tar xfz DBI-1.39.tar.gz > tar xfz DBI-1.40.tar.gz > svn mkdir http://svn.perl.org/modules/dbi/trunk/ > svn import DBI-1.38 http://svn.perl.org/modules/dbi/trunk/ > svn checkout http://svn.perl.org/modules/dbi/trunk/ > cp -rp DBI-1.39/. trunk/. # the /.'s are important > (cd trunk && svn status) | grep -v ^M # to find files to svn add > (cd trunk && svn commit) > # repeat last three steps for each dir > > That's a bit messy and could be cleaned up. Yes, and I found svn_load_dirs.pl in the contrib/client-side directory of the svn distribution. Here's what I did [ignoring some messy details with developer releases] on a test machine I setup just to get it right before I go to svn.perl.org, which may be less messy :) I hope this is in time to help. svn mkdir http://mytesthost/modules/dbd-odbc svn mkdir http://mytesthost/modules/dbd-odbc/trunk svn mkdir http://mytesthost/modules/dbd-odbc/tags tar xzf DBD-ODBC-0.28.tar.gz svn import DBD-ODBC-0.28 http://mytesthost/modules/dbd-odbc/trunk svn copy http://mytesthost/modules/dbd-odbc/trunk http://mytesthost/modules/dbd-odbc/tags/DBD-ODBC-0.28 mv DBD-ODBC-0.28.tar.gz outoftheway rm -rf DBD-ODBC-0.28 mkdir tmp cd tmp cp $SVN/contrib/client-side/svn_load* . edit svn_load_dirs_property_table_example as necessary for f in ../DBD-ODBC-*.tar.gz; do tar xzf $f; done for f in DBD-ODBC*; do echo $f && ./svn_load_dirs.pl -t tags/$f -p svn_load_dirs_property_table_example http://mytesthost/modules/dbd-odbc trunk $f; done The svn_load_dirs script then puts the new version in the trunk directory and tags to the tags/XXXX directory. This assumes a directory of: modules project trunk tags branches (if necessary) You probably don't need to muck with the properties file, unless you want to use the keyword substitution and/or mark specific files with specific line-endings. For example, *.win32 could be marked as CRLF and force it to be more compatible with NT... I, specifically, marked my files as LF only and allow keyword substitution on $Id$. I'm going to play more on my test server for a bit to make sure it's ok, but if it looks good, I'll put it up on svn.perl.org. I loaded nearly all the revisions since DBD-ODBC 0.28 to test. It's pretty neat. Developer only releases cause issues with sorting, if you do XX_1 ... XX_9, XX_10, so I had to work around that. I'm not sure I'll go back that far or that many releases when I actually do the work, but 28, 39, 44 and the 1.x releases are probably good enough. Regards, Jeff
