Hi, I have a question about Rails plugin distribution. Is it possible to install plugin from .tar.gz. or .zip file? For example: ruby script/plugin install http://example.com/public/foobar.tar.gz Is it possible? # Installation from Subversion or Git repository is not what I want # because I want to *release* my plugin. -- makoto kuwata --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Matthew Rudy Jacobs
2008-Jul-12 11:32 UTC
Re: How to install plugin from *.tar.gz or *.zip?
makoto kuwata wrote:> Hi, > I have a question about Rails plugin distribution. > > Is it possible to install plugin from .tar.gz. or .zip file? > For example: > > ruby script/plugin install http://example.com/public/foobar.tar.gz > > Is it possible? > > # Installation from Subversion or Git repository is not what I want > # because I want to *release* my plugin. > > -- > makoto kuwataI don''t quite understand what you mean by "release". But, I do really like the, ruby script/plugin install git://github.com/matthewrudy/rudeq.git otherwise, I looked at the code recently, and it seemed to assume it was an svn url, unless it matches /git/ so, I don''t think there''s a tar.gz solution at the moment... I imagine you could write one. But I dont get the reason not to put it on github (or somewhere equivalent) unless you want to keep control of the source, but you say you want to "release" it... -- 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 -~----------~----~----~----~------~----~------~--~---
Matthew Rudy Jacobs <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > I don''t quite understand what you mean by "release". > But, I do really like the, > ruby script/plugin install git://github.com/matthewrudy/rudeq.git >Yes, I know it, but repository is always opened and everyone must install my plugin from current repository which is not always stable because it is under development. I want to specify stable version by release. -- regards, makoto kuwata> otherwise, I looked at the code recently, > and it seemed to assume it was an svn url, unless it matches /git/ > so, I don''t think there''s a tar.gz solution at the moment... > > I imagine you could write one. > > But I dont get the reason not to put it on github > (or somewhere equivalent) > unless you want to keep control of the source, > but you say you want to "release" it... > -- > 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 12 Jul 2008, at 13:38, makoto kuwata wrote:> > > Matthew Rudy Jacobs <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: >> >> I don''t quite understand what you mean by "release". >> But, I do really like the, >> ruby script/plugin install git://github.com/matthewrudy/rudeq.git >> > > Yes, I know it, > but repository is always opened and everyone must install my plugin > from current repository which is not always stable because it is > under development. >Well you can always give people the url to the stable version. that said script/plugin install doesn''t really do anything other than copy the plugin into vendor/plugins and run install.rb if it exists. A lot of plugins have no install .rb so ''installing'' the plugin just means unzipping it in the right place. Fred> I want to specify stable version by release. > > -- > regards, > makoto kuwata > > >> otherwise, I looked at the code recently, >> and it seemed to assume it was an svn url, unless it matches /git/ >> so, I don''t think there''s a tar.gz solution at the moment... >> >> I imagine you could write one. >> >> But I dont get the reason not to put it on github >> (or somewhere equivalent) >> unless you want to keep control of the source, >> but you say you want to "release" it... >> -- >> 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 -~----------~----~----~----~------~----~------~--~---
Matthew Rudy Jacobs
2008-Jul-14 11:28 UTC
Re: How to install plugin from *.tar.gz or *.zip?
makoto kuwata wrote:> Matthew Rudy Jacobs <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: >> >> I don''t quite understand what you mean by "release". >> But, I do really like the, >> � ruby script/plugin install git://github.com/matthewrudy/rudeq.git >> > > Yes, I know it, > but repository is always opened and everyone must install my plugin > from current repository which is not always stable because it is > under development. > > I want to specify stable version by release. > > -- > regards, > makoto kuwatalooks like this is in trunk as of today http://rails.lighthouseapp.com/projects/8994/tickets/257-add-branch-option-for-script-plugin-install-with-git#ticket-257-11 ruby script/plugin install --revision ''tag 1.1.4'' git://github.com/dchelimsky/rspec.git -- 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Well you can always give people the url to the stable version. > that said script/plugininstalldoesn''t really do anything other than > copy theplugininto vendor/plugins and runinstall.rb if it exists. A > lot of plugins have noinstall.rb so ''installing'' thepluginjust > means unzipping it in the right place. > > FredOK, I''ll prepare the url of stable version. Thank you very much. -- regards, makoto kuwata --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Matthew Rudy Jacobs
2008-Jul-14 12:26 UTC
Re: How to install plugin from *.tar.gz or *.zip?
makoto kuwata wrote:> Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> Well you can always give people the url to the stable version. >> that said script/plugininstalldoesn''t really do anything other than � >> copy theplugininto vendor/plugins and runinstall.rb if it exists. A � >> lot of plugins have noinstall.rb so ''installing'' thepluginjust � >> means unzipping it in the right place. >> >> Fred > > OK, I''ll prepare the url of stable version. > Thank you very much. > > -- > regards, > makoto kuwatathink you''ll have to wait for Rails 2.2, though :) -- 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---