<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git, branch push-protocol</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>_artifactcache/pushreceive.py: Do not list all refs</title>
<updated>2017-07-20T07:25:17+00:00</updated>
<author>
<name>Jürg Billeter</name>
<email>j@bitron.ch</email>
</author>
<published>2017-07-20T07:19:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=46d62c2169759ea8af3fce4bd9cdd75b168eb123'/>
<id>46d62c2169759ea8af3fce4bd9cdd75b168eb123</id>
<content type='text'>
The full ref list can easily exceed the maximum message size. Limit list
to refs being pushed.

Fixes #47
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The full ref list can easily exceed the maximum message size. Limit list
to refs being pushed.

Fixes #47
</pre>
</div>
</content>
</entry>
<entry>
<title>.gitlab-ci.yml: Install bzr to run tests</title>
<updated>2017-07-19T12:42:27+00:00</updated>
<author>
<name>Pedro Alvarez Piedehierro</name>
<email>palvarez89@gmail.com</email>
</author>
<published>2017-07-17T23:02:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=7f6ed26674bd567dd1ce63a3fe844eb6646d9c39'/>
<id>7f6ed26674bd567dd1ce63a3fe844eb6646d9c39</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: Fix Docker instructions</title>
<updated>2017-07-19T12:42:27+00:00</updated>
<author>
<name>Pedro Alvarez Piedehierro</name>
<email>palvarez89@gmail.com</email>
</author>
<published>2017-07-17T22:43:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=96fca9b272fe8ecd3443307fc8d5beb3b24cadcf'/>
<id>96fca9b272fe8ecd3443307fc8d5beb3b24cadcf</id>
<content type='text'>
Suggest the user to mount /etc/passwd inside the container to fix `bzr`
command.

The command `bzr` fails if the uid of the user using it doesn't exist,
giving, for example, the following back trace when running `bzr init`:

      File "/usr/lib64/python2.7/site-packages/bzrlib/lockdir.py", line 238, in _attempt_lock
	tmpname = self._create_pending_dir()
      File "/usr/lib64/python2.7/site-packages/bzrlib/lockdir.py", line 335, in _create_pending_dir
	info = LockHeldInfo.for_this_process(self.extra_holder_info)
      File "/usr/lib64/python2.7/site-packages/bzrlib/lockdir.py", line 779, in for_this_process
	user=get_username_for_lock_info(),
      File "/usr/lib64/python2.7/site-packages/bzrlib/lockdir.py", line 863, in get_username_for_lock_info
	return osutils.getuser_unicode()
      File "/usr/lib64/python2.7/site-packages/bzrlib/osutils.py", line 356, in _posix_getuser_unicode
	name = getpass.getuser()
      File "/usr/lib64/python2.7/getpass.py", line 158, in getuser
	return pwd.getpwuid(os.getuid())[0]
    KeyError: 'getpwuid(): uid not found: 1000'

To fix this there were 2 possible solutions:
- To run everything as rooat (or as another user) in the container. We
will not need to set the uid to use, making the instructions simpler.
The main problem is that the files stored in the host will probably
have a different owner, and the user will have problems with file
permissions.
- To ensure the uid of the current user also exists inside the
container.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suggest the user to mount /etc/passwd inside the container to fix `bzr`
command.

The command `bzr` fails if the uid of the user using it doesn't exist,
giving, for example, the following back trace when running `bzr init`:

      File "/usr/lib64/python2.7/site-packages/bzrlib/lockdir.py", line 238, in _attempt_lock
	tmpname = self._create_pending_dir()
      File "/usr/lib64/python2.7/site-packages/bzrlib/lockdir.py", line 335, in _create_pending_dir
	info = LockHeldInfo.for_this_process(self.extra_holder_info)
      File "/usr/lib64/python2.7/site-packages/bzrlib/lockdir.py", line 779, in for_this_process
	user=get_username_for_lock_info(),
      File "/usr/lib64/python2.7/site-packages/bzrlib/lockdir.py", line 863, in get_username_for_lock_info
	return osutils.getuser_unicode()
      File "/usr/lib64/python2.7/site-packages/bzrlib/osutils.py", line 356, in _posix_getuser_unicode
	name = getpass.getuser()
      File "/usr/lib64/python2.7/getpass.py", line 158, in getuser
	return pwd.getpwuid(os.getuid())[0]
    KeyError: 'getpwuid(): uid not found: 1000'

To fix this there were 2 possible solutions:
- To run everything as rooat (or as another user) in the container. We
will not need to set the uid to use, making the instructions simpler.
The main problem is that the files stored in the host will probably
have a different owner, and the user will have problems with file
permissions.
- To ensure the uid of the current user also exists inside the
container.
</pre>
</div>
</content>
</entry>
<entry>
<title>Dockerfile: Include bzr into the image</title>
<updated>2017-07-19T12:42:27+00:00</updated>
<author>
<name>Pedro Alvarez Piedehierro</name>
<email>palvarez89@gmail.com</email>
</author>
<published>2017-07-17T22:25:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=a19b98e95aa0f4402206a417347a8430c375b478'/>
<id>a19b98e95aa0f4402206a417347a8430c375b478</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dpkg_deploy.yaml: Removed a line of whitespace which had floating tabs</title>
<updated>2017-07-19T12:38:06+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-07-19T12:38:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=bcbd66a9ec5152dde54d0f875e415f64798a6da8'/>
<id>bcbd66a9ec5152dde54d0f875e415f64798a6da8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add documentation links to dpkg_build and dpkg_deploy elements</title>
<updated>2017-07-19T12:37:02+00:00</updated>
<author>
<name>Jonathan Maw</name>
<email>jonathan.maw@codethink.co.uk</email>
</author>
<published>2017-07-13T10:12:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=41de3419c3fe3852c973d58e4e2275337dfc31af'/>
<id>41de3419c3fe3852c973d58e4e2275337dfc31af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dpkg-deploy: Add an element that creates debian packages</title>
<updated>2017-07-19T12:37:02+00:00</updated>
<author>
<name>Jonathan Maw</name>
<email>jonathan.maw@codethink.co.uk</email>
</author>
<published>2017-06-23T17:28:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=97629ec8e4d06434716d5df54645914f895d0c14'/>
<id>97629ec8e4d06434716d5df54645914f895d0c14</id>
<content type='text'>
It takes public data from the input element and uses that to generate a
debian package.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It takes public data from the input element and uses that to generate a
debian package.
</pre>
</div>
</content>
</entry>
<entry>
<title>dpkg-build.py: Add a build element for debian sources</title>
<updated>2017-07-19T12:37:02+00:00</updated>
<author>
<name>Jonathan Maw</name>
<email>jonathan.maw@codethink.co.uk</email>
</author>
<published>2017-06-22T12:27:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=80c8bd737fc0e174983bd5caad7abe1461b90f03'/>
<id>80c8bd737fc0e174983bd5caad7abe1461b90f03</id>
<content type='text'>
It produces an artifact, plus write public data to provide enough
information to build a debian package out of the artifact.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It produces an artifact, plus write public data to provide enough
information to build a debian package out of the artifact.
</pre>
</div>
</content>
</entry>
<entry>
<title>_frontend/main.py: Naming workspace functions with workspace prefix</title>
<updated>2017-07-18T12:12:49+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-07-18T12:12:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=67f9ea78575ab94f99dedb2a1875fdd386e14bd5'/>
<id>67f9ea78575ab94f99dedb2a1875fdd386e14bd5</id>
<content type='text'>
The `list` function was already named `list_` to avoid clashing
with the builtin python type, the `open` command was causing log
viewing to fail because we try to call the `open` builtin python
function but it's shadowed.

So just call all of the workspace functions with a `workspace_`
prefix (but keep the same names on the command line).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `list` function was already named `list_` to avoid clashing
with the builtin python type, the `open` command was causing log
viewing to fail because we try to call the `open` builtin python
function but it's shadowed.

So just call all of the workspace functions with a `workspace_`
prefix (but keep the same names on the command line).
</pre>
</div>
</content>
</entry>
<entry>
<title>source.py: Fix missing files when calculating sha256sum</title>
<updated>2017-07-17T14:03:00+00:00</updated>
<author>
<name>Tristan Maat</name>
<email>tristan.maat@codethink.com</email>
</author>
<published>2017-07-17T12:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=d77ce40533f76f1164c1ef277cc7c816d42a2fa8'/>
<id>d77ce40533f76f1164c1ef277cc7c816d42a2fa8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
