Angel Pizarro on 27 Sep 2007 13:14:37 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] SVN for Plugin Distribution

  • From: "Angel Pizarro" <angel@mail.med.upenn.edu>
  • To: talk@phillyonrails.org
  • Subject: Re: [PhillyOnRails] SVN for Plugin Distribution
  • Date: Thu, 27 Sep 2007 09:14:27 -0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=YpmcVH8Qeh/lVmOhtfr+VQg/c8gdxs+y8uXP2oXBGf4=; b=PCXXHP8KgYBqqhD3cU5Kl5njB0B7dP92j5pC/ANgSPJ7VREeRrZ6Ntx3xgOZd6fSDdGIls/SHza3mc2bbKcT+uTBLT/7E1Sg0MaqMzo6RclAX7KTjfhNwLGKs/1pbVAcIry09LM0futJxjUDLGJm4ewcZN8LpVCgaVHYOdTO/C8=
  • List-archive: <http://lists.phillyonrails.org/pipermail/talk>
  • Reply-to: talk@phillyonrails.org
  • Sender: talk-bounces@phillyonrails.org

As Mat pointed out in a previous post, the command line svn client caches your credentials. I do believe, though, that script/plugin install does use the svn command line client as the method to check out a plugin. From plugin.rb :

def use_svn?
  require 'active_support/core_ext/kernel'
  silence_stderr {`svn --version` rescue nil}
  !$?.nil? && $?.success?
end
and

def best_install_method
  return :http unless use_svn?
  case
    when use_externals? then :externals
    when use_checkout? then :checkout
    else :export
  end
end

Try giving the "-o" option to the install command:

# script/plugin install -o https://xxx.xxx.com/svn/plugins/has_pageflex

You may get a message stating that the plugin is already installed, just add "--force" to the set of options.

-angel

On 9/27/07, Justin W. Reagor < justinwr@gmail.com> wrote:
>  
> When I pull from a regular svn checkout everything is fine...
>
> svn co https://xxx.xxx.com/svn/plugins/has_pageflex
>
> But when we try to do this its a no-go...
>
> # script/plugin install
> https://xxx.xxx.com/svn/plugins/has_pageflex
>
> Plugin not found:
> ["https://xxx.xxx.com/svn/plugins/has_pageflex"]
>
> I have been able to use secured http/svn repo's before, but do not have a
> solid example right now. If there is a better way, other then SSL, to secure
> a closed SVN repo please let me know, thanks!
>
>  
> :: Justin Reagor
> :: justinwr@gmail.com
>
>
>  
>
_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk