Justin W. Reagor on 27 Sep 2007 13:29:17 -0000


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

Re: [PhillyOnRails] SVN for Plugin Distribution

  • From: "Justin W. Reagor" <justinwr@gmail.com>
  • To: talk@phillyonrails.org
  • Subject: Re: [PhillyOnRails] SVN for Plugin Distribution
  • Date: Thu, 27 Sep 2007 09:28:57 -0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:from:subject:date:to:x-mailer; bh=3U8yqW+tbPoWvtfleW59w38hxMfLJf/UsKvKejvEtsA=; b=F0BTZ1Vz5fgDxWBYqNRq4iKQeIAhqiEzBQ+5/Zui9oXIrKItmsN9Pq/3T8VOpeSTTtPQbhTde3jk7LKf/derBb72MCcMDpRpMxpHBscXJVN+yx35Qno8B1zFJZylvg3UwATccv9lA1YngU6jP0p/ik5IKjaKdpVPSAwZe/Yl5fM=
  • List-archive: <http://lists.phillyonrails.org/pipermail/talk>
  • Reply-to: talk@phillyonrails.org
  • Sender: talk-bounces@phillyonrails.org

The "-o" flag definitely works! Where did you find that flag? My adventures into the plugin.rb file were not as fruitful. I'm wondering if "script/plugin update" will work now. Which I will have to test to find out, definitely something to move forward with. Thank you very much!

:: Justin Reagor



On Sep 27, 2007, at 9:14 AM, Angel Pizarro wrote:

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:

_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk