I am wondering if I can use SVN(Subversion) as the database for my RoR application. Searched around the web but all I can find is how to use SVN to do version control of a RoR project instead of using it as the database. I would really appreciate it if someone can point me a direction about this. Maybe there is a tutorial about this or something. Thanx in advance. Ivan -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 6/14/07, Ivan Shusky <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > I am wondering if I can use SVN(Subversion) as the database for my RoR > application. > > Searched around the web but all I can find is how to use SVN to do > version control of a RoR project instead of using it as the database. > > I would really appreciate it if someone can point me a direction about > this. Maybe there is a tutorial about this or something. > > Thanx in advance.There are ruby bindings that come with subversion. There are several projects that use them, such as collaboa, bounty source, and retrospectiva. Though, none of them use it like a "database" (whatever that means), so you may have to get creative with that part. http://collaboa.org/ https://bssvnbrowser.bountysource.com/ http://retrospectiva.org/blog Good luck! -- Rick Olson http://lighthouseapp.com http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thank you very much Rick. I was just wondering if RoR can use SVN like the way it uses MySQL. I will check the links you have provided. cheers -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 6/14/07, Ivan Shusky <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Thank you very much Rick. > > I was just wondering if RoR can use SVN like the way it uses MySQL.SVN works slightly differently than your standard database, so no. You''d need to write some kind of ActiveSubversion model subclass like ActiveRecord that works with svn. Try broadening your search to ''ruby'' instead of just rails. It''s highly unlikely you''ll find a well tested solution, so it may be up to you to write one (or contribute to an existing project). -- Rick Olson http://lighthouseapp.com http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I just couldn''t resist this one ... ActsAsVersioned ( pun intended ) taken to a whole new level On 2007/06/15, at 06:11, Rick Olson wrote:> > On 6/14/07, Ivan Shusky <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: >> >> Thank you very much Rick. >> >> I was just wondering if RoR can use SVN like the way it uses MySQL. > > SVN works slightly differently than your standard database, so no. > You''d need to write some kind of ActiveSubversion model subclass like > ActiveRecord that works with svn. Try broadening your search to > ''ruby'' instead of just rails. It''s highly unlikely you''ll find a well > tested solution, so it may be up to you to write one (or contribute to > an existing project). > > -- > Rick Olson > http://lighthouseapp.com > http://weblog.techno-weenie.net > http://mephistoblog.com > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Cheers Rick & Lourens!! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ivan Shusky wrote:> Thank you very much Rick. > > I was just wondering if RoR can use SVN like the way it uses MySQL. > > I will check the links you have provided. > > cheers > >What''s your motivation to use SVN as a database? If it''s only for versioning ability, would acts_as_versioned meet your needs? Cheers, Mohit. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I think what Ivan means here is storing data in Subversion (like wiki pages). Google Code does this too. Wiki pages are stored in svn in / wiki, not in a database. The idea is not to use svn for version management, but to allow developers to change wiki pages through SVN as well. I think if only versioning is what you want to achieve, acts_as_versioned is a way better (and probably faster) option. Regards, Ariejan de Vroom http://ariejan.net On Jun 15, 11:50 am, Mohit Sindhwani <mo_m...-RxrYI66vbj0AvxtiuMwx3w@public.gmane.org> wrote:> Ivan Shusky wrote: > > Thank you very much Rick. > > > I was just wondering if RoR can use SVN like the way it uses MySQL. > > > I will check the links you have provided. > > > cheers > > What''s your motivation to use SVN as a database? If it''s only for > versioning ability, would acts_as_versioned meet your needs? > > Cheers, > Mohit.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yes, indeed storing data in Subversion is what I am trying to do. Hope there is a tutorial or something to make it a bit easier. Cheers, Ivan -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
jimcfisher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jun-15 13:27 UTC
Re: RoR App using SVN as Database
This seems like what you might be looking for. However, it is still young, so you might want to help contribute. http://www.oneofthewolves.com/2007/06/01/acts-as-subversioned-02-for-real/ On Jun 15, 7:42 am, Ivan Shusky <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Yes, indeed storing data in Subversion is what I am trying to do. > > Hope there is a tutorial or something to make it a bit easier. > > Cheers, > Ivan > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> This seems like what you might be looking for. However, it is still > young, so you might want to help contribute. > http://www.oneofthewolves.com/2007/06/01/acts-as-subversioned-02-for-real/Brilliant!! Great thanx for the link. I will check it out and see if there is anything I can do to help. cheers, Ivan -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---