<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/bundler/cli/lock.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.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>[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] Most of the times, eagerly resolving is not necessary</title>
<updated>2024-11-25T18:14:31+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-11-20T12:03:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c215e95572d0e4f2b682634fd7ed8c8418e07eb1'/>
<id>c215e95572d0e4f2b682634fd7ed8c8418e07eb1</id>
<content type='text'>
All we need is to setup remote or local sources appropriately.

https://github.com/rubygems/rubygems/commit/3ceff46a2a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All we need is to setup remote or local sources appropriately.

https://github.com/rubygems/rubygems/commit/3ceff46a2a
</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>Normalize lockfile platforms</title>
<updated>2024-10-26T09:44:15+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-07-26T09:50:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5fa491b4059680217d51c66c9a21395aa34297b7'/>
<id>5fa491b4059680217d51c66c9a21395aa34297b7</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] 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>
<entry>
<title>[rubygems/rubygems] Refactor lockfile generation</title>
<updated>2024-02-08T05:43:56+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2023-03-02T19:18:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=24d5e7176e80cecfc38daf80020fb85f1144083b'/>
<id>24d5e7176e80cecfc38daf80020fb85f1144083b</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/6a0c03c77f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/6a0c03c77f
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Refactor: Move filesystem access into Definition class</title>
<updated>2023-12-12T01:08:20+00:00</updated>
<author>
<name>Franz Liedke</name>
<email>franz@develophp.org</email>
</author>
<published>2023-12-02T19:03:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0653fb026cd2203158b7af1e8b9608911dce2860'/>
<id>0653fb026cd2203158b7af1e8b9608911dce2860</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/2720da2659
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/2720da2659
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] bundle lock: Always touch the lockfile</title>
<updated>2023-12-12T01:08:19+00:00</updated>
<author>
<name>Franz Liedke</name>
<email>franz@develophp.org</email>
</author>
<published>2023-12-02T18:54:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0ec88b54f34ee0b0197f963ad6a98a2390a91de7'/>
<id>0ec88b54f34ee0b0197f963ad6a98a2390a91de7</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/fd2e71dfdb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/fd2e71dfdb
</pre>
</div>
</content>
</entry>
</feed>
