<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/spec/bundler/commands/lock_spec.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Merge RubyGems-3.6.9 and Bundler-2.6.9</title>
<updated>2025-05-22T16:20:28+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-05-22T07:15:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=616771e34e651d2a09ab3dad77d826c2100512e8'/>
<id>616771e34e651d2a09ab3dad77d826c2100512e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems-3.6.8 and Bundler-2.6.8</title>
<updated>2025-05-22T16:20:28+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-05-22T07:14:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d766eceb48792e938ed4a2e303df7027e3c43c1e'/>
<id>d766eceb48792e938ed4a2e303df7027e3c43c1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems-3.6.6 and Bundler-2.6.6</title>
<updated>2025-04-09T00:54:29+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-04-09T00:19:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=db2bf9f078c21b9e0234a736214ed74642d9f795'/>
<id>db2bf9f078c21b9e0234a736214ed74642d9f795</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems-3.6.4 and Bundler-2.6.4</title>
<updated>2025-02-21T00:50:20+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-02-21T00:27:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a0025b6e5d440139ebc16a555cddb4dc9dd45449'/>
<id>a0025b6e5d440139ebc16a555cddb4dc9dd45449</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix `bundle lock --add-checksums` when gems are already installed</title>
<updated>2024-12-16T19:51:16+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-12-13T18:17:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=29d3ea1e84d44335d998cadaf7cf3b45270a962e'/>
<id>29d3ea1e84d44335d998cadaf7cf3b45270a962e</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/a087c452ad
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/a087c452ad
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix `bundle lock --add-checksums`</title>
<updated>2024-11-25T18:14:32+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-11-20T10:59:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=62b9da7088fa54e9817efc0db1c5d6ddab438baa'/>
<id>62b9da7088fa54e9817efc0db1c5d6ddab438baa</id>
<content type='text'>
Due to a typo in the spec, the issue was not caught initially. If
Bundler does not need to re-resolve, `bundle lock` is a noop so Bundler
does not add checksums.

To fix the issue, we do something similar to what `bundle install` does,
just without actually installation. First set the domain (local or
remote) according to whether a re-resolve is necessary, and then
materialize lazy specifications into real specifications, so that
checksums are actually fetched from each source.

https://github.com/rubygems/rubygems/commit/84b6f4ee96
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to a typo in the spec, the issue was not caught initially. If
Bundler does not need to re-resolve, `bundle lock` is a noop so Bundler
does not add checksums.

To fix the issue, we do something similar to what `bundle install` does,
just without actually installation. First set the domain (local or
remote) according to whether a re-resolve is necessary, and then
materialize lazy specifications into real specifications, so that
checksums are actually fetched from each source.

https://github.com/rubygems/rubygems/commit/84b6f4ee96
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Add a `lockfile_checksums` configuration to include checksums in fresh lockfiles</title>
<updated>2024-11-11T19:24:42+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-11-07T13:05:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=db0c7be6423dbe8ddcb8a525d7a72e0c4c95e72e'/>
<id>db0c7be6423dbe8ddcb8a525d7a72e0c4c95e72e</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/50b9ef8589
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/50b9ef8589
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Add `bundle lock --add-checksums` to add checksums to an existing lockfile</title>
<updated>2024-11-08T10:27:03+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-11-06T17:42:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f7b334e002eba25e386917337771b65bed5297f8'/>
<id>f7b334e002eba25e386917337771b65bed5297f8</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/0a9c1ce60d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/0a9c1ce60d
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Reject unknown platforms when running `bundle lock --add-platform`</title>
<updated>2024-08-29T09:59:26+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-08-26T14:33:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6dee0d3fb092924afe1c7e1df5e9294a8ae23b15'/>
<id>6dee0d3fb092924afe1c7e1df5e9294a8ae23b15</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/1f93a2bdc5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/1f93a2bdc5
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Emit progress to stderr when `--print` is passed to `bundle lock`</title>
<updated>2024-08-26T14:56:26+00:00</updated>
<author>
<name>Matt Brictson</name>
<email>matt@mattbrictson.com</email>
</author>
<published>2024-08-23T00:29:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7c794c287ec727f4634579556228cc018056e6f9'/>
<id>7c794c287ec727f4634579556228cc018056e6f9</id>
<content type='text'>
`bundle lock --print --update` can take a long time to fetch sources and
resolve the lock file.

Before, `--print` caused output to be completely silenced, so nothing
was printed at all until the resolved lock file is finally emitted to
stdout.

With this change, `--print` now prints progress to stderr. E.g.:

```
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
```

This provides a better user experience, especially when
`lock --print --update` takes several seconds or more.

The lock file is still printed to stdout, so tools consuming the lock
file on stdout will not be affected.

https://github.com/rubygems/rubygems/commit/6719baa700
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`bundle lock --print --update` can take a long time to fetch sources and
resolve the lock file.

Before, `--print` caused output to be completely silenced, so nothing
was printed at all until the resolved lock file is finally emitted to
stdout.

With this change, `--print` now prints progress to stderr. E.g.:

```
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
```

This provides a better user experience, especially when
`lock --print --update` takes several seconds or more.

The lock file is still printed to stdout, so tools consuming the lock
file on stdout will not be affected.

https://github.com/rubygems/rubygems/commit/6719baa700
</pre>
</div>
</content>
</entry>
</feed>
