-
87edf67e
by Martin Blanchard
at 2018-08-01T11:07:05Z
complete.py: Ensure paths get completed from 'element-path'
Element paths should always be completed from the root element folder
defined by the element-path key in project.conf. Fix complete_path() to
always search into its given base_directory argument.
See issue BuildStream/buildstream#448
-
d10e4668
by Phillip Smyth
at 2018-08-01T12:05:40Z
Merge branch 'mablanch/448-autocompletion-broken-defaults' into 'master'
Fix autocompletion for elements in sub-folders
See merge request BuildStream/buildstream!592
-
6aedc57b
by Jim MacArthur
at 2018-08-01T12:07:32Z
Add BST_VIRTUAL_DIRECTORY flag for element plugins
-
1d3af84d
by Jim MacArthur
at 2018-08-01T12:07:32Z
utils.py: add getmtime() and magic_timestamp
magic_timestamp is moved into file scope so other classes
can use it.
-
4397e45a
by Jim MacArthur
at 2018-08-01T12:07:32Z
Sandbox.py: Rename __root to _root.
This is to allow to allow its use by subclasses.
Since access to get_directories is now blocked for some plugins,
and the subclasses of Sandbox do not have configuration defined
by YAML files, they need another way to get at the root directory.
-
9bf343cf
by Jim MacArthur
at 2018-08-01T12:07:32Z
Add the virtual directory class 'Directory' and one implementation.
buildstream/storage/Directory.py: New file.
buildstream/storage/_filebaseddirectory.py: New file.
buildstream/_exceptions.py: New VIRTUAL_FS exception source.
-
f124dfec
by Jim MacArthur
at 2018-08-01T12:07:32Z
storage: Add __init__.py
-
42bdce0b
by Jim MacArthur
at 2018-08-01T12:07:32Z
sandbox.py: Add function to get virtual directory.
-
fe1a3428
by Jim MacArthur
at 2018-08-01T12:07:33Z
_stream.py: Convert to virtual directories.
This removes _add_directory_to_tarfile since it is now implemented in
_filebaseddirectory.py.
-
849724ce
by Jim MacArthur
at 2018-08-01T12:07:33Z
element.py: Conversion to use virtual directories
-
270325b4
by Jim MacArthur
at 2018-08-01T12:07:33Z
plugins/elements/compose.py: Convert to virtual directories
-
a8c71ba4
by Jim MacArthur
at 2018-08-01T12:07:33Z
plugins/elements/import.py: Convert to virtual directories
-
4e6a9049
by Jim MacArthur
at 2018-08-01T12:07:33Z
sandbox: Remove instances of get_directory
sandbox/_mount.py, sandbox/_sandboxbwrap.py:
Remove instances of get_directory
-
e69f2b23
by Jim MacArthur
at 2018-08-01T12:07:33Z
plugins/elements/stack.py: Convert to virtual directories
-
6877b6fc
by Jim MacArthur
at 2018-08-01T12:07:33Z
scriptelement.py: Convert to virtual directories
-
8edf1f80
by Jim MacArthur
at 2018-08-01T12:07:33Z
compose.py: Remove unused getmtime()
-
02c6c846
by Jim MacArthur
at 2018-08-01T12:07:33Z
sandbox.py: Use _root in _has_command
This will need more attention when we bring in another virtual
directory backend, however, we've said it is acceptable for the
sandbox itself to access the underlying directory, and this is
the best fix in the meantime.
-
eabc3899
by Jim MacArthur
at 2018-08-01T13:16:04Z
Merge branch 'jmac/virtual_directories' into 'master'
Abstract directory class and filesystem-backed implementation
See merge request BuildStream/buildstream!445
-
60ddb193
by Josh Smith
at 2018-08-01T14:17:17Z
message.py: MessagesType.SKIPPED added
-
0756c615
by Josh Smith
at 2018-08-01T14:17:17Z
cascache.py: Display SKIPPED message for each remote skipped
-
62a250fe
by Qinusty
at 2018-08-01T15:01:25Z
Merge branch 'Qinusty/481' into 'master'
Add SKIPPED message type for actions being skipped
See merge request BuildStream/buildstream!562
-
00ddcbd7
by Martin Blanchard
at 2018-08-01T15:16:33Z
element.py: Raise an exception on unbuilt element checkout
Trying to checkout an element that has no cached artifacts should be and
handled failure. See BuildStream/buildstream#447.
-
4c739e2a
by Martin Blanchard
at 2018-08-01T15:16:33Z
_stream.py: Print details on checkout failure
-
4a4fed7a
by Qinusty
at 2018-08-01T16:14:50Z
Merge branch 'mablanch/447-stack-trace-checkout' into 'master'
Handle checkout failure for unbuilt elements
See merge request BuildStream/buildstream!590
-
547d20b2
by Phil Dawson
at 2018-08-01T16:31:08Z
install_linux_distro.rst: Add install instructons for Ubuntu
This commit is part of the work required to resolve issue #436
-
592c9061
by Javier Jardón
at 2018-08-01T17:28:05Z
Merge branch 'phil/436-add-ubuntu-install-intructions' into 'master'
Add Ubuntu install intructions
Closes #436
See merge request BuildStream/buildstream!525
-
4d2e8a14
by Josh Smith
at 2018-08-02T09:12:16Z
HACKING.rst: Add running a single test example
-
039d43e4
by Tom Pollard
at 2018-08-02T10:02:08Z
Merge branch 'Qinusty/docs_changes' into 'master'
HACKING.rst: Add running a single test example
See merge request BuildStream/buildstream!597
-
e788bda4
by Tiago Gomes
at 2018-08-02T11:24:43Z
plugin: bake API to get and validate a project path
A project path is a path relative to a project directory.
A project path can not also refer to the parent directory in the first
path component, or point to symbolic links, fifos, sockets and
block/character devices.
-
33292be4
by Tiago Gomes
at 2018-08-02T11:24:43Z
local plugin: validate project paths
The autotools example had to be copied over inside of the junction
example, as referring to a path outside of the project directory is
now disallowed.
-
00f170b8
by Tiago Gomes
at 2018-08-02T11:24:43Z
patch plugin: validate project paths
-
4f0f4171
by Tiago Gomes
at 2018-08-02T11:24:43Z
ostree plugin: validate project paths
-
c4c0bb1e
by Tiago Gomes
at 2018-08-02T11:24:43Z
project: validate project paths (element-path)
-
385aa592
by Tiago Gomes
at 2018-08-02T11:24:43Z
project: validate project paths (local plugin paths)
-
731328ad
by Tiago Gomes
at 2018-08-02T11:24:43Z
tests: add generate_file_types testing function
-
b7362a32
by Tiago Gomes
at 2018-08-02T11:24:43Z
tests: add additional tests to local plugin
-
7e3944dc
by Tiago Gomes
at 2018-08-02T11:24:43Z
tests: add additional tests to patch plugin
-
9f0c8fcf
by Tiago Gomes
at 2018-08-02T11:24:43Z
tests: test local plugins and element-path paths
-
8656a65d
by Tiago Gomes
at 2018-08-02T12:10:29Z
Merge branch 'tiagogomes/issue-195' into 'master'
Add validation for project paths
See merge request BuildStream/buildstream!593
-
170f33a1
by Valentin David
at 2018-08-02T14:17:01Z
Move tests.frontend.generate_junction to test.testutils
-
3bae4aeb
by Valentin David
at 2018-08-02T14:17:01Z
Pass targets to Loader.load() instead of its constructor.
This is required to be able to build a Loader before the list
of targets is known.
-
483b0223
by Valentin David
at 2018-08-02T14:17:01Z
Make Project owner of Loader.
-
19cd954b
by Valentin David
at 2018-08-02T14:17:01Z
Refactor plugin factory creation
-
171e803f
by Valentin David
at 2018-08-02T14:18:10Z
Add support for include '(@)' in project.conf and .bst files
Fixes #331.
-
4e1160a9
by Valentin David
at 2018-08-02T15:17:03Z
Merge branch 'valentindavid/331_include' into 'master'
Add support for include in project.conf
Closes #331
See merge request BuildStream/buildstream!471
-
3782c15f
by Ed Baunton
at 2018-08-04T08:54:58Z
element.py (docs): dashes not underscores for build and install root
Fix small error in docs in relation to `get_variable` documentation.
-
f918205a
by Tristan Van Berkom
at 2018-08-04T10:08:21Z
Merge branch 'edbaunton/doc-typo' into 'master'
element.py (docs): dashes not underscores for build and install root
See merge request BuildStream/buildstream!577
-
f69a0287
by Mathieu Bridon
at 2018-08-04T21:02:10Z
doc: Build the docs without Buildstream installed
-
bc63f278
by Tristan Van Berkom
at 2018-08-05T10:07:46Z
__main__.py: Adding private entry point so we can run BuildStream without installing
This is needed to build docs without installing BuildStream.
-
1618f405
by Tristan Van Berkom
at 2018-08-05T10:07:46Z
doc: Fix junctions user guide to refer to doc/sessions, not doc/sessions-stored.
-
9e573eeb
by Tristan Van Berkom
at 2018-08-05T10:07:46Z
doc: Some modifications to the bst2html program
o Added feature to allow running shell commands
o Removed unused codepaths to launch bst commands through the script,
this program is anyway only used to parse and run the session files.
o Fixed previous patch to run BuildStream uninstalled with
the subprocess module, as running it in the same interpretor
causes a bunch of problems.
-
19d2a072
by Tristan Van Berkom
at 2018-08-05T10:07:46Z
doc/sessions/developing.run: Fix the session to actually run `patch` as a shell command
Since we added support for shell commands in bst2html, this can now be fixed.
This is a part of issue #553
-
9b937a97
by Tristan Van Berkom
at 2018-08-05T10:07:46Z
HACKING.rst: It is not longer required to install BuildStream to build the docs.
-
63b33d07
by Tristan Van Berkom
at 2018-08-05T10:57:03Z
Merge branch 'tristan/build-docs' into 'master'
Build documentation without installing
See merge request BuildStream/buildstream!605
-
942a06f4
by Mathieu Bridon
at 2018-08-06T09:53:03Z
doc: Mention the Fedora packages
These aren't official yet, but they should work.
-
c04b8421
by Mathieu Bridon
at 2018-08-06T10:53:57Z
Merge branch 'bochecha/fedora-packages' into 'master'
doc: Mention the Fedora packages
See merge request BuildStream/buildstream!604
-
12c79366
by toscalix
at 2018-08-06T10:56:40Z
removed space in task template so checkboxes work as expected
-
bd2b3d8d
by Agustin Benito Bethencourt
at 2018-08-06T11:49:12Z
Merge branch 'toscalix' into 'master'
removed space in task template so checkboxes work as expected
See merge request BuildStream/buildstream!588
-
d1b640d0
by James Ennis
at 2018-08-06T13:10:12Z
install_linux_distro.rst: Fix broken links
-
be163e8d
by Jonathan Maw
at 2018-08-06T14:01:58Z
Merge branch 'jennis/fix_links_in_docs' into 'master'
Fix two links in the installing docs
See merge request BuildStream/buildstream!610
-
4d6dbabe
by Tiago Gomes
at 2018-08-06T15:03:25Z
PullQueue: fix resource used
Improve fetchers, builders and pushers documentation.
Closes #550.
-
a8073264
by Tiago Gomes
at 2018-08-06T16:55:03Z
Merge branch 'tiagogomes/issue-550' into 'master'
PullQueue: fix resource used
Closes #550
See merge request BuildStream/buildstream!611
-
3d26ff6e
by Ed Baunton
at 2018-08-07T05:04:50Z
remote.py: Add support for marking downloaded files executable
Add an optional flag to make files executable after having downloaded them.
Instead of leaving the permissioning of downloaded file in remote.py up
to the user's umask; expressly set permissions to 0644 or 0755 if
executable.
Bump format version to 13.
-
60a552a5
by Tristan Van Berkom
at 2018-08-07T06:13:53Z
Merge branch 'edbaunton/executable-remote-source' into 'master'
remote.py: Add support for marking downloaded files executable
See merge request BuildStream/buildstream!581
-
01ff0177
by Javier Jardón
at 2018-08-07T07:29:30Z
source/install_linux_distro.rst: Make clearer ArchLinux packages available
-
9b469fe6
by Tristan Van Berkom
at 2018-08-07T09:12:46Z
Merge branch 'jjardon/doc_arch_releases' into 'master'
source/install_linux_distro.rst: Make clearer ArchLinux packages available
See merge request BuildStream/buildstream!613
-
289de2ef
by Adam Jones
at 2018-08-07T09:24:58Z
Add systemd service file examples to artifacts documentation
change code style to ini
-
e42325b9
by Javier Jardón
at 2018-08-07T10:29:46Z
Merge branch 'adamjones/systemd-cas' into 'master'
Include systemd file examples for google-cas cache
Closes #419
See merge request BuildStream/buildstream!524
-
6d349610
by Javier Jardón
at 2018-08-07T10:53:23Z
source/install_linux_distro.rst: Fix formatting
-
493d19d2
by James Ennis
at 2018-08-07T11:08:36Z
install_linux_distro.rst: Change install instructions for python-arpy package on Arch
- python-arpy is unobtainable via pacman
- Also a minor change to how we display install instructions
from Fedora's dnf package manager
-
fc9869e2
by James Ennis
at 2018-08-07T11:56:21Z
Merge branch 'jennis/change_arch_install_instructions' into 'master'
Change install instructions for python-arpy package on Arch
See merge request BuildStream/buildstream!614
-
42aa3999
by William Salmon
at 2018-08-07T13:41:02Z
Add warning to git track if track and ref are not present
This is to address https://gitlab.com/BuildStream/buildstream/issues/471 that
documented unhelpfull behavour when tracking git sources.
-
2ceb5dec
by Will Salmon
at 2018-08-07T14:46:36Z
Merge branch 'willsalmon/trackWarning' into 'master'
Add warning to git track if track and ref are not present
Closes #471
See merge request BuildStream/buildstream!580
-
eee4b674
by Jürg Billeter
at 2018-08-07T15:36:35Z
Revert "Restrict version of pylint"
This reverts commit 4f168b9b6a02216e2fae24d758ae6b778e545869.
The latest version of pytest_pylint works fine with pylint 2, which
means there is no longer a reason to restrict the pylint version.
pylint 2 is required for Python 3.7.
-
ea27e389
by Jürg Billeter
at 2018-08-07T15:36:35Z
_artifactcache/cascache.py: Fix for PEP 479 / Python 3.7
Do not rely on `StopIteration` bubbling up.
https://www.python.org/dev/peps/pep-0479/
-
fa5a59f0
by Jürg Billeter
at 2018-08-07T16:48:21Z
Merge branch 'juerg/python3.7' into 'master'
Python 3.7 support
See merge request BuildStream/buildstream!615
-
ed653fbc
by Chandan Singh
at 2018-08-08T00:06:28Z
.gitlab-ci.yml: Remove unused script "install.sh"
-
65f382f1
by Chandan Singh
at 2018-08-08T10:52:32Z
Merge branch 'chandan/remove-dead-code' into 'master'
.gitlab-ci.yml: Remove unused script "install.sh"
See merge request BuildStream/buildstream!617
-
0cde89fa
by Tom Pollard
at 2018-08-08T14:20:59Z
plugins/git.py: Fail if ref is not in given track
Add a helper function assert_ref_in_track to git.py GitMirror()
which is used when staging & initing the source workspace. It
checks the element's ref exists in the track (branch/tag) if it
has been specified, raising an error if necessary. If the element
has been tracked with bst, it is assumed that the value of ref exists
in the track as it was generated from it & as such is not asserted.
WIP: Fix for issue #483