tharrison
2008-Jan-08 16:48 UTC
Piston: anyone know how to convert existing checked in plugins?
We''re moving to use the piston gem to manage our plugins, which is a nice alternative to the svn:externals approach to keeping your plugins up to date. We already have added the plugins we use to svn. Is there a (simple) way to add them to piston''s management? (piston''s import command only works if the plugin is not already under source control) (piston''s convert command only works if you are moving from using svn:externals) Thanks -- Tom --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Walter McGinnis
2008-Jan-14 00:05 UTC
Re: Piston: anyone know how to convert existing checked in plugins?
IMHO, you should really delete a directory (i.e. vendor/plugins/some_plugin) from svn first if you want to manage it with piston. Since you are talking about a plugin, that really shouldn''t be a big deal (plus you have the revision history anyway). If you have customizations I would just reintegrate them into the code after it''s been imported with piston. Then you use piston to manage any merges when you upgrade the plugin down the line... Cheers, Walter McGinnis http://katipo.co.nz/ On Jan 9, 2008 5:48 AM, tharrison <tom.harrison.jr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > We''re moving to use the piston gem to manage our plugins, which is a > nice alternative to the svn:externals approach to keeping your plugins > up to date. > > We already have added the plugins we use to svn. Is there a (simple) > way to add them to piston''s management? > > (piston''s import command only works if the plugin is not already under > source control) > (piston''s convert command only works if you are moving from using > svn:externals) > > Thanks -- > > Tom > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Walter McGinnis
2008-Jan-14 00:06 UTC
Re: Piston: anyone know how to convert existing checked in plugins?
And when I say "delete a directory... from svn", I mean "svn remove path/to/the/directory" or whatever. Cheers, Walter On Jan 14, 2008 1:05 PM, Walter McGinnis <walter.mcginnis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> IMHO, you should really delete a directory (i.e. > vendor/plugins/some_plugin) from svn first if you want to manage it with > piston. > Since you are talking about a plugin, that really shouldn''t be a big deal > (plus you have the revision history anyway). > > If you have customizations I would just reintegrate them into the code > after it''s been imported with piston. Then you use piston to manage any > merges when you upgrade the plugin down the line... > > Cheers, > Walter McGinnis > http://katipo.co.nz/ > > > On Jan 9, 2008 5:48 AM, tharrison < tom.harrison.jr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > We''re moving to use the piston gem to manage our plugins, which is a > > nice alternative to the svn:externals approach to keeping your plugins > > up to date. > > > > We already have added the plugins we use to svn. Is there a (simple) > > way to add them to piston''s management? > > > > (piston''s import command only works if the plugin is not already under > > source control) > > (piston''s convert command only works if you are moving from using > > svn:externals) > > > > Thanks -- > > > > Tom > > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ryan Bigg
2008-Jan-14 00:33 UTC
Re: Piston: anyone know how to convert existing checked in plugins?
piston convert -- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Walter McGinnis
2008-Jan-14 01:01 UTC
Re: Piston: anyone know how to convert existing checked in plugins?
Ryan, that will only handle svn:externals, not directories that have been submitted to full version control as thearrison seems to have done. Cheers, Walter On Jan 14, 2008 1:33 PM, Ryan Bigg <radarlistener-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> piston convert > -- > Ryan Bigg > http://www.frozenplague.net > Feel free to add me to MSN and/or GTalk as this email. > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Michael Schuerig
2008-Jan-14 01:58 UTC
Re: Piston: anyone know how to convert existing checked in plugins?
On Tuesday 08 January 2008, tharrison wrote:> We''re moving to use the piston gem to manage our plugins, which is a > nice alternative to the svn:externals approach to keeping your > plugins up to date. > > We already have added the plugins we use to svn. Is there a (simple) > way to add them to piston''s management?Simple? Safe? I don''t think so. Piston sets four svn properties on the root directory of the imported directory $ svn proplist Properties on ''.'': piston:root piston:local-revision piston:uuid piston:remote-revision You can set these properties yourself using svn propset, the trick, of course is, to find the right values. Here''s what I do: Create a throwaway project and piston import the plugins there. Look at the properties piston sets, excluding piston:local-revision, and set them on your existing plugins. As for piston:local-revision, I''m not entirely sure of the semantics, but I think it is the local revision when piston last did anything on the directory. Michael -- Michael Schuerig mailto:michael-q5aiKMLteq4b1SvskN2V4Q@public.gmane.org http://www.schuerig.de/michael/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---