ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:77172] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
@ 2016-09-07  6:05 ` hsbt
  2016-09-07  7:28 ` [ruby-core:77184] " eregontp
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: hsbt @ 2016-09-07  6:05 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been reported by Hiroshi SHIBATA.

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733

* Author: Hiroshi SHIBATA
* Status: Open
* Priority: Normal
* Assignee: Hiroshi SHIBATA
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:77184] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
  2016-09-07  6:05 ` [ruby-core:77172] [Ruby trunk Feature#12733] Bundle bundler to ruby core hsbt
@ 2016-09-07  7:28 ` eregontp
  2016-09-09 16:48 ` [ruby-core:77231] " v.ondruch
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: eregontp @ 2016-09-07  7:28 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by Benoit Daloze.


Won't this make it harder to update bundler?

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-60399

* Author: Hiroshi SHIBATA
* Status: Open
* Priority: Normal
* Assignee: Hiroshi SHIBATA
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:77231] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
  2016-09-07  6:05 ` [ruby-core:77172] [Ruby trunk Feature#12733] Bundle bundler to ruby core hsbt
  2016-09-07  7:28 ` [ruby-core:77184] " eregontp
@ 2016-09-09 16:48 ` v.ondruch
  2016-09-12  5:13 ` [ruby-core:77246] " duerst
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: v.ondruch @ 2016-09-09 16:48 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by Vit Ondruch.


Hiroshi SHIBATA wrote:
>  * bundler uses rspec for test suites. How to use rspec on ruby core repository?

Not only this, but the test suite also needs connection to internet to succeed. No other test needs this so far and I hope it will stay like that.

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-60458

* Author: Hiroshi SHIBATA
* Status: Open
* Priority: Normal
* Assignee: Hiroshi SHIBATA
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:77246] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2016-09-09 16:48 ` [ruby-core:77231] " v.ondruch
@ 2016-09-12  5:13 ` duerst
  2017-01-19  2:27 ` [ruby-core:79127] [Ruby trunk Feature#12733][Assigned] " hsbt
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: duerst @ 2016-09-12  5:13 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by Martin Dürst.


Vit Ondruch wrote:

> Not only this, but the test suite also needs connection to internet to succeed. No other test needs this so far and I hope it will stay like that.

There are many parts in Ruby that (would) need connection to the Internet for decent testing. Webrick, open_uri, net::http, and so on immediately come to my mind. Also rubygems of course. Also several i18n-related tests (for String#unicode_normalize/upcase/downcase/...), where data needs to be downloaded from the unicode.org Web site if not yet available.

In the case of the i18n tests, they get skipped if the Internet connection fails. My guess is that all the other components that I mention do something similar. So this should also be possible for bundler, even if it's not yet the case.

In general, it would be a bad idea to not have tests that try to connect to the Internet and exercise the relevant functionality, in particular for a language such as Ruby where one of the very big areas of use in Internet/Web related. But of course, it has also to be possible to test (to the extent possible) in a standalone environment.

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-60480

* Author: Hiroshi SHIBATA
* Status: Open
* Priority: Normal
* Assignee: Hiroshi SHIBATA
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:79127] [Ruby trunk Feature#12733][Assigned] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2016-09-12  5:13 ` [ruby-core:77246] " duerst
@ 2017-01-19  2:27 ` hsbt
  2017-03-13  5:46 ` [ruby-core:80100] [Ruby trunk Feature#12733] " hsbt
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: hsbt @ 2017-01-19  2:27 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by Hiroshi SHIBATA.

Status changed from Open to Assigned

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-62541

* Author: Hiroshi SHIBATA
* Status: Assigned
* Priority: Normal
* Assignee: Hiroshi SHIBATA
* Target version: 
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:80100] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2017-01-19  2:27 ` [ruby-core:79127] [Ruby trunk Feature#12733][Assigned] " hsbt
@ 2017-03-13  5:46 ` hsbt
  2017-06-22  1:18 ` [ruby-core:81737] " mail
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: hsbt @ 2017-03-13  5:46 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by Hiroshi SHIBATA.


Created patch of PoC

https://github.com/ruby/ruby/pull/1536

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-63525

* Author: Hiroshi SHIBATA
* Status: Assigned
* Priority: Normal
* Assignee: Hiroshi SHIBATA
* Target version: 
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:81737] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (5 preceding siblings ...)
  2017-03-13  5:46 ` [ruby-core:80100] [Ruby trunk Feature#12733] " hsbt
@ 2017-06-22  1:18 ` mail
  2017-07-06  8:59 ` [ruby-core:81925] " hsbt
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: mail @ 2017-06-22  1:18 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by indirect (André Arko).


> the test suite also needs connection to internet to succeed

The Bundler test suite no longer requires an internet connection to succeed.

>  I propose to bundle bundler for stdlib as default gem on ruby core repository

I am not sure what is needed for this, but I would like to help figure out what would be needed.


----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-65437

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:81925] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (6 preceding siblings ...)
  2017-06-22  1:18 ` [ruby-core:81737] " mail
@ 2017-07-06  8:59 ` hsbt
  2017-07-06 18:49 ` [ruby-core:81936] " eregontp
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: hsbt @ 2017-07-06  8:59 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by hsbt (Hiroshi SHIBATA).

Target version set to 2.5

>I am not sure what is needed for this, but I would like to help figure out what would be needed.

I hope to promote bundler to default gems on standard libraries.

Requirements of default gems is following things:

* Works with cross-compilation(It's not related bundler)
* Guarantee to work with ruby trunk. So we need to test bundler with test suite of ruby core.

test suite is big problem. so bundler uses rspec. test suite of ruby core is customized test-unit/minitest.

We can choose some strategy.

* Rewrite bundler's rspec to minitest/spec
* Ruby core bundle rspec and integrate rspec and test suite of ruby core.
* Prepare isolation environment for bundler and rspec without test suite of ruby core. We add new test task named "make test-bundler` and iinvoke it on rubyci.
* etc...

These are only technical side problem.

I'm going to solve this problem used `isolation environment` as first.

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-65651

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:81936] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (7 preceding siblings ...)
  2017-07-06  8:59 ` [ruby-core:81925] " hsbt
@ 2017-07-06 18:49 ` eregontp
  2017-07-06 20:21   ` [ruby-core:81941] " Eduardo Souza
  2017-07-09 14:00 ` [ruby-core:81974] " v.ondruch
                   ` (9 subsequent siblings)
  18 siblings, 1 reply; 20+ messages in thread
From: eregontp @ 2017-07-06 18:49 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by Eregon (Benoit Daloze).


hsbt (Hiroshi SHIBATA) wrote:
> We can choose some strategy.
> 
> * Rewrite bundler's rspec to minitest/spec
> * Ruby core bundle rspec and integrate rspec and test suite of ruby core.
> * Prepare isolation environment for bundler and rspec without test suite of ruby core. We add new test task named "make test-bundler` and iinvoke it on rubyci.
> * etc...
> 
> These are only technical side problem.
> 
> I'm going to solve this problem used `isolation environment` as first.


I think isolation environment is the best strategy (or the only reasonable).

Rewriting tests is not an option for upstream development and is very time-consuming/error-prone (minitest/spec is a tiny subset of RSpec).

I am not sure what you mean by bundling rspec, but rspec should not be available to normal Ruby users like default gems.
It's a private dependency needed to run tests, and it probably makes most sense to install it as a gem when running the tests.

I suspect it might also be difficult to run the tests in-tree.
In that case I think it makes sense to require an installed Ruby to run more integration-like tests.

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-65660

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:81941] Re: [Ruby trunk Feature#12733] Bundle bundler to ruby core
  2017-07-06 18:49 ` [ruby-core:81936] " eregontp
@ 2017-07-06 20:21   ` Eduardo Souza
  0 siblings, 0 replies; 20+ messages in thread
From: Eduardo Souza @ 2017-07-06 20:21 UTC (permalink / raw)
  To: Ruby developers


[-- Attachment #1.1: Type: text/plain, Size: 2449 bytes --]

unsubscribe

On Thu, Jul 6, 2017 at 2:49 PM, <eregontp@gmail.com> wrote:

> Issue #12733 has been updated by Eregon (Benoit Daloze).
>
>
> hsbt (Hiroshi SHIBATA) wrote:
> > We can choose some strategy.
> >
> > * Rewrite bundler's rspec to minitest/spec
> > * Ruby core bundle rspec and integrate rspec and test suite of ruby core.
> > * Prepare isolation environment for bundler and rspec without test suite
> of ruby core. We add new test task named "make test-bundler` and iinvoke it
> on rubyci.
> > * etc...
> >
> > These are only technical side problem.
> >
> > I'm going to solve this problem used `isolation environment` as first.
>
>
> I think isolation environment is the best strategy (or the only
> reasonable).
>
> Rewriting tests is not an option for upstream development and is very
> time-consuming/error-prone (minitest/spec is a tiny subset of RSpec).
>
> I am not sure what you mean by bundling rspec, but rspec should not be
> available to normal Ruby users like default gems.
> It's a private dependency needed to run tests, and it probably makes most
> sense to install it as a gem when running the tests.
>
> I suspect it might also be difficult to run the tests in-tree.
> In that case I think it makes sense to require an installed Ruby to run
> more integration-like tests.
>
> ----------------------------------------
> Feature #12733: Bundle bundler to ruby core
> https://bugs.ruby-lang.org/issues/12733#change-65660
>
> * Author: hsbt (Hiroshi SHIBATA)
> * Status: Assigned
> * Priority: Normal
> * Assignee: hsbt (Hiroshi SHIBATA)
> * Target version: 2.5
> ----------------------------------------
> rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.
>
> ref. https://github.com/rubygems/rubygems/issues/1681
>
> In current status, rubygems only use `Bundler` module on test suites.
> But we should track rubygems upstream step by step. I propose to bundle
> bundler
> for stdlib as default gem on ruby core repository.
>
> but we have some consideration. such as
>
>  * bundler uses rspec for test suites. How to use rspec on ruby core
> repository?
>  * Who are maintain bundler on ruby core repository?
>
> This issue is epic topic. Please comment your concerns or idea.
>
>
>
> --
> https://bugs.ruby-lang.org/
>
> Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>
>



-- 
Eduardo Souza
www.acts246.com

[-- Attachment #1.2: Type: text/html, Size: 3741 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]


Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:81974] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (8 preceding siblings ...)
  2017-07-06 18:49 ` [ruby-core:81936] " eregontp
@ 2017-07-09 14:00 ` v.ondruch
  2017-07-11  3:34 ` [ruby-core:81996] " hsbt
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: v.ondruch @ 2017-07-09 14:00 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by vo.x (Vit Ondruch).


The upstream version of minitest 4.7.5 supported spec syntax. It does not probably support all the RSpec features, but  might be worth of considering ...

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-65699

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:81996] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (9 preceding siblings ...)
  2017-07-09 14:00 ` [ruby-core:81974] " v.ondruch
@ 2017-07-11  3:34 ` hsbt
  2017-07-19 21:27 ` [ruby-core:82109] " mail
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: hsbt @ 2017-07-11  3:34 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by hsbt (Hiroshi SHIBATA).


I added `test-bundler` task to my experimental branch.

https://github.com/ruby/ruby/pull/1536/commits/5aa6d9a4340f8e6a54c9411e56c835c7f026abe3

It install rspec under the $(srcdir)/.bundle directory and use it by bundler test.

But many of examples still failed. I'm going to investigate and fix it.



----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-65728

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:82109] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (10 preceding siblings ...)
  2017-07-11  3:34 ` [ruby-core:81996] " hsbt
@ 2017-07-19 21:27 ` mail
  2017-07-27  5:11 ` [ruby-core:82190] " hsbt
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: mail @ 2017-07-19 21:27 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by indirect (André Arko).


> I added test-bundler task to my experimental branch.

Thank you for your work on this. Please contact me in the Bundler slack if you have any questions or would like any help with this. I am happy to help fix the tests.

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-65849

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:82190] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (11 preceding siblings ...)
  2017-07-19 21:27 ` [ruby-core:82109] " mail
@ 2017-07-27  5:11 ` hsbt
  2017-08-16  2:55 ` [ruby-core:82395] " shevegen
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: hsbt @ 2017-07-27  5:11 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by hsbt (Hiroshi SHIBATA).


I've added `make test-bundler` task to the ruby core. 

see https://github.com/ruby/ruby/pull/1536

Maybe, I tested this patch with macOS only. Probably the following task is not compatible all of the supported platform.

https://github.com/ruby/ruby/pull/1536/files#diff-7e056ddc530791272d363e50c1f25647R488

I found problems with bundler test suite before `make install`environment.

1. Tests of `bundle install` with native extensions relied on installed ruby interpreter.
2. Tests of “default gems” are failed. Because they are not installed before `make install`
3. Tests of “bundler exec” with gem installed Gemfile relied on installed ruby interpreter.(ex. shebang of rack command use it)
4. bundler tests require “groff” command for man verification. ruby core could not prepare it.
5. Some tests depend on the directory structure of bundler/bundler.

I omitted or added workaround to theirs.

https://github.com/hsbt/ruby/blob/e16f39690e2e7843690f691e9f68e3371aba96f3/spec/bundler.patch

I have a happy news. `make test-bundler` results is here

2269 examples, 0 failures, 3 pending

I ignored 40 examples. but I got green results of most all of examples.


----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-65957

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:82395] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (12 preceding siblings ...)
  2017-07-27  5:11 ` [ruby-core:82190] " hsbt
@ 2017-08-16  2:55 ` shevegen
  2017-08-31  7:19 ` [ruby-core:82567] " matz
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: shevegen @ 2017-08-16  2:55 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by shevegen (Robert A. Heiler).


I think that this is a pretty big undertaking, irrelevant of pros or cons
to it (which surely exist).

Bundler is popular, there is no doubt about this even though I myself do not
use it - at https://rubygems.org/stats bundler is ranked #1 by a fair margin
(rank #2 is multi_json and rank #3 is rake).

Since I myself am not using bundler, I feel it would be unjust to comment
on it pro or con, others can do so. But may I suggest something else, 
actually - gemify the remaining stdlib parts first before prioritizing
on bundler integration into rubygems 3.x, which then will also be
distributed with the next ruby releases?

I am not sure what is missing aside from fileutils and strscan, if this
is up to date (I am not sure, sorry; I thought there may be more but
I can not find it right now - see the roadmap for 2.5 ... have there
been any ruby core meetings in 2017? Probably have not been added to
2.5 or perhaps the meetings discussed past 2.5 situation).

https://bugs.ruby-lang.org/projects/ruby-trunk/roadmap

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-66193

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:82567] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (13 preceding siblings ...)
  2017-08-16  2:55 ` [ruby-core:82395] " shevegen
@ 2017-08-31  7:19 ` matz
  2017-09-06  2:37 ` [ruby-core:82664] " hsbt
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: matz @ 2017-08-31  7:19 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by matz (Yukihiro Matsumoto).


It's OK as long as bundling bundler makes users happy (and I believe it would).

Matz.


----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-66385

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:82664] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (14 preceding siblings ...)
  2017-08-31  7:19 ` [ruby-core:82567] " matz
@ 2017-09-06  2:37 ` hsbt
  2017-09-06  4:39 ` [ruby-core:82666] " v.ondruch
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: hsbt @ 2017-09-06  2:37 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by hsbt (Hiroshi SHIBATA).


I update my working branch.

https://github.com/ruby/ruby/pull/1536

Changes in this branch:

1. Directory Structure

I organized bundler integration like this:

```
  root -+- lib -+- bundler/*
            |          |
            |          +- bundler.gemspec
            |          |
            |          +- rubygems
            |          |
            |
            |
            +- spec -+- bundler/*
                            |
                            +- rubyspec
                            |

```

Differences from bundler repo are gemspec and rspec examples locations.
I'm going to send a pull request adopting Ruby core directory structure to bundler upstream.

2. Exclude some rspec examples for Ruby core.

Some of the bundler examples need to installed Ruby interpreter. But Ruby core test suite doesn't
use installed ruby interpreter. Therefore, It is necessary to exclude examples that require the
installed ruby interpreter.

I also send a pull request these exclusions used rspec filter condition to bundler repo.

Finally, We need to show results of "test-bundler" on Ruby CI (https://rubyci.org).
I will make patches for bundler integration to ruby/rubyci and ruby/chkbuild.











----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-66493

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:82666] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (15 preceding siblings ...)
  2017-09-06  2:37 ` [ruby-core:82664] " hsbt
@ 2017-09-06  4:39 ` v.ondruch
  2017-09-06  5:00 ` [ruby-core:82667] " shyouhei
  2017-12-23  0:35 ` [ruby-core:84409] [Ruby trunk Feature#12733][Assigned] " hsbt
  18 siblings, 0 replies; 20+ messages in thread
From: v.ondruch @ 2017-09-06  4:39 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by vo.x (Vit Ondruch).


I don't understand it. Why is it not simple bundled gem similartly to minitest, test-unit, rake, etc? This gems broken to Ruby directories were always the worst idea. It could make sense when Ruby have not shipped with Rubygems, but nowadays?

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-66495

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:82667] [Ruby trunk Feature#12733] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (16 preceding siblings ...)
  2017-09-06  4:39 ` [ruby-core:82666] " v.ondruch
@ 2017-09-06  5:00 ` shyouhei
  2017-12-23  0:35 ` [ruby-core:84409] [Ruby trunk Feature#12733][Assigned] " hsbt
  18 siblings, 0 replies; 20+ messages in thread
From: shyouhei @ 2017-09-06  5:00 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by shyouhei (Shyouhei Urabe).


vo.x (Vit Ondruch) wrote:
> I don't understand it. Why is it not simple bundled gem similartly to minitest, test-unit, rake, etc? This gems broken to Ruby directories were always the worst idea. It could make sense when Ruby have not shipped with Rubygems, but nowadays?

Rubygems itself is going to depend on bundler.  It must exist beforehand.  Bundled gem won't work.

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-66496

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [ruby-core:84409] [Ruby trunk Feature#12733][Assigned] Bundle bundler to ruby core
       [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
                   ` (17 preceding siblings ...)
  2017-09-06  5:00 ` [ruby-core:82667] " shyouhei
@ 2017-12-23  0:35 ` hsbt
  18 siblings, 0 replies; 20+ messages in thread
From: hsbt @ 2017-12-23  0:35 UTC (permalink / raw)
  To: ruby-core

Issue #12733 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Closed to Assigned

I postpone merging bundler to stdlib.
I reverted this feature ar r61416 

----------------------------------------
Feature #12733: Bundle bundler to ruby core
https://bugs.ruby-lang.org/issues/12733#change-68601

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
rubygems team has plan to migrate bundler into rubygems at rubygems 3.0.

ref. https://github.com/rubygems/rubygems/issues/1681

In current status, rubygems only use `Bundler` module on test suites.
But we should track rubygems upstream step by step. I propose to bundle bundler
for stdlib as default gem on ruby core repository.

but we have some consideration. such as

 * bundler uses rspec for test suites. How to use rspec on ruby core repository?
 * Who are maintain bundler on ruby core repository?

This issue is epic topic. Please comment your concerns or idea. 



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2017-12-23  0:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-12733.20160907060543@ruby-lang.org>
2016-09-07  6:05 ` [ruby-core:77172] [Ruby trunk Feature#12733] Bundle bundler to ruby core hsbt
2016-09-07  7:28 ` [ruby-core:77184] " eregontp
2016-09-09 16:48 ` [ruby-core:77231] " v.ondruch
2016-09-12  5:13 ` [ruby-core:77246] " duerst
2017-01-19  2:27 ` [ruby-core:79127] [Ruby trunk Feature#12733][Assigned] " hsbt
2017-03-13  5:46 ` [ruby-core:80100] [Ruby trunk Feature#12733] " hsbt
2017-06-22  1:18 ` [ruby-core:81737] " mail
2017-07-06  8:59 ` [ruby-core:81925] " hsbt
2017-07-06 18:49 ` [ruby-core:81936] " eregontp
2017-07-06 20:21   ` [ruby-core:81941] " Eduardo Souza
2017-07-09 14:00 ` [ruby-core:81974] " v.ondruch
2017-07-11  3:34 ` [ruby-core:81996] " hsbt
2017-07-19 21:27 ` [ruby-core:82109] " mail
2017-07-27  5:11 ` [ruby-core:82190] " hsbt
2017-08-16  2:55 ` [ruby-core:82395] " shevegen
2017-08-31  7:19 ` [ruby-core:82567] " matz
2017-09-06  2:37 ` [ruby-core:82664] " hsbt
2017-09-06  4:39 ` [ruby-core:82666] " v.ondruch
2017-09-06  5:00 ` [ruby-core:82667] " shyouhei
2017-12-23  0:35 ` [ruby-core:84409] [Ruby trunk Feature#12733][Assigned] " hsbt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).