<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/bundler/fetcher/index.rb, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[rubygems/rubygems] User bundler UA when downloading gems</title>
<updated>2023-11-15T08:33:14+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-10-22T20:25:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b69bbf588a3dd167d62dbb89f0cef25ebae4a7ea'/>
<id>b69bbf588a3dd167d62dbb89f0cef25ebae4a7ea</id>
<content type='text'>
Gem::RemoteFetcher uses Gem::Request, which adds the RubyGems UA.
Gem::RemoteFetcher is used to download gems, as well as the full index.
We would like the bundler UA to be used whenever bundler is making
requests.

This PR also avoids unsafely mutating the headers hash on the shared
`Gem::RemoteFetcher.fetcher` instance, which could cause corruption or
incorrect headers when making parallel requests. Instead, we create one
remote fetcher per rubygems remote, which is similar to the connection
segregation bundler is already doing

https://github.com/rubygems/rubygems/commit/f0e8dacdec
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Gem::RemoteFetcher uses Gem::Request, which adds the RubyGems UA.
Gem::RemoteFetcher is used to download gems, as well as the full index.
We would like the bundler UA to be used whenever bundler is making
requests.

This PR also avoids unsafely mutating the headers hash on the shared
`Gem::RemoteFetcher.fetcher` instance, which could cause corruption or
incorrect headers when making parallel requests. Instead, we create one
remote fetcher per rubygems remote, which is similar to the connection
segregation bundler is already doing

https://github.com/rubygems/rubygems/commit/f0e8dacdec
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Show better error when PAT can't authenticate to a private server</title>
<updated>2023-08-16T06:03:38+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2023-08-10T19:37:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fe240b672b709e800f2b4fb996f04f2005329dab'/>
<id>fe240b672b709e800f2b4fb996f04f2005329dab</id>
<content type='text'>
Before:

```
Fetching gem metadata from https://rubygems.org/........
Fetching source index from https://rubygems.pkg.github.com/my-org/

Bad username or password for https://x-access-token@rubygems.pkg.github.com/my-org/.
Please double-check your credentials and correct them.
```

After:

```
Fetching gem metadata from https://rubygems.org/........
Fetching source index from https://rubygems.pkg.github.com/my-org/

Access token could not be authenticated for https://x-access-token@rubygems.pkg.github.com/my-org/.
Make sure it's valid and has the necessary scopes configured.
```

https://github.com/rubygems/rubygems/commit/2ae69c964a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before:

```
Fetching gem metadata from https://rubygems.org/........
Fetching source index from https://rubygems.pkg.github.com/my-org/

Bad username or password for https://x-access-token@rubygems.pkg.github.com/my-org/.
Please double-check your credentials and correct them.
```

After:

```
Fetching gem metadata from https://rubygems.org/........
Fetching source index from https://rubygems.pkg.github.com/my-org/

Access token could not be authenticated for https://x-access-token@rubygems.pkg.github.com/my-org/.
Make sure it's valid and has the necessary scopes configured.
```

https://github.com/rubygems/rubygems/commit/2ae69c964a
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge rubygems/rubygems HEAD.</title>
<updated>2022-01-19T06:01:44+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2022-01-19T04:28:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d22511fd7595ef1819baa42851d598d95b8f4d00'/>
<id>d22511fd7595ef1819baa42851d598d95b8f4d00</id>
<content type='text'>
  Picked at 12aeef6ba9a3be0022be9934c1a3e4c46a03ed3a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Picked at 12aeef6ba9a3be0022be9934c1a3e4c46a03ed3a
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync latest bundler &amp; rubygems development version</title>
<updated>2021-07-07T04:30:20+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2021-05-28T10:47:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6e2240a2f954c84ed12357382c9c065ae4b91e11'/>
<id>6e2240a2f954c84ed12357382c9c065ae4b91e11</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge prepare version of Bundler 2.2.0</title>
<updated>2020-12-08T08:30:02+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2020-12-08T07:36:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=473f9d2df0ddd7fdb5cc73fa3ad49b2f19f22b06'/>
<id>473f9d2df0ddd7fdb5cc73fa3ad49b2f19f22b06</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge bundler-2.2.0.rc.2</title>
<updated>2020-10-15T08:19:02+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2020-10-15T04:20:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d386a58f6f1865aaa35eda5af55cff3ff3cca4ca'/>
<id>d386a58f6f1865aaa35eda5af55cff3ff3cca4ca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare to release bundler-2.1.0</title>
<updated>2019-12-15T07:41:10+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2019-12-14T10:49:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=38002a8adbd98266426940d829429a30af0622a4'/>
<id>38002a8adbd98266426940d829429a30af0622a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bundler/bundler] Use rubygems utility if available</title>
<updated>2019-08-03T00:29:55+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2019-05-28T06:45:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=81779e22469d89c38ee653e3de032144af0891f7'/>
<id>81779e22469d89c38ee653e3de032144af0891f7</id>
<content type='text'>
https://github.com/bundler/bundler/commit/7eccba0e52
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/bundler/bundler/commit/7eccba0e52
</pre>
</div>
</content>
</entry>
<entry>
<title>[bundler/bundler] Fix file:// handling under Windows</title>
<updated>2019-08-03T00:29:55+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2019-05-05T17:00:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e111f38f34ea6b48446a0c29e142ccf44cfff282'/>
<id>e111f38f34ea6b48446a0c29e142ccf44cfff282</id>
<content type='text'>
Windows paths do not start with a slash, so we add an extra slash to
separate the host from the path in file:// urls. Otherwise "D:" is
parsed as the host segment in the URI.

The path for those URLs now starts with "/", so we ignore that leading
character when using the URI's path.

This reduces Windows CI spec failures from 429 to 355.

https://github.com/bundler/bundler/commit/1b7e274cbc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Windows paths do not start with a slash, so we add an extra slash to
separate the host from the path in file:// urls. Otherwise "D:" is
parsed as the host segment in the URI.

The path for those URLs now starts with "/", so we ignore that leading
character when using the URI's path.

This reduces Windows CI spec failures from 429 to 355.

https://github.com/bundler/bundler/commit/1b7e274cbc
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge bundler master from upstream.</title>
<updated>2019-06-09T03:44:10+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2019-06-01T09:49:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8f37629519ad330032a38ac0e871b2912ed38a1b'/>
<id>8f37629519ad330032a38ac0e871b2912ed38a1b</id>
<content type='text'>
  Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0
</pre>
</div>
</content>
</entry>
</feed>
