RE: CVS Repository for DBI (was RE: DBI version 2)

2004-01-13 Thread Jeff Urlwin

> 
> On Mon, Jan 12, 2004 at 05:53:00PM -0500, Jeff Urlwin wrote:
> > > Plans:
> > > 
> > > 1.  Move DBI source code to http://sourceforge.net/projects/dbi/
> > 
> > Tim,
> > 
> > On and Off I've thought about moving DBD::ODBC to a CVS 
> repository and 
> > searched for a tool that would take old tarballs of prior 
> releases and 
> > build the CVS repository from the tarballs.  Maybe I don't need to, 
> > but it would be nice to have all the versions in a repository, each 
> > version/release tagged with the release.  I just haven't 
> gotten around 
> > to it.  Would you want to put your history in CVS or just 
> handle it as 
> > a "from here on" repository?
> 
> Keeping the history would be nice - but it's not essential.
> If I don't get it into CVS then I'd probably tar up my RCS 
> files and put them on CPAN (or at least backpan) "for posterity".

Actually, from what I understand is that cvs import can do it (thanks to
Jeffrey W. Baker, who saw this thread and commented to me, as per below:


> > 
> > for release in DBD-ODBC-*; do 
> > cd $release;
> > rev=`echo $release | perl -pe 's/^DBD-ODBC-//'`;
> > cvsrev=`echo $rev | perl -pe 's/\./_/g`;
> > cvs import -m "DBD::ODBC release $rev" dbd::odbc
> > JURLWIN $cvsrev;
> > cd ..;
> > done;
> 
> I didn't think IMPORT would do what I want.  What I want is one 
> module, DBD-ODBC, which has all revisions in it.

cvs import will do what you want.  Each release will have its own revision
tag as $cvsrev in the above script.  I use this method to update my local
copy when upstream sources release new revisions.  Then I can merge in my
local changes to the HEAD branch.  In your case of course upstream and local
will be the same.

Naturally, someone wrote lengthy documentation for CVS already. 
Tracking third-party sources:

http://www.loria.fr/~molli/cvs/doc/cvs_13.html#SEC98



> 
> > Also, I thought there was a CVS repository specifically 
> setup for perl 
> > modules, but I can't seem to find my reference to it.  
> Wouldn't that 
> > be "better"?
> 
> Quite possibly. I don't know yet. I'm talking to Rob and Ask, 
> the perl.org admins, about it.

Yes, Rob is the one that I had "discussed" this with a while back ... Either
way, if you have DBI and DBD::Oracle hosted somewhere, I will follow suit.  

> 
> > Either way, I know I have been interested in setting up a 
> repository 
> > for DBD::ODBC, but just haven't found the time.  I suppose 
> It's more 
> > useful for DBI and the more-used modules (or for the 
> modules with more 
> > regular contributions), than for DBD::ODBC.
> 
> Perhaps. But having cvs can also lead to more regular 
> contributions. At least I certainly hope so :-)

Me too.

And, to answer your parrot question, I'll help in whatever way I can.

Regards,

Jeff




Re: CVS Repository for DBI (was RE: DBI version 2)

2004-01-13 Thread Tim Bunce
On Mon, Jan 12, 2004 at 05:53:00PM -0500, Jeff Urlwin wrote:
> > Plans:
> > 
> > 1.  Move DBI source code to http://sourceforge.net/projects/dbi/
> 
> Tim,
> 
> On and Off I've thought about moving DBD::ODBC to a CVS repository and
> searched for a tool that would take old tarballs of prior releases and build
> the CVS repository from the tarballs.  Maybe I don't need to, but it would
> be nice to have all the versions in a repository, each version/release
> tagged with the release.  I just haven't gotten around to it.  Would you
> want to put your history in CVS or just handle it as a "from here on"
> repository?

Keeping the history would be nice - but it's not essential.
If I don't get it into CVS then I'd probably tar up my RCS files
and put them on CPAN (or at least backpan) "for posterity".

> Also, I thought there was a CVS repository specifically setup for perl
> modules, but I can't seem to find my reference to it.  Wouldn't that be
> "better"?

Quite possibly. I don't know yet. I'm talking to Rob and Ask, the perl.org
admins, about it.

> Either way, I know I have been interested in setting up a repository for
> DBD::ODBC, but just haven't found the time.  I suppose It's more useful for
> DBI and the more-used modules (or for the modules with more regular
> contributions), than for DBD::ODBC.

Perhaps. But having cvs can also lead to more regular contributions.
At least I certainly hope so :-)

Tim.