Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
enabling ruby in the subversion build
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 39 of 39 - Collapse all  -  Translate all to Translated (View all originals) < Older 
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Philip Martin  
View profile  
 More options Nov 7 2012, 10:43 am
From: Philip Martin <philip.mar...@wandisco.com>
Date: Wed, 07 Nov 2012 15:43:07 +0000
Local: Wed, Nov 7 2012 10:43 am
Subject: Re: [PATCH] enabling ruby in the subversion build

Michael Chletsos <mpchl...@gmail.com> writes:
> The current patch I used does not fix the configure script, I could
> modify that to only use <= 1.8.7 or >= 1.9.3 if you like.

yes, please.

--
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Chletsos  
View profile  
 More options Nov 7 2012, 1:01 pm
From: Michael Chletsos <mpchl...@gmail.com>
Date: Wed, 7 Nov 2012 08:01:04 -1000
Local: Wed, Nov 7 2012 1:01 pm
Subject: Re: [PATCH] enabling ruby in the subversion build

Sorry for delay.  Patch for configure is attached.

It also updates Config to RbConfig which will remove annoying errors
and is backwards compatible.

On Wed, Nov 7, 2012 at 5:43 AM, Philip Martin

  svn_ruby19_configure.patch
6K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philip Martin  
View profile  
 More options Nov 7 2012, 1:06 pm
From: Philip Martin <philip.mar...@wandisco.com>
Date: Wed, 07 Nov 2012 18:06:00 +0000
Subject: Re: [PATCH] enabling ruby in the subversion build

Michael Chletsos <mpchl...@gmail.com> writes:
> Sorry for delay.  Patch for configure is attached.

You don't patch configure, that's a generated file.  You patch
configure.ac.

--
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philip Martin  
View profile  
 More options Nov 7 2012, 1:11 pm
From: Philip Martin <philip.mar...@wandisco.com>
Date: Wed, 07 Nov 2012 18:11:24 +0000
Local: Wed, Nov 7 2012 1:11 pm
Subject: Re: [PATCH] enabling ruby in the subversion build

Philip Martin <philip.mar...@wandisco.com> writes:
> Michael Chletsos <mpchl...@gmail.com> writes:

>> Sorry for delay.  Patch for configure is attached.

> You don't patch configure, that's a generated file.  You patch
> configure.ac.

Some of configure is generated from build/ac-macros/swig.m4.

The original patch for the testsuite no longer applies to trunk.  If you
could update that as well it would be a help.

--
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Chletsos  
View profile  
 More options Nov 7 2012, 1:29 pm
From: Michael Chletsos <mpchl...@gmail.com>
Date: Wed, 7 Nov 2012 08:29:15 -1000
Local: Wed, Nov 7 2012 1:29 pm
Subject: Re: [PATCH] enabling ruby in the subversion build

sorry about confusion - here is the updated patch, with swig updates.

On Wed, Nov 7, 2012 at 8:06 AM, Philip Martin

  svn_ruby19_configure.patch
4K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Samuelson  
View profile  
 More options Nov 7 2012, 1:55 pm
From: Peter Samuelson <pe...@p12n.org>
Date: Wed, 7 Nov 2012 12:54:31 -0600
Local: Wed, Nov 7 2012 1:54 pm
Subject: Re: [PATCH] enabling ruby in the subversion build

[Michael Chletsos]

> sorry about confusion - here is the updated patch, with swig updates.

Your patch seems to be reversed ('diff -u {new} {old}' whereas what
everyone wants to see is 'diff -u {old} {new}' or 'svn diff'), and also
seems to have been developed against something older than Subversion
trunk.  I note for example that you change some Config to RbConfig, a
change that was made in Subversion trunk months ago in r1337514.

Please update your Subversion checkout to the current trunk, apply your
patch, then run 'svn diff' to generate a more current patch.

Peter


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Chletsos  
View profile  
 More options Nov 7 2012, 1:58 pm
From: Michael Chletsos <mpchl...@gmail.com>
Date: Wed, 7 Nov 2012 08:57:35 -1000
Local: Wed, Nov 7 2012 1:57 pm
Subject: Re: [PATCH] enabling ruby in the subversion build

Sorry - I am having one of those morning - this one should be good, I
keep reversing my files and my thoughts . . .

I will check out trunk later and fix the patches and this patch and
make them all nice and be real.

  svn_ruby19_configure.patch
4K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Chletsos  
View profile  
 More options Nov 7 2012, 9:16 pm
From: Michael Chletsos <mpchl...@gmail.com>
Date: Wed, 7 Nov 2012 16:15:48 -1000
Local: Wed, Nov 7 2012 9:15 pm
Subject: Re: [PATCH] enabling ruby in the subversion build

Here is a complete patch that I tested - more work needs to be done on
the tests, but currently all tests that are run, succeed on my system.

I based this on trunk today.

  ruby1.9.3.patch
21K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philip Martin  
View profile  
 More options Nov 7 2012, 9:40 pm
From: Philip Martin <philip.mar...@wandisco.com>
Date: Thu, 08 Nov 2012 02:40:17 +0000
Local: Wed, Nov 7 2012 9:40 pm
Subject: Re: [PATCH] enabling ruby in the subversion build

Michael Chletsos <mpchl...@gmail.com> writes:
> Here is a complete patch that I tested - more work needs to be done on
> the tests, but currently all tests that are run, succeed on my system.

It breaks the tests when run with ruby 1.8.7 on my Debian/testing
machine which is a regression since they pass without the patch.

Loaded suite .
Started
............................Killed
make: *** [check-swig-rb] Error 137

I don't know much about Ruby but with --verbose=verbose the output ends:

test_import_custom_revprops(SvnClientTest): .
test_info(SvnClientTest): .
test_info_with_depth(SvnClientTest): .
test_list(SvnClientTest):

so I think the last line is the failing test.

--
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Chletsos  
View profile  
 More options Nov 7 2012, 10:24 pm
From: Michael Chletsos <mpchl...@gmail.com>
Date: Wed, 7 Nov 2012 17:23:59 -1000
Local: Wed, Nov 7 2012 10:23 pm
Subject: Re: [PATCH] enabling ruby in the subversion build

OK - this should fix your issues, tested on ruby1.9.3 and ruby1.8.7 -
passed for me, let me know what you get.

On Wed, Nov 7, 2012 at 4:40 PM, Philip Martin

  ruby1.9.3.patch
21K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philip Martin  
View profile  
 More options Nov 8 2012, 6:04 am
From: Philip Martin <philip.mar...@wandisco.com>
Date: Thu, 08 Nov 2012 11:03:46 +0000
Local: Thurs, Nov 8 2012 6:03 am
Subject: Re: [PATCH] enabling ruby in the subversion build

Michael Chletsos <mpchl...@gmail.com> writes:
> OK - this should fix your issues, tested on ruby1.9.3 and ruby1.8.7 -
> passed for me, let me know what you get.

That works for me.  It needs a log message before it can be committed.
If you want to write it look at some old log messages and
http://subversion.apache.org/docs/community-guide/conventions.html#lo...
for guidance.

--
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Chletsos  
View profile  
 More options Nov 8 2012, 12:35 pm
From: Michael Chletsos <mpchl...@gmail.com>
Date: Thu, 8 Nov 2012 07:34:59 -1000
Local: Thurs, Nov 8 2012 12:34 pm
Subject: Re: [PATCH] enabling ruby in the subversion build
Initial support for ruby 1.9.3 when creating swig bindings for subversion.

* Makefile.in:
  Ruby 1.8 uses --verbose, 1.9 does not for run-test.rb
* subversion/bindings/swig/ruby/test/test_core.rb:
  Updated for ruby1.9 time, which uses nanoseconds
* subversion/bindings/swig/ruby/test/test_repos.rb:
  ruby1.8 carries the assignment through block, ruby1.9 does not carry
assignments, we need to explicitly do this.
* subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb:
  run priority tests only for ruby1.8
* subversion/bindings/swig/ruby/test/test_delta.rb:
  fix nil return in ruby1.9,
  ruby1.8 carries the assignment through block, ruby1.9 does not carry
assignments, we need to explicitly do this
  fix StringIO encoding to be ASCII-8BIT, no longer assumed as in ruby1.8
* subversion/bindings/swig/ruby/test/test-unit-ext.rb:
  turn off some tests for ruby1.9, they should be fixed still
* subversion/bindings/swig/ruby/test/test_fs.rb:
  update md5 to digest/md5 in require
* subversion/bindings/swig/ruby/test/test_wc.rb,
subversion/bindings/swig/ruby/test/test_client.rb:
  ruby1.8 carries the assignment through block, ruby1.9 does not carry
assignments, we need to explicitly do this
* subversion/bindings/swig/ruby/test/my-assertions.rb:
  create intermediary assertion block handler
* subversion/bindings/swig/ruby/svn/util.rb:
  convert to string before splitting for ruby1.9 compat
* subversion/bindings/swig/ruby/svn/info.rb:
  use each_line for ruby1.9 and each for ruby1.8
* configure.ac:
  detect ruby1.9.3 - added teeny version detection
  restrict build to 1.8.x and >= 1.9.3

Patch by: Michael Chletsos <mpchl...@gmail.com>,
               Vincent Batts <vba...@slackware.com>

On Thu, Nov 8, 2012 at 1:03 AM, Philip Martin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philip Martin  
View profile  
 More options Nov 8 2012, 1:44 pm
From: Philip Martin <philip.mar...@wandisco.com>
Date: Thu, 08 Nov 2012 18:29:14 +0000
Local: Thurs, Nov 8 2012 1:29 pm
Subject: Re: [PATCH] enabling ruby in the subversion build

Michael Chletsos <mpchl...@gmail.com> writes:
> Initial support for ruby 1.9.3 when creating swig bindings for subversion.

I tweaked the format a little and committed in r1407206.  Thanks!

--
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Chletsos  
View profile  
 More options Nov 8 2012, 1:34 pm
From: Michael Chletsos <mpchl...@gmail.com>
Date: Thu, 8 Nov 2012 08:34:47 -1000
Local: Thurs, Nov 8 2012 1:34 pm
Subject: Re: [PATCH] enabling ruby in the subversion build
Thank you!

Ruby community will be excited, I will continue to improve the tests.

On Thu, Nov 8, 2012 at 8:29 AM, Philip Martin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages < Older 
« Back to Discussions « Newer topic     Older topic »