<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git, branch bschubert/fix-atomic-move-git-repo</title>
<subtitle>gitlab.com: buildstream/buildstream.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/'/>
<entry>
<title>sources/pip.py: Use move_atomic instead of manual os.rename</title>
<updated>2018-11-12T14:33:03+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>ben.c.schubert@gmail.com</email>
</author>
<published>2018-11-09T14:09:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=910169777dc8d68ce3545579068bed5c13ffceb2'/>
<id>910169777dc8d68ce3545579068bed5c13ffceb2</id>
<content type='text'>
This uses move_atomic insteand of the manual os.rename and manual error
checking and throws a SourceError for consistency with other modules.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This uses move_atomic insteand of the manual os.rename and manual error
checking and throws a SourceError for consistency with other modules.
</pre>
</div>
</content>
</entry>
<entry>
<title>cascache.py: use move_atomic instead of manual error checking</title>
<updated>2018-11-12T14:33:03+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>ben.c.schubert@gmail.com</email>
</author>
<published>2018-11-09T14:04:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=f0c17aa7adcdad026f939f385ccf48afc41192bd'/>
<id>f0c17aa7adcdad026f939f385ccf48afc41192bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Extract atomic move function to utils.py</title>
<updated>2018-11-12T14:33:03+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>ben.c.schubert@gmail.com</email>
</author>
<published>2018-11-09T10:41:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=6f3b0f95d65e6c682c9fccfd47adb2f110423e13'/>
<id>6f3b0f95d65e6c682c9fccfd47adb2f110423e13</id>
<content type='text'>
Moving atomically a file/directory can be tricky since different
errors might be raised for the same underlying problem.

Having a utility function to reduce this discrepancies will help
in ensuring we have correct behavior
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Moving atomically a file/directory can be tricky since different
errors might be raised for the same underlying problem.

Having a utility function to reduce this discrepancies will help
in ensuring we have correct behavior
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix os.rename in git source element to correctly handle error codes</title>
<updated>2018-11-12T14:33:03+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>ben.c.schubert@gmail.com</email>
</author>
<published>2018-11-07T13:07:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=f549a9e0e676b69877786b41cae7f52a6b7020b4'/>
<id>f549a9e0e676b69877786b41cae7f52a6b7020b4</id>
<content type='text'>
According to the documentation
(https://www.unix.com/man-page/POSIX/3posix/rename/), when the directory
already is there, either EEXIST or ENOTEMPTY could be thrown.

Previously only ENOTEMPTY was checked.

Done:
  - Separated the move into its own function
  - Check for both errors
  - Create unit tests for it, covering most test cases
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to the documentation
(https://www.unix.com/man-page/POSIX/3posix/rename/), when the directory
already is there, either EEXIST or ENOTEMPTY could be thrown.

Previously only ENOTEMPTY was checked.

Done:
  - Separated the move into its own function
  - Check for both errors
  - Create unit tests for it, covering most test cases
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/frontend/buildtrack.py: check for success after invocation</title>
<updated>2018-11-12T14:33:03+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>ben.c.schubert@gmail.com</email>
</author>
<published>2018-11-12T14:31:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=1778e69e7ec1a43719be641e1c3257f18450fc6b'/>
<id>1778e69e7ec1a43719be641e1c3257f18450fc6b</id>
<content type='text'>
Previously the result of the first call in test_build_track was not
checked to be successful, which would lead to potential erros later on
that were hard to debug.

Let's check it everytime
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously the result of the first call in test_build_track was not
checked to be successful, which would lead to potential erros later on
that were hard to debug.

Let's check it everytime
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'bschubert/fix-silence-stopiteration-pep-0479' into 'master'</title>
<updated>2018-11-12T11:05:15+00:00</updated>
<author>
<name>richardmaw-codethink</name>
<email>richard.maw@codethink.co.uk</email>
</author>
<published>2018-11-12T11:05:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=e6e034516ad8050b76f271b130d66d3a135223b8'/>
<id>e6e034516ad8050b76f271b130d66d3a135223b8</id>
<content type='text'>
source.py: don't let StopIteration propagate to silence() contextmanager

See merge request BuildStream/buildstream!945</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
source.py: don't let StopIteration propagate to silence() contextmanager

See merge request BuildStream/buildstream!945</pre>
</div>
</content>
</entry>
<entry>
<title>source.py: don't let StopIteration propagate to silence() contextmanager</title>
<updated>2018-11-09T16:53:42+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>ben.c.schubert@gmail.com</email>
</author>
<published>2018-11-09T16:11:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=6f4351ec88cc4e3af2b548e9c05cdf295dd578a7'/>
<id>6f4351ec88cc4e3af2b548e9c05cdf295dd578a7</id>
<content type='text'>
As per PEP 0479 (https://www.python.org/dev/peps/pep-0479/),
StopIteration thrown in context managers are not valid starting from
Python 3.7.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As per PEP 0479 (https://www.python.org/dev/peps/pep-0479/),
StopIteration thrown in context managers are not valid starting from
Python 3.7.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'jmac/cas_to_cas_v2' into 'master'</title>
<updated>2018-11-09T15:25:46+00:00</updated>
<author>
<name>Jim MacArthur</name>
<email>jim+gitlab@mode7.co.uk</email>
</author>
<published>2018-11-09T15:25:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=7ce6581bef58637c28d72c95adfca8feb1271d67'/>
<id>7ce6581bef58637c28d72c95adfca8feb1271d67</id>
<content type='text'>
Direct CAS-to-CAS import

Closes #574

See merge request BuildStream/buildstream!911</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Direct CAS-to-CAS import

Closes #574

See merge request BuildStream/buildstream!911</pre>
</div>
</content>
</entry>
<entry>
<title>virtual_directory_import.py: New test</title>
<updated>2018-11-09T14:58:22+00:00</updated>
<author>
<name>Jim MacArthur</name>
<email>jim.macarthur@codethink.co.uk</email>
</author>
<published>2018-10-30T15:43:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=78691fa0337130e93a92f102122228a8970df5c3'/>
<id>78691fa0337130e93a92f102122228a8970df5c3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>_casbaseddirectory: Fix order of list_modified_paths</title>
<updated>2018-11-09T14:58:22+00:00</updated>
<author>
<name>Jim MacArthur</name>
<email>jim.macarthur@codethink.co.uk</email>
</author>
<published>2018-11-01T13:29:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=b93100ec47abcf10b355c0d1d4fd9a502e343c52'/>
<id>b93100ec47abcf10b355c0d1d4fd9a502e343c52</id>
<content type='text'>
This will now return paths in the same order as list_relative_paths.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will now return paths in the same order as list_relative_paths.
</pre>
</div>
</content>
</entry>
</feed>
