<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/boklm/rbm, branch bug_27265_v4</title>
<subtitle>Nicolas' rbm repository</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/'/>
<entry>
<title>Bug 27265: fix output_dir value in sub-projects</title>
<updated>2019-11-27T16:37:51+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2018-08-22T10:34:40+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=03d53fcb0444fe9d752719bfbb62e3658d15d26d'/>
<id>03d53fcb0444fe9d752719bfbb62e3658d15d26d</id>
<content type='text'>
In the build_pkg call in input_files, we were setting the output_dir
option to the project's directory, causing this directory to be
incorrectly used as the output directory in some cases. But there is no
need to set output_dir at this point, so we can just remove it.

We also introduce a new feature allowing to set options for the current
project but not for the child projects listed in `input_files`. By
default the options are applied recursively to all projects. If some
options are defined under `norec/` then they are only applied on the
current project.

We use this feature in two places where we were setting the output_dir,
which removes the need to reset it in two places.

At the same time, we fix the `urlget()` call in input_files which was
incorrectly ignoring options.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the build_pkg call in input_files, we were setting the output_dir
option to the project's directory, causing this directory to be
incorrectly used as the output directory in some cases. But there is no
need to set output_dir at this point, so we can just remove it.

We also introduce a new feature allowing to set options for the current
project but not for the child projects listed in `input_files`. By
default the options are applied recursively to all projects. If some
options are defined under `norec/` then they are only applied on the
current project.

We use this feature in two places where we were setting the output_dir,
which removes the need to reset it in two places.

At the same time, we fix the `urlget()` call in input_files which was
incorrectly ignoring options.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 27265: add an error when we fail to download/create a file</title>
<updated>2019-11-27T16:37:48+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2018-08-22T10:24:23+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=ef4df05a484c746f33e361eb8d82d5fb85009c14'/>
<id>ef4df05a484c746f33e361eb8d82d5fb85009c14</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 31264: Remove timestamps from gzip headers</title>
<updated>2019-09-10T16:26:54+00:00</updated>
<author>
<name>JeremyRand</name>
<email>biolizard89@gmail.com</email>
</author>
<published>2019-07-30T22:34:19+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=5a41aae4a0d745f74b675d3c9c142b3d5fb3ca09'/>
<id>5a41aae4a0d745f74b675d3c9c142b3d5fb3ca09</id>
<content type='text'>
See https://wiki.debian.org/ReproducibleBuilds/TimestampsInGzipHeaders

Thanks to boklm for helping with this patch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://wiki.debian.org/ReproducibleBuilds/TimestampsInGzipHeaders

Thanks to boklm for helping with this patch.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 30480: Check that a signed tag object contains the expected tag name</title>
<updated>2019-05-24T15:48:26+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2019-05-16T10:38:08+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=e04f03f9626e993bb66d7784d258f95ca07bc769'/>
<id>e04f03f9626e993bb66d7784d258f95ca07bc769</id>
<content type='text'>
When checking the signature on a tag, we also need to check that the tag
is really the expected tag in order to avoid rollback attacks.

Thanks to Santiago Torres-Arias and Keving Gallagher from NYU for
reporting and helping to fix this issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When checking the signature on a tag, we also need to check that the tag
is really the expected tag in order to avoid rollback attacks.

Thanks to Santiago Torres-Arias and Keving Gallagher from NYU for
reporting and helping to fix this issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 30039: Add the target_append and target_prepend input_files options</title>
<updated>2019-04-04T17:13:53+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2019-04-04T17:11:56+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=87adfb7b7be7e7e0f437020dbf8a119673133412'/>
<id>87adfb7b7be7e7e0f437020dbf8a119673133412</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 29572: Update the test before running git checkout --detach</title>
<updated>2019-03-11T10:26:48+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2019-03-11T10:26:48+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=70d1ff3e7c1c5c69a1b4cdb61ee1b6b9e2a9bc4a'/>
<id>70d1ff3e7c1c5c69a1b4cdb61ee1b6b9e2a9bc4a</id>
<content type='text'>
The reason we don't run |git checkout --detach| in all cases is that it
fails when we cloned a repository without a master branch. To avoid
running it in this case, we were checking if HEAD is pointing to a
branch which has a corresponding file in the .git directory.

However it seems there are other cases where HEAD is pointing to a
branch which does not have a corresponding file in the .git directory.
Instead we now check that |git rev-parse --verify HEAD| does not return
an error, in which case we assume that |git checkout --detach| will not
produce an error too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The reason we don't run |git checkout --detach| in all cases is that it
fails when we cloned a repository without a master branch. To avoid
running it in this case, we were checking if HEAD is pointing to a
branch which has a corresponding file in the .git directory.

However it seems there are other cases where HEAD is pointing to a
branch which does not have a corresponding file in the .git directory.
Instead we now check that |git rev-parse --verify HEAD| does not return
an error, in which case we assume that |git checkout --detach| will not
produce an error too.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 29194: Set DEBIAN_FRONTEND=noninteractive</title>
<updated>2019-01-29T15:15:25+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2019-01-29T15:08:03+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=c61e6940a1824462648064898be0759dd1600414'/>
<id>c61e6940a1824462648064898be0759dd1600414</id>
<content type='text'>
Set DEBIAN_FRONTEND=noninteractive when using apt-get in install_package.
Also use the -q (quiet) argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set DEBIAN_FRONTEND=noninteractive when using apt-get in install_package.
Also use the -q (quiet) argument.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 28466: fix issue with git submodule URL changes</title>
<updated>2018-11-26T10:49:25+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2018-11-26T10:49:25+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=eb500fa9467fb4d7229c9ca87f202ef18603d023'/>
<id>eb500fa9467fb4d7229c9ca87f202ef18603d023</id>
<content type='text'>
We replace a call to:
  git submodule update --init
with calls to:
  git submodule init
  git submodule sync
  git submodule update

The call to `git submodule sync` is solving the issue that could occur
when a submodule URL is changing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We replace a call to:
  git submodule update --init
with calls to:
  git submodule init
  git submodule sync
  git submodule update

The call to `git submodule sync` is solving the issue that could occur
when a submodule URL is changing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 25746: fix git_submodule option with submodule in subdirectory</title>
<updated>2018-04-09T17:13:47+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2018-04-09T16:54:04+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=8adbc46dc9e8358abad75ac81faf4646d8165b9e'/>
<id>8adbc46dc9e8358abad75ac81faf4646d8165b9e</id>
<content type='text'>
To create an archive containing all submodules, we were creating a
temporary archive of each submodule before appending them to the main
archive. We were using the submodule path in the temporary archive
filename, which was failing if the submodule is in a subdirectory.
To avoid that, we are removing the path from the temporary archive's
filename and directly appending it to the main archive.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To create an archive containing all submodules, we were creating a
temporary archive of each submodule before appending them to the main
archive. We were using the submodule path in the temporary archive
filename, which was failing if the submodule is in a subdirectory.
To avoid that, we are removing the path from the temporary archive's
filename and directly appending it to the main archive.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 25435: use --no-auto-check-trustdb to avoid modifying gpg keyring files</title>
<updated>2018-03-07T07:20:44+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2018-03-06T20:27:39+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=db41d8e754ed8cd6cee7bca18d76d59f8f7f369b'/>
<id>db41d8e754ed8cd6cee7bca18d76d59f8f7f369b</id>
<content type='text'>
By default gpg will from time to time update its trust database. When
this happens it will also modify the keyring files to add some trust
information. To avoid this we add the --no-auto-check-trustdb option.

As we don't use the Web of Trust when we use a keyring file, we also
disable it using `--trust-model always`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By default gpg will from time to time update its trust database. When
this happens it will also modify the keyring files to add some trust
information. To avoid this we add the --no-auto-check-trustdb option.

As we don't use the Web of Trust when we use a keyring file, we also
disable it using `--trust-model always`.
</pre>
</div>
</content>
</entry>
</feed>
