blinking bear
2008-Jan-15 15:28 UTC
svn repositories with multiple projects - best practice?
Quick svn question - sorry this rails related. If I setup a repository once and then add multiple projects using ''svn import'' is it correct that all the projects share they same revision numbers? Is this expected? It seems kind of confusing that way. On the other hand, if I use ''svnadmin create'' to create a single project repository for each project that seems like overkill. What is the best practice here? --~--~---------~--~----~------------~-------~--~----~ 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''ve been thinking about this recently and would like to hear what other people think. I''m leaning towards a new repository for each new project, but not sure. DAZ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Rob Biedenharn
2008-Jan-15 15:50 UTC
Re: svn repositories with multiple projects - best practice?
On Jan 15, 2008, at 10:28 AM, blinking bear wrote:> Quick svn question - sorry this rails related. > > If I setup a repository once and then add multiple projects using > ''svn import'' is it correct that all the projects share they same > revision numbers? Is this expected? It seems kind of confusing > that way.Expected? Yes. Confusing? Well, if your experience is with SCS, CVS, RCS, etc. where each file has its own revision perhaps.> > On the other hand, if I use ''svnadmin create'' to create a single > project repository for each project that seems like overkill. What > is the best practice here?Not overkill. This will make sense once you start using it. In fact, if you look at Rails itself, you see that it is actually rails, active_support, action_pack, active_record, (action_mailer, action_web_service, ...) and each has its own repository (somewhere). You don''t generally have to worry about that since the dependencies in RubyGems takes care of getting all the parts when you ask for Rails. I typically have an ./svn directory under which I create repositories. For real "projects", a separate repository is created, but I have a bunch of random stuff in a repository called "code" -Rob Rob Biedenharn http://agileconsultingllc.com Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Jan-15 15:59 UTC
Re: svn repositories with multiple projects - best practice?
On 15 Jan 2008, at 15:28, blinking bear wrote:> Quick svn question - sorry this rails related. > > If I setup a repository once and then add multiple projects using > ''svn import'' is it correct that all the projects share they same > revision numbers? Is this expected? It seems kind of confusing > that way.it is expected> On the other hand, if I use ''svnadmin create'' to create a single > project repository for each project that seems like overkill. What > is the best practice here? >I''ve always used a single repository. Easier to maintain and all that (and if you do ever need to do any cross project operations, you''re basically stuffed if they''re not in the same repository) and not much in terms of downsides. Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---