summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests/integration/workspace.py: Adding tests for caching of build tree and ↵caching_build_treesPhillip Smyth2018-08-033-0/+121
| | | | | | | using them in a workspace Adding Makefiles Updating expected keys
* Adding build tree extraction functionalityPhillip Smyth2018-08-035-26/+116
| | | | | | | | | | | | tests/completions/completions.py: Adding caching build tree flag to list of recognised flags in test _frontend/cli.py: Adding caching build tree flags to cli _artifactcache/artifactcache.py: Adding abstract get_buildtree_dir function _artifactcache/cascache.py: Adding get_buildtree_dir function element.py: Adding function to return build tree path Adding functionality to allow the use of a cached build tree in a workspace _stream.py: Adding staging of cached build tree
* Merge branch 'valentindavid/331_include' into 'master'Valentin David2018-08-0287-456/+1783
|\ | | | | | | | | | | | | Add support for include in project.conf Closes #331 See merge request BuildStream/buildstream!471
| * Add support for include '(@)' in project.conf and .bst filesValentin David2018-08-0266-205/+1472
| | | | | | | | Fixes #331.
| * Refactor plugin factory creationValentin David2018-08-026-91/+115
| |
| * Make Project owner of Loader.Valentin David2018-08-029-87/+122
| |
| * Pass targets to Loader.load() instead of its constructor.Valentin David2018-08-025-54/+54
| | | | | | | | | | This is required to be able to build a Loader before the list of targets is known.
| * Move tests.frontend.generate_junction to test.testutilsValentin David2018-08-0210-48/+49
|/
* Merge branch 'tiagogomes/issue-195' into 'master'Qinusty/490-artifact-cache-interactivityTiago Gomes2018-08-0230-139/+492
|\ | | | | | | | | Add validation for project paths See merge request BuildStream/buildstream!593
| * tests: test local plugins and element-path pathstiagogomes/issue-195Tiago Gomes2018-08-023-1/+51
| |
| * tests: add additional tests to patch pluginTiago Gomes2018-08-024-9/+50
| |
| * tests: add additional tests to local pluginTiago Gomes2018-08-024-2/+55
| |
| * tests: add generate_file_types testing functionTiago Gomes2018-08-021-0/+62
| |
| * project: validate project paths (local plugin paths)Tiago Gomes2018-08-021-1/+4
| |
| * project: validate project paths (element-path)Tiago Gomes2018-08-022-2/+4
| |
| * ostree plugin: validate project pathsTiago Gomes2018-08-021-3/+5
| |
| * patch plugin: validate project pathsTiago Gomes2018-08-022-14/+11
| |
| * local plugin: validate project pathsTiago Gomes2018-08-0212-106/+106
| | | | | | | | | | | | 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.
| * plugin: bake API to get and validate a project pathTiago Gomes2018-08-024-4/+147
|/ | | | | | | | 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.
* Merge branch 'Qinusty/docs_changes' into 'master'Tom Pollard2018-08-021-0/+5
|\ | | | | | | | | HACKING.rst: Add running a single test example See merge request BuildStream/buildstream!597
| * HACKING.rst: Add running a single test exampleQinusty/docs_changesJosh Smith2018-08-021-0/+5
|/
* Merge branch 'phil/436-add-ubuntu-install-intructions' into 'master'Javier Jardón2018-08-011-0/+24
|\ | | | | | | | | | | | | Add Ubuntu install intructions Closes #436 See merge request BuildStream/buildstream!525
| * install_linux_distro.rst: Add install instructons for UbuntuPhil Dawson2018-08-011-0/+24
|/ | | | This commit is part of the work required to resolve issue #436
* Merge branch 'mablanch/447-stack-trace-checkout' into 'master'Qinusty2018-08-013-1/+17
|\ | | | | | | | | Handle checkout failure for unbuilt elements See merge request BuildStream/buildstream!590
| * _stream.py: Print details on checkout failuremablanch/447-stack-trace-checkoutMartin Blanchard2018-08-011-1/+1
| |
| * element.py: Raise an exception on unbuilt element checkoutMartin Blanchard2018-08-012-0/+16
|/ | | | | Trying to checkout an element that has no cached artifacts should be and handled failure. See BuildStream/buildstream#447.
* Merge branch 'Qinusty/481' into 'master'Qinusty2018-08-013-3/+12
|\ | | | | | | | | Add SKIPPED message type for actions being skipped See merge request BuildStream/buildstream!562
| * cascache.py: Display SKIPPED message for each remote skippedQinusty/481Josh Smith2018-08-011-3/+10
| |
| * message.py: MessagesType.SKIPPED addedJosh Smith2018-08-012-0/+2
|/
* Merge branch 'jmac/virtual_directories' into 'master'Jim MacArthur2018-08-0115-166/+554
|\ | | | | | | | | Abstract directory class and filesystem-backed implementation See merge request BuildStream/buildstream!445
| * sandbox.py: Use _root in _has_commandjmac/virtual_directoriesJim MacArthur2018-08-011-2/+2
| | | | | | | | | | | | | | 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.
| * compose.py: Remove unused getmtime()Jim MacArthur2018-08-011-7/+0
| |
| * scriptelement.py: Convert to virtual directoriesJim MacArthur2018-08-011-5/+4
| |
| * plugins/elements/stack.py: Convert to virtual directoriesJim MacArthur2018-08-011-6/+5
| |
| * sandbox: Remove instances of get_directoryJim MacArthur2018-08-012-2/+5
| | | | | | | | | | sandbox/_mount.py, sandbox/_sandboxbwrap.py: Remove instances of get_directory
| * plugins/elements/import.py: Convert to virtual directoriesJim MacArthur2018-08-011-13/+10
| |
| * plugins/elements/compose.py: Convert to virtual directoriesJim MacArthur2018-08-011-25/+13
| |
| * element.py: Conversion to use virtual directoriesJim MacArthur2018-08-011-51/+62
| |
| * _stream.py: Convert to virtual directories.Jim MacArthur2018-08-011-43/+9
| | | | | | | | | | This removes _add_directory_to_tarfile since it is now implemented in _filebaseddirectory.py.
| * sandbox.py: Add function to get virtual directory.Jim MacArthur2018-08-011-0/+15
| |
| * storage: Add __init__.pyJim MacArthur2018-08-011-0/+22
| |
| * Add the virtual directory class 'Directory' and one implementation.Jim MacArthur2018-08-014-1/+372
| | | | | | | | | | | | buildstream/storage/Directory.py: New file. buildstream/storage/_filebaseddirectory.py: New file. buildstream/_exceptions.py: New VIRTUAL_FS exception source.
| * Sandbox.py: Rename __root to _root.Jim MacArthur2018-08-012-5/+6
| | | | | | | | | | | | | | | | 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.
| * utils.py: add getmtime() and magic_timestampJim MacArthur2018-08-011-5/+13
| | | | | | | | | | magic_timestamp is moved into file scope so other classes can use it.
| * Add BST_VIRTUAL_DIRECTORY flag for element pluginsJim MacArthur2018-08-012-4/+19
|/
* Merge branch 'mablanch/448-autocompletion-broken-defaults' into 'master'Phillip Smyth2018-08-017-3/+29
|\ | | | | | | | | Fix autocompletion for elements in sub-folders See merge request BuildStream/buildstream!592
| * complete.py: Ensure paths get completed from 'element-path'mablanch/448-autocompletion-broken-defaultsMartin Blanchard2018-08-017-3/+29
|/ | | | | | | | 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
* Merge branch 'phil/437-workspaces-tutorial' into 'master'Phil Dawson2018-08-0122-1/+570
|\ | | | | | | | | | | | | Phil/437 workspaces tutorial Closes #437 See merge request BuildStream/buildstream!519
| * tests/examples/developing.py: Add tests for workspaces walkthroughphil/437-workspaces-tutorialPhil Dawson2018-08-011-0/+91
| |
| * testutils/patch.py: Add methods for applying and removing patchesPhil Dawson2018-08-011-0/+21
| |