<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/boklm/rbm, branch bug_33991</title>
<subtitle>Nicolas' rbm repository</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/'/>
<entry>
<title>fixup! Bug 33991: Remove unused features</title>
<updated>2020-05-29T19:15:50+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2020-05-29T19:15:50+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=25811fa54130c554ec7147d15986cb3d052b368e'/>
<id>25811fa54130c554ec7147d15986cb3d052b368e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 33991: Remove unused features</title>
<updated>2020-04-25T12:32:27+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2020-04-25T12:32:27+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=734c902348cf0f912f23465ad802cbffafbfdf85'/>
<id>734c902348cf0f912f23465ad802cbffafbfdf85</id>
<content type='text'>
For simplification, we remove some unused features. Those features can
still be reimplemented externally if needed.

We remove the following options:
 - version_command
 - rpm
 - srpm
 - rpmspec
 - rpm_rel
 - debian_create
 - deb
 - deb_src
 - use_pbuilder
 - debian_revision
 - options

And the following commands:
 - rpmspec
 - rpm
 - srpm
 - deb-src
 - deb
 - pkg
 - publish
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For simplification, we remove some unused features. Those features can
still be reimplemented externally if needed.

We remove the following options:
 - version_command
 - rpm
 - srpm
 - rpmspec
 - rpm_rel
 - debian_create
 - deb
 - deb_src
 - use_pbuilder
 - debian_revision
 - options

And the following commands:
 - rpmspec
 - rpm
 - srpm
 - deb-src
 - deb
 - pkg
 - publish
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 33990: Initialize step in non-build commands</title>
<updated>2020-04-24T15:34:13+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2020-04-24T14:01:23+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=18b396fb08ee9ee9311de7b8224197282f0935fe'/>
<id>18b396fb08ee9ee9311de7b8224197282f0935fe</id>
<content type='text'>
When using the build command, step gets initialized to 'build'. However
this was not done in some of the other non-build commands where the
value of step was left to rbm_init.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using the build command, step gets initialized to 'build'. However
this was not done in some of the other non-build commands where the
value of step was left to rbm_init.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 33283: Avoid computing sha256sum of files multiple times</title>
<updated>2020-02-12T17:36:24+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2020-02-12T15:09:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=e4f12abe9ed81050994b5345c21b988005259396'/>
<id>e4f12abe9ed81050994b5345c21b988005259396</id>
<content type='text'>
Instead, use the sha256file functon, which keeps the sha256sum of
files to avoid computing it twice. The function can now take a HASH as a
second argument, which can contain the key remove_cache indicating that
the sha256sum of a file should be cleared: we use this when we
find that a file has the wrong checksum and needs to be downloaded
again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead, use the sha256file functon, which keeps the sha256sum of
files to avoid computing it twice. The function can now take a HASH as a
second argument, which can contain the key remove_cache indicating that
the sha256sum of a file should be cleared: we use this when we
find that a file has the wrong checksum and needs to be downloaded
again.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 33283: Add caching for the exec template function</title>
<updated>2020-02-12T10:16:22+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2020-02-12T10:16:22+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=ce6b9136fc9e006536b34844946d67aa92cc0c21'/>
<id>ce6b9136fc9e006536b34844946d67aa92cc0c21</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 32527: Don't leave partially downloaded files in case of error</title>
<updated>2019-11-30T12:33:42+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2019-11-20T15:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=94fce31e54d3fd491cdb3e3b9401919c0e841360'/>
<id>94fce31e54d3fd491cdb3e3b9401919c0e841360</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>
</feed>
