Phlip
2007-Mar-07 03:03 UTC
how to remove a plugin installed with script/plugin install -x
Railsters: The -x option sets your plugin up as an svn:external, to track updates automatically. I tried to remove a plugin, and got this: $ svn rm naugty-plugin/ --force D naughty-plugin/... ... svn: ''naughty-plugin'' is not under version control That''s not a good sign. Then I svn ci my project, cap deploy it, and the plugin (and its ill effects) are still on the server. How to croak an svn:externalled plugin? -- Phlip http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Jodi Showers
2007-Mar-07 03:22 UTC
Re: how to remove a plugin installed with script/plugin install -x
On 6-Mar-07, at 10:03 PM, Phlip wrote:> > Railsters: > > The -x option sets your plugin up as an svn:external, to track updates > automatically. > > I tried to remove a plugin, and got this: > > $ svn rm naugty-plugin/ --force > D naughty-plugin/... > ... > svn: ''naughty-plugin'' is not under version control > > That''s not a good sign. Then I svn ci my project, cap deploy it, and > the plugin (and its ill effects) are still on the server. > > How to croak an svn:externalled plugin? > > -- > Phlip > http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!Phillip, what does svn status tell you? Is the plugin listed as an external, ala: X vendor/plugins/naughty-plugin if it doesn''t show up this way, then it''s not an external defined entry. svn propedit svn:externals vendor/plugins will allow you to edit the externals directly. Is it possible that you ran svn remove from the project root? and not svn remove vendor/plugins/naughty-plugin? hopefully the above gets you further ahead. I''m hitting the hay now - l8r. Cheers, Jodi General Partner The nNovation Group inc. www.nnovation.ca/blog --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Phlip
2007-Mar-07 03:50 UTC
Re: how to remove a plugin installed with script/plugin install -x
Jodi Showers wrote:> X vendor/plugins/naughty-pluginYep.> svn propedit svn:externals vendor/plugins > > will allow you to edit the externals directly.Google for that, aaaand here''s the tip: http://blog.opensourceconnections.com/2007/02/13/how-to-remove-plugins-installed-as-svnexternals/ The svn propedit svn:externals . --editor-cmd vi done it. New question: Should that file contain this? plugin ./script/plugin I nuked it too, cap deploy, and the naughty-plugin didn''t follow me home this time! I been banging on my plugins too much, huh?! -- Phlip http://www.greencheese.us/ZeekLand <-- NOT a blog!!! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Jodi Showers
2007-Mar-07 15:45 UTC
Re: how to remove a plugin installed with script/plugin install -x
On 6-Mar-07, at 10:50 PM, Phlip wrote:> > Jodi Showers wrote: > >> X vendor/plugins/naughty-plugin > > Yep. > >> svn propedit svn:externals vendor/plugins >> >> will allow you to edit the externals directly. > > Google for that, aaaand here''s the tip: > > http://blog.opensourceconnections.com/2007/02/13/how-to-remove- > plugins-installed-as-svnexternals/ > > The svn propedit svn:externals . --editor-cmd vi done it. > > New question: Should that file contain this? > > plugin ./script/pluginno it shouldn''t. ( I gather you ran that cmd from RAILS_ROOT? ) the format of the externals file is directory external_path for instance (all commands run from RAILS_ROOT) imac:~/Documents/dev/zoop jodi$ svn propget svn:externals vendor/plugins savage_beast http://svn.nnovation.ca/svn/savage_beast/trunk means thtere''s a directory under vendor/plugins called ''savage_beast'' that is externally linked to the url above. one more note, you can use textmate to handled all svn propedits read: http://macromates.com/textmate/manual/ using_textmate_from_terminal#the_general_editor_variable cheers, Jodi --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---