<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/tool/lib/vcs.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>vcs.rb: do not reference the constant before assignment</title>
<updated>2022-11-01T02:40:32+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-11-01T02:23:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aa8c6759ee7d740939eab9ee0e94260aa8f4f010'/>
<id>aa8c6759ee7d740939eab9ee0e94260aa8f4f010</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vcs.rb: copy safe directory configuration</title>
<updated>2022-10-30T08:06:33+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-30T06:05:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=00d5b7ce7c2e72170b7f563b9de0e7ac4bc8f772'/>
<id>00d5b7ce7c2e72170b7f563b9de0e7ac4bc8f772</id>
<content type='text'>
Now revision.tmp will be regenerated always and every times, even if
the recent file exists in the source directory, as far as using git.
On the other hand, VirtualBox mounts shared folders as root, and git
rejects the repository there as dubious ownership.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now revision.tmp will be regenerated always and every times, even if
the recent file exists in the source directory, as far as using git.
On the other hand, VirtualBox mounts shared folders as root, and git
rejects the repository there as dubious ownership.
</pre>
</div>
</content>
</entry>
<entry>
<title>vcs.rb: prettify debug print</title>
<updated>2022-10-30T08:06:33+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-30T03:39:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b64514f132615c00982d008bb2d7d2d1230d4f1c'/>
<id>b64514f132615c00982d008bb2d7d2d1230d4f1c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `--zone` option to `VCS`</title>
<updated>2022-09-30T01:39:43+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-09-29T11:08:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ab31d2e69fc8602514b19c90d3f6cc3d6893eb58'/>
<id>ab31d2e69fc8602514b19c90d3f6cc3d6893eb58</id>
<content type='text'>
Which controls the timezone offset for `RUBY_RELEASE_DATE`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Which controls the timezone offset for `RUBY_RELEASE_DATE`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce `VCS::Null` for fallback</title>
<updated>2022-09-30T01:39:42+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-09-29T11:03:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5a5644dadcd5e00b571d0029af4d96849e254cd4'/>
<id>5a5644dadcd5e00b571d0029af4d96849e254cd4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check for the availability of the command when detecting</title>
<updated>2022-09-30T01:39:42+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-09-30T01:17:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f70ba9cf805dc58d993e60fe2bb06d6c5e2f08cb'/>
<id>f70ba9cf805dc58d993e60fe2bb06d6c5e2f08cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Pull up `VCS.short_revision` from `VCS::SVN`</title>
<updated>2022-09-30T00:21:02+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-09-29T08:31:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=58b3a535cc899760aa69055fa54f4fcb85570dcd'/>
<id>58b3a535cc899760aa69055fa54f4fcb85570dcd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove git command existence check again</title>
<updated>2022-09-17T14:05:10+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-09-17T14:05:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=922e61fcc22abfc86a9805ccf52ba9f8edeca17c'/>
<id>922e61fcc22abfc86a9805ccf52ba9f8edeca17c</id>
<content type='text'>
With 33c6dd2cc89c27bbf406508ec39038a181fb99bc, it's no longer necessary.

This is what I got on openbsd-current:

```
-bash-5.1$ git -v
unknown option: -v
usage: git [--version] [--help] [-C &lt;path&gt;] [-c &lt;name&gt;=&lt;value&gt;]
           [--exec-path[=&lt;path&gt;]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=&lt;path&gt;] [--work-tree=&lt;path&gt;] [--namespace=&lt;name&gt;]
           [--super-prefix=&lt;path&gt;] [--config-env=&lt;name&gt;=&lt;envvar&gt;]
           &lt;command&gt; [&lt;args&gt;]
-bash-5.1$ git version
git version 2.35.1
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With 33c6dd2cc89c27bbf406508ec39038a181fb99bc, it's no longer necessary.

This is what I got on openbsd-current:

```
-bash-5.1$ git -v
unknown option: -v
usage: git [--version] [--help] [-C &lt;path&gt;] [-c &lt;name&gt;=&lt;value&gt;]
           [--exec-path[=&lt;path&gt;]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=&lt;path&gt;] [--work-tree=&lt;path&gt;] [--namespace=&lt;name&gt;]
           [--super-prefix=&lt;path&gt;] [--config-env=&lt;name&gt;=&lt;envvar&gt;]
           &lt;command&gt; [&lt;args&gt;]
-bash-5.1$ git version
git version 2.35.1
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Fallback to VCS.release_date on VCS::NotFoundError</title>
<updated>2022-09-17T13:24:10+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-09-17T13:24:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=33c6dd2cc89c27bbf406508ec39038a181fb99bc'/>
<id>33c6dd2cc89c27bbf406508ec39038a181fb99bc</id>
<content type='text'>
when -q is given.

One of the RubyCI servers, freebsd12, had a broken git environment:

```
$ git show
fatal: detected dubious ownership in repository at '/usr/home/chkbuild/chkbuild/tmp/build/20220917T123002Z/ruby'
To add an exception for this directory, call:

        git config --global --add safe.directory /usr/home/chkbuild/chkbuild/tmp/build/20220917T123002Z/ruby
```

tool/lib/vcs.rb doesn't work normally for that server.
Even for such cases, we'd like to generate a usable revision.h.

So this patch lets revision.h fallback to default VCS.release_date
when VCS::NotFoundError is raised.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
when -q is given.

One of the RubyCI servers, freebsd12, had a broken git environment:

```
$ git show
fatal: detected dubious ownership in repository at '/usr/home/chkbuild/chkbuild/tmp/build/20220917T123002Z/ruby'
To add an exception for this directory, call:

        git config --global --add safe.directory /usr/home/chkbuild/chkbuild/tmp/build/20220917T123002Z/ruby
```

tool/lib/vcs.rb doesn't work normally for that server.
Even for such cases, we'd like to generate a usable revision.h.

So this patch lets revision.h fallback to default VCS.release_date
when VCS::NotFoundError is raised.
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto-generate the release date on version.h from git CommitDate (#6382)</title>
<updated>2022-09-17T12:16:06+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-09-17T12:16:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=38a7a13ac6ed6bba2584def7d7121257eb85e051'/>
<id>38a7a13ac6ed6bba2584def7d7121257eb85e051</id>
<content type='text'>
* Auto-generate the release date on version.h

from git CommitDate

* Generate revision.h on mswin</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Auto-generate the release date on version.h

from git CommitDate

* Generate revision.h on mswin</pre>
</div>
</content>
</entry>
</feed>
