[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Accessing CVS from within a ruby application

Rob.Garwood

1/17/2007 11:03:00 AM

Hi,

I need to access a CVS repository (read only) from within a ruby
application. I have found the libraries CVStools and Ruby/CVS. Are
there any others? If not has anyone used these and would you recommend?
I am running ruby on WinXP and will be accessing CVS via extssh.

Thanks

8 Answers

Farrel Lifson

1/17/2007 11:13:00 AM

0

On 17/01/07, Rob.Garwood@gmail.com <Rob.Garwood@gmail.com> wrote:
> Hi,
>
> I need to access a CVS repository (read only) from within a ruby
> application. I have found the libraries CVStools and Ruby/CVS. Are
> there any others? If not has anyone used these and would you recommend?
> I am running ruby on WinXP and will be accessing CVS via extssh.
>
> Thanks
>
>
>

It's in the standard library:
http://www.ruby-doc.org/stdlib/libdoc/csv/rdoc/...

Rob.Garwood

1/17/2007 11:16:00 AM

0


Farrel Lifson wrote:
> On 17/01/07, Rob.Garwood@gmail.com <Rob.Garwood@gmail.com> wrote:
> > Hi,
> >
> > I need to access a CVS repository (read only) from within a ruby
> > application. I have found the libraries CVStools and Ruby/CVS. Are
> > there any others? If not has anyone used these and would you recommend?
> > I am running ruby on WinXP and will be accessing CVS via extssh.
> >
> > Thanks
> >
> >
> >
>
> It's in the standard library:
> http://www.ruby-doc.org/stdlib/libdoc/csv/rdoc/...

CVS not CSV lol :-)

Dan Uznanski

1/17/2007 11:23:00 AM

0


On Jan 17, 2007, at 4:13 AM, Farrel Lifson wrote:

> On 17/01/07, Rob.Garwood@gmail.com <Rob.Garwood@gmail.com> wrote:
>> Hi,
>>
>> I need to access a CVS repository (read only) from within a ruby
>> application. I have found the libraries CVStools and Ruby/CVS. Are
>> there any others? If not has anyone used these and would you
>> recommend?
>> I am running ruby on WinXP and will be accessing CVS via extssh.
>>
>> Thanks
>>
>>
>>
>
> It's in the standard library:
> http://www.ruby-doc.org/stdlib/libdoc/csv/rdoc/...
>
>
Er... not quite. CVS is Concurrent Versioning System, an open source
revision control system. CSV is Comma Separated Values, a common file
format. The library in stdlib is for the latter of these, though even
that has replacements, including most notably FasterCSV.

I am not aware of any other CVS manipulation libraries for Ruby, as I
usually use SVN.

Dan


Farrel Lifson

1/17/2007 11:25:00 AM

0

On 17/01/07, Rob.Garwood@gmail.com <Rob.Garwood@gmail.com> wrote:
>
> Farrel Lifson wrote:
> > On 17/01/07, Rob.Garwood@gmail.com <Rob.Garwood@gmail.com> wrote:
> > > Hi,
> > >
> > > I need to access a CVS repository (read only) from within a ruby
> > > application. I have found the libraries CVStools and Ruby/CVS. Are
> > > there any others? If not has anyone used these and would you recommend?
> > > I am running ruby on WinXP and will be accessing CVS via extssh.
> > >
> > > Thanks
> > >
> > >
> > >
> >
> > It's in the standard library:
> > http://www.ruby-doc.org/stdlib/libdoc/csv/rdoc/...
>
> CVS not CSV lol :-)
>
>
>

Oops! My bad!

Rob.Garwood

1/17/2007 11:29:00 AM

0


Dan Uznanski wrote:
> On Jan 17, 2007, at 4:13 AM, Farrel Lifson wrote:
>
> > On 17/01/07, Rob.Garwood@gmail.com <Rob.Garwood@gmail.com> wrote:
> >> Hi,
> >>
> >> I need to access a CVS repository (read only) from within a ruby
> >> application. I have found the libraries CVStools and Ruby/CVS. Are
> >> there any others? If not has anyone used these and would you
> >> recommend?
> >> I am running ruby on WinXP and will be accessing CVS via extssh.
> >>
> >> Thanks
> >>
> >>
> >>
> >
> > It's in the standard library:
> > http://www.ruby-doc.org/stdlib/libdoc/csv/rdoc/...
> >
> >
> Er... not quite. CVS is Concurrent Versioning System, an open source
> revision control system. CSV is Comma Separated Values, a common file
> format. The library in stdlib is for the latter of these, though even
> that has replacements, including most notably FasterCSV.
>
> I am not aware of any other CVS manipulation libraries for Ruby, as I
> usually use SVN.
>
> Dan
When I said CVS not CSV, it was in regards to my original question.
I.e. my question was about CVS not CSV. But thanks anyway.

Rob.Garwood

1/17/2007 3:19:00 PM

0


ok, don't worry about this now. It was quicker to write my own.

Rob.Garwood@gmail.com wrote:

> Dan Uznanski wrote:
> > On Jan 17, 2007, at 4:13 AM, Farrel Lifson wrote:
> >
> > > On 17/01/07, Rob.Garwood@gmail.com <Rob.Garwood@gmail.com> wrote:
> > >> Hi,
> > >>
> > >> I need to access a CVS repository (read only) from within a ruby
> > >> application. I have found the libraries CVStools and Ruby/CVS. Are
> > >> there any others? If not has anyone used these and would you
> > >> recommend?
> > >> I am running ruby on WinXP and will be accessing CVS via extssh.
> > >>
> > >> Thanks
> > >>
> > >>
> > >>
> > >
> > > It's in the standard library:
> > > http://www.ruby-doc.org/stdlib/libdoc/csv/rdoc/...
> > >
> > >
> > Er... not quite. CVS is Concurrent Versioning System, an open source
> > revision control system. CSV is Comma Separated Values, a common file
> > format. The library in stdlib is for the latter of these, though even
> > that has replacements, including most notably FasterCSV.
> >
> > I am not aware of any other CVS manipulation libraries for Ruby, as I
> > usually use SVN.
> >
> > Dan
> When I said CVS not CSV, it was in regards to my original question.
> I.e. my question was about CVS not CSV. But thanks anyway.

Mike Harris

1/17/2007 6:30:00 PM

0

Rob.Garwood@gmail.com wrote:

>Hi,
>
>I need to access a CVS repository (read only) from within a ruby
>application. I have found the libraries CVStools and Ruby/CVS. Are
>there any others? If not has anyone used these and would you recommend?
>I am running ruby on WinXP and will be accessing CVS via extssh.
>
>Thanks
>
>
>
>
>
I've had generally good luck with RSCM

http://rscm.ruby...

Rob.Garwood

1/24/2007 10:33:00 AM

0

I used a system call to interact with CVS from a command prompt, as it
was only CVS export that I needed.

I didn't know about RSCM, it'll certainly be something worth keeping in
mind for the future.

Thanks for that.

On 17 Jan, 18:29, Mike Harris <G...@prodigy.net> wrote:
> Rob.Garw...@gmail.com wrote:
> >Hi,
>
> >I need to access a CVS repository (read only) from within a ruby
> >application. I have found the libraries CVStools and Ruby/CVS. Are
> >there any others? If not has anyone used these and would you recommend?
> >I am running ruby on WinXP and will be accessing CVS via extssh.
>
> >ThanksI've had generally good luck with RSCM
>
> http://rscm.ruby...