<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/bundler.git/lib, branch remove-bundle_ruby</title>
<subtitle>github.com: bundler/bundler.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bundler.git/'/>
<entry>
<title>Merge #6790</title>
<updated>2018-11-17T15:25:58+00:00</updated>
<author>
<name>Bundlerbot</name>
<email>bot@bundler.io</email>
</author>
<published>2018-11-17T15:25:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bundler.git/commit/?id=f160d15fe4e1cb25fad6a34ed9abd10b21f587f8'/>
<id>f160d15fe4e1cb25fad6a34ed9abd10b21f587f8</id>
<content type='text'>
6790: Fix multiple source warning messages from `error` to `warn` r=greysteil a=jlw

### What was the end-user problem that led to this PR?

I've been working on a few repos for most of this year that use a privately-hosted gem with the same name (but completely different purpose) as a gem hosted at rubygems.org - whenever I start with a clean copy and `bundle install` for the first time, I am presented with a warning in red that the gem was found in multiple sources. The red text makes me think that something went wrong, even though bundler did exactly what I wanted it to do.

The user experience is wrong - a warning should not be red.

### What was your diagnosis of the problem?

When I looked at the source, I saw immediately that the warning was using `Bundler.ui.error` instead of `Bundler.ui.warn`.

This is a bug fix with a limited lifespan - after setting up a local copy of bundler I see that 2.0's handling of multiple sources A) is smarter and bypasses the error in most of the repos where I saw it with bundler 1.x; and B) fails early with a different error message in the remaining repos.

### What is your fix for the problem, implemented in this PR?

The fix is simply switching to `Bundler.ui.warn` in this case.

### Why did you choose this fix out of the possible options?

_I didn't see any other possible options._


Co-authored-by: Jeremy Weathers &lt;jeremy@codekindly.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
6790: Fix multiple source warning messages from `error` to `warn` r=greysteil a=jlw

### What was the end-user problem that led to this PR?

I've been working on a few repos for most of this year that use a privately-hosted gem with the same name (but completely different purpose) as a gem hosted at rubygems.org - whenever I start with a clean copy and `bundle install` for the first time, I am presented with a warning in red that the gem was found in multiple sources. The red text makes me think that something went wrong, even though bundler did exactly what I wanted it to do.

The user experience is wrong - a warning should not be red.

### What was your diagnosis of the problem?

When I looked at the source, I saw immediately that the warning was using `Bundler.ui.error` instead of `Bundler.ui.warn`.

This is a bug fix with a limited lifespan - after setting up a local copy of bundler I see that 2.0's handling of multiple sources A) is smarter and bypasses the error in most of the repos where I saw it with bundler 1.x; and B) fails early with a different error message in the remaining repos.

### What is your fix for the problem, implemented in this PR?

The fix is simply switching to `Bundler.ui.warn` in this case.

### Why did you choose this fix out of the possible options?

_I didn't see any other possible options._


Co-authored-by: Jeremy Weathers &lt;jeremy@codekindly.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix multiple source warning messages from `error` to `warn`</title>
<updated>2018-11-16T23:11:03+00:00</updated>
<author>
<name>Jeremy Weathers</name>
<email>jeremy@codekindly.com</email>
</author>
<published>2018-11-16T23:08:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bundler.git/commit/?id=67320924db1f1910b17fae0a9268b02077874d26'/>
<id>67320924db1f1910b17fae0a9268b02077874d26</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #6775</title>
<updated>2018-11-16T10:37:20+00:00</updated>
<author>
<name>Bundlerbot</name>
<email>bot@bundler.io</email>
</author>
<published>2018-11-16T10:37:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bundler.git/commit/?id=05b552ccafb6fc6492e498edaeddd0979657c517'/>
<id>05b552ccafb6fc6492e498edaeddd0979657c517</id>
<content type='text'>
6775: [Plugin::Index] Only register each plugin once for a given hook r=colby-swandale a=segiddins

### What was the end-user problem that led to this PR?

The problem was running `plugin install` twice for a plugin withs hooks would cause that hook to be registered twice.

Closes #6771.

### What was your diagnosis of the problem?

My diagnosis was a plugin's hooks should only be run once per event.

### What is your fix for the problem, implemented in this PR?

My fix is to `uniq` the list of plugins registered for each event.

Co-authored-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;
Co-authored-by: Olle Jonsson &lt;olle.jonsson@gmail.com&gt;
Co-authored-by: Colby Swandale &lt;me@colby.fyi&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
6775: [Plugin::Index] Only register each plugin once for a given hook r=colby-swandale a=segiddins

### What was the end-user problem that led to this PR?

The problem was running `plugin install` twice for a plugin withs hooks would cause that hook to be registered twice.

Closes #6771.

### What was your diagnosis of the problem?

My diagnosis was a plugin's hooks should only be run once per event.

### What is your fix for the problem, implemented in this PR?

My fix is to `uniq` the list of plugins registered for each event.

Co-authored-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;
Co-authored-by: Olle Jonsson &lt;olle.jonsson@gmail.com&gt;
Co-authored-by: Colby Swandale &lt;me@colby.fyi&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #6743</title>
<updated>2018-11-16T02:44:32+00:00</updated>
<author>
<name>Bundlerbot</name>
<email>bot@bundler.io</email>
</author>
<published>2018-11-16T02:44:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bundler.git/commit/?id=172ec59db53ec05a91c0d9eb72e2d715ae82f3c0'/>
<id>172ec59db53ec05a91c0d9eb72e2d715ae82f3c0</id>
<content type='text'>
6743: Support file structure of ruby core repository. r=hsbt a=hsbt

### What was the end-user problem that led to this PR?

In the ruby core repository, I put bundler executable and bundler libraries under the `bin` and `lib` directories. It breaks the current behavior.

### What is your fix for the problem, implemented in this PR?

Support the structure of ruby core repository.



Co-authored-by: SHIBATA Hiroshi &lt;hsbt@ruby-lang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
6743: Support file structure of ruby core repository. r=hsbt a=hsbt

### What was the end-user problem that led to this PR?

In the ruby core repository, I put bundler executable and bundler libraries under the `bin` and `lib` directories. It breaks the current behavior.

### What is your fix for the problem, implemented in this PR?

Support the structure of ruby core repository.



Co-authored-by: SHIBATA Hiroshi &lt;hsbt@ruby-lang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Plugin::Index] Only register each plugin once for a given hook</title>
<updated>2018-11-06T06:52:18+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2018-11-06T06:52:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bundler.git/commit/?id=a0a599ad3bd74e5fe51906d5cb5fd4405258976c'/>
<id>a0a599ad3bd74e5fe51906d5cb5fd4405258976c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix indentation of bundler executable</title>
<updated>2018-11-06T06:24:37+00:00</updated>
<author>
<name>meganemura</name>
<email>meganemura@users.noreply.github.com</email>
</author>
<published>2018-11-06T06:24:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bundler.git/commit/?id=49218cc6e3c222a9295a1c1bb7cb2c23003401ad'/>
<id>49218cc6e3c222a9295a1c1bb7cb2c23003401ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #6769</title>
<updated>2018-10-30T01:44:34+00:00</updated>
<author>
<name>Bundlerbot</name>
<email>bot@bundler.io</email>
</author>
<published>2018-10-30T01:44:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bundler.git/commit/?id=70f2afe1cfadfe888d6bd1100fac6672dd7baab6'/>
<id>70f2afe1cfadfe888d6bd1100fac6672dd7baab6</id>
<content type='text'>
6769: Fix `remove` when block method appears in gem name r=segiddins a=dduugg

Thanks so much for the contribution!
To make reviewing this PR a bit easier, please fill out answers to the following questions.

### What was the end-user problem that led to this PR?

https://github.com/bundler/bundler/issues/6768

### What was your diagnosis of the problem?

`remove_nested_blocks` considers any appearance of text matching a block method (`group source env install_if`) to be an occurrence of a nested block.

### What is your fix for the problem, implemented in this PR?

`remove_nested_blocks` should only reduce the scope of where a nested block method can occur.

### Why did you choose this fix out of the possible options?

Another approach would use word delimiters rather than `starts_with?` to find nested block methods, but this is probably fine.


Co-authored-by: Douglas Eichelberger &lt;dduugg@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
6769: Fix `remove` when block method appears in gem name r=segiddins a=dduugg

Thanks so much for the contribution!
To make reviewing this PR a bit easier, please fill out answers to the following questions.

### What was the end-user problem that led to this PR?

https://github.com/bundler/bundler/issues/6768

### What was your diagnosis of the problem?

`remove_nested_blocks` considers any appearance of text matching a block method (`group source env install_if`) to be an occurrence of a nested block.

### What is your fix for the problem, implemented in this PR?

`remove_nested_blocks` should only reduce the scope of where a nested block method can occur.

### Why did you choose this fix out of the possible options?

Another approach would use word delimiters rather than `starts_with?` to find nested block methods, but this is probably fine.


Co-authored-by: Douglas Eichelberger &lt;dduugg@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix error when gem name includes block method name</title>
<updated>2018-10-29T20:09:52+00:00</updated>
<author>
<name>Douglas Eichelberger</name>
<email>dduugg@gmail.com</email>
</author>
<published>2018-10-29T19:25:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bundler.git/commit/?id=ec535a09549ba86c2e754b5f3865dfb8e7616792'/>
<id>ec535a09549ba86c2e754b5f3865dfb8e7616792</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove more unnecessary stuff</title>
<updated>2018-10-26T19:26:41+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2018-10-26T19:26:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bundler.git/commit/?id=6a0da623dca36adfa573fee9e6e657718c6f5dd7'/>
<id>6a0da623dca36adfa573fee9e6e657718c6f5dd7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix error with path objects in array</title>
<updated>2018-10-25T17:43:46+00:00</updated>
<author>
<name>Alex Gordon</name>
<email>agordon@sessionm.com</email>
</author>
<published>2018-10-25T17:43:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bundler.git/commit/?id=30c44265e7d883c9fbfbf3a18a9ff5cbc03c7486'/>
<id>30c44265e7d883c9fbfbf3a18a9ff5cbc03c7486</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
