<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/boklm/rbm, branch bug_40001</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 40001: Add a container script</title>
<updated>2020-06-20T15:49:33+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2020-06-20T15:49:33+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=3a5c843463cb0e8cafe834af4d053e51256a360d'/>
<id>3a5c843463cb0e8cafe834af4d053e51256a360d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 40001: Add a container script</title>
<updated>2020-06-18T17:32:08+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2020-06-16T17:57:19+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=4f7fb610bbd745d54177f54e8fe62188857f66d9'/>
<id>4f7fb610bbd745d54177f54e8fe62188857f66d9</id>
<content type='text'>
This script can be used to start/stop containers during rbm builds.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This script can be used to start/stop containers during rbm builds.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 40001: Add the rbmdir config option</title>
<updated>2020-06-18T17:31:43+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2020-06-16T17:43:04+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=126d009a677f0ce468f0349770f5f799cea2f5be'/>
<id>126d009a677f0ce468f0349770f5f799cea2f5be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 40001: export exit_error in lib/RBM.pm</title>
<updated>2020-06-18T17:31:05+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2020-06-16T17:39:12+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=cf684dfc4fb65329482dacdd1fd165c83f1d61a2'/>
<id>cf684dfc4fb65329482dacdd1fd165c83f1d61a2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 28396: Create tmp files in rbm_tmp_dir instead of tmp_dir</title>
<updated>2020-06-12T15:01:43+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2020-06-04T18:38:30+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=30188a4ffe947fb728c86600b793df775cc171e7'/>
<id>30188a4ffe947fb728c86600b793df775cc171e7</id>
<content type='text'>
rbm_tmp_dir is a directory inside tmp_dir that is automatically removed
when rbm exits.

We also fix an issue in urlget when used within the exec script of an
input file. In this case the input_files_id was depending on the value
of tmp_dir because it is used in urlget. We fix that be setting
getting_input_files_id when computing input_files ids, so that urlget
can avoid using tmp_dir in this case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rbm_tmp_dir is a directory inside tmp_dir that is automatically removed
when rbm exits.

We also fix an issue in urlget when used within the exec script of an
input file. In this case the input_files_id was depending on the value
of tmp_dir because it is used in urlget. We fix that be setting
getting_input_files_id when computing input_files ids, so that urlget
can avoid using tmp_dir in this case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 33991: Remove unused features</title>
<updated>2020-06-04T17:03:36+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=24d9a52fe39538e9c5bfdca91fa7301bf91bf690'/>
<id>24d9a52fe39538e9c5bfdca91fa7301bf91bf690</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 34320: Set TMPDIR when running scripts</title>
<updated>2020-05-29T18:58:42+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2020-05-29T18:34:23+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=c50d8e22c4fcddc4ed567815b1b0135419c2a53c'/>
<id>c50d8e22c4fcddc4ed567815b1b0135419c2a53c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 33993: Check type of target, target_prepend, target_append</title>
<updated>2020-04-27T11:57:13+00:00</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@torproject.org</email>
</author>
<published>2020-04-25T10:46:22+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/boklm/rbm.git/commit/?id=5f8c0ac72abfa72cc80d2ff24627c3e3f8db963f'/>
<id>5f8c0ac72abfa72cc80d2ff24627c3e3f8db963f</id>
<content type='text'>
Exit with an error message if target, target_prepend or target_append
defined in input_files is not an array.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Exit with an error message if target, target_prepend or target_append
defined in input_files is not an array.
</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>
</feed>
