summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Refactor and simplify _prepare_sandbox for elementschandan/bst-checkout-buildBenjamin Schubert2018-11-123-18/+18
| | | | | | | | Before we would have a intricate logics with multiple arguments that might get ignored. This simplifies the design and introduces a bool `shell` instead of having two different variables concerned about scope
* Add `--deps build` option to `bst checkout`Chandan Singh2018-10-163-4/+17
| | | | | | | | | | | | | | | As discussed in https://mail.gnome.org/archives/buildstream-list/2018-September/msg00064.html, add `--deps build` option to `bst checkout`. This will allow users to checkout the all build dependencies of a given element using a single command. - _frontend/cli.py: Add `--deps build` option for `bst checkout`. - element.py: Support `deps='build'` in Element._prepare_sandbox(). - tests/frontend/buildcheckout.py: Ensure `--deps build` works as expected.
* Ensure `--deps=none` option works for `bst checkout`Chandan Singh2018-10-165-23/+40
| | | | | | | | | | | | | | Currently, `bst checkout --deps none` command always produces empty output. Fix this issue and add regression test for the same. - element_enums.py: Add Scope.NONE. - element.py: Ensure Scope.NONE works correctly in addition to Scope.RUN/Scope.ALL in Element.dependencies() and Element.search(). - tests/frontend/buildcheckout.py: Fix tests for `--deps none`. Fixes #670.
* Merge branch 'rdale/spelling' into 'master'Jürg Billeter2018-10-1634-51/+51
|\ | | | | | | | | Fix spelling of it's and its See merge request BuildStream/buildstream!877
| * Fix spelling of it's and itsRichard Dale2018-10-1634-51/+51
|/
* Merge branch 'jmac/doc-argument-fix' into 'master'Jim MacArthur2018-10-161-1/+1
|\ | | | | | | | | Add named argument in bst2html.py to fix documentation See merge request BuildStream/buildstream!874
| * bst2html.py: Name the second argument to avoid an errorjmac/doc-argument-fixJim MacArthur2018-10-161-1/+1
|/
* Merge branch 'willsalmon/outOfSourecBuild' into 'master'Phil Dawson2018-10-1621-28/+195
|\ | | | | | | | | | | | | Out of source builds Closes #512 See merge request BuildStream/buildstream!776
| * Added a news item for building out of the source directorywillsalmon/outOfSourecBuildWilliam Salmon2018-10-161-0/+3
| | | | | | | | For issue #512 in Gitlab.
| * Extended the Documentation to cover out of source buildsWilliam Salmon2018-10-162-0/+57
| | | | | | | | For issue #512 in Gitlab.
| * Added tests for conf-root variableWilliam Salmon2018-10-164-0/+72
| | | | | | | | For issue #512 in Gitlab.
| * Add conf-root variable to buildsWilliam Salmon2018-10-169-17/+21
| | | | | | | | | | | | | | Adding the conf-root variable makes creating out of source builds slightly easier. For issue #512 in Gitlab.
| * New Integration test for workspace command-subdirWilliam Salmon2018-10-162-0/+34
| | | | | | | | | | | | | | | | Build stream was only creating command-subdir for non workspace builds this has now been fixed, and this regression test should support the feature. For issue #512 in Gitlab.
| * Sandbox: CWD was not being created for workspacesWilliam Salmon2018-10-163-11/+8
|/ | | | | | | | | | | | The code was creating the cwd folder but when the workspace was mounted in to the buildroot it was hiding the folder created in it behind the bind mounted workspace. However by using the bubblewarp `--dir` directive to ensure that cwd exists we can cover both workspace and non workspace situations with the same method. For issue #512 in Gitlab.
* Merge branch 'lachlan/pickle-yaml-test-list-composite' into 'master'Jonathan Maw2018-10-155-27/+559
|\ | | | | | | | | Add YAM cache testing to yaml tests and further YAML cache refinements See merge request BuildStream/buildstream!836
| * yamlcache.py: Add YAML cache changed file testLachlan Mackenzie2018-10-151-3/+26
| | | | | | | | | | * Test in same style as test_yamlcache_used * Move of project not required so removed
| * yaml.py: Add yaml cache test to yaml list composition twiceLachlan Mackenzie2018-10-151-8/+9
| |
| * yaml.py: Add yaml cache testing to yaml list composition testLachlan Mackenzie2018-10-151-6/+10
| |
| * yaml.py: Add loader for yaml test files cache optionLachlan Mackenzie2018-10-151-0/+16
| | | | | | | | * Fix to CWD issue provided by Jonathan Maw
| * yamlcache.py: Add yaml cache testsJonathan Maw2018-10-151-0/+119
| |
| * yaml: Add a cache of parsed and provenanced yamlJonathan Maw2018-10-153-13/+382
|/ | | | | | Note that the ProvenanceFile's names will be incorrect after loading from the cache, but this is currently only used for writeback, which isn't used in junctions.
* Merge branch 'juerg/remote-config' into 'master'Jürg Billeter2018-10-151-1/+4
|\ | | | | | | | | | | | | _artifactcache: Fix crash in push_directory() without artifact server Closes #708 See merge request BuildStream/buildstream!871
| * _artifactcache: Fix crash in push_directory() without artifact serverJürg Billeter2018-10-151-1/+4
|/ | | | Fixes #708.
* CONTRIBUTING.rst: Added more guidelines about documenting the user guideTristan Van Berkom2018-10-144-10/+113
|
* Merge branch 'tristan/remove-install-guide' into 'master'Tristan Van Berkom2018-10-1211-485/+9
|\ | | | | | | | | Remove install guide See merge request BuildStream/buildstream!872
| * doc/source/index.rst: Moved references to the website below the simple ToC.Tristan Van Berkom2018-10-121-3/+2
| |
| * doc/source/additional_docker.rst: Fix link to refer to websiteTristan Van Berkom2018-10-121-4/+3
| | | | | | | | | | The docker guide, which is part of the install guide, has moved to the website.
| * doc: updates considering website being live nowTiago Gomes2018-10-1210-480/+6
|/ | | | | | | | | * Add a link to the website on the main page. * Remove install instructions as they are now on the website. * Remove Resources section as that information can be found at the website, and also looks bad. * Move artifact server setup from the no longer existing Install section to the Using section.
* Merge branch 'tristan/refactor-types-api' into 'master'Tristan Van Berkom2018-10-116-47/+54
|\ | | | | | | | | Refactor types api See merge request BuildStream/buildstream!870
| * types.py: Moved Consistency definition here from source.pyTristan Van Berkom2018-10-123-27/+33
| | | | | | | | And slightly touch up the doc strings for Consistency and Scope.
| * doc/source/core_framework.rst: Include the foundation types in the API docs.Tristan Van Berkom2018-10-121-0/+1
| |
| * Rename element_enums.py -> types.pyTristan Van Berkom2018-10-124-21/+21
|/ | | | | | This will be the place to store low level data types used throughout the core, for now this includes public and private types.
* Merge branch 'patch-2' into 'master'devcurmudgeon2018-10-101-1/+2
|\ | | | | | | | | README: Update to add link to website See merge request BuildStream/buildstream!859
| * README: Update to add link to websiteLaurence Urhegyi2018-10-101-1/+2
|/
* Merge branch 'chandan/bst-and-docker' into 'master'Chandan Singh2018-10-103-0/+57
|\ | | | | | | | | Add documentation and NEWS entry about bst-docker-import See merge request BuildStream/buildstream!864
| * NEWS: Add entry about contrib/bst-docker-importChandan Singh2018-10-091-0/+3
| | | | | | | | | | | | | | As suggested in https://gitlab.com/BuildStream/buildstream/merge_requests/857#note_106809743, add a NEWS entry for `contrib/bst-docker-import` that was added recently.
| * doc: Add new document about Docker integrationsChandan Singh2018-10-092-0/+54
|/ | | | | | | | | | | | | | | | | | Add a new section under "Additional writings" section about how BuildStream integrates with Docker. At present, this section includes only two sections: - "Run BuildStream inside Docker", that refers to existing instructions for doing so - "Generate Docker images", that adds instructions for using the newly added `contrib/bst-docker-import` script In future, this document can be extended to include the following things: - Importing Docker sources via `docker` source plugin - if/when the Docker source plguin is moved from bst-external to BuildStream proper - A Docker sandbox, if/when that is added
* CONTRIBUTING.rst: Fix typos in previous commit.Tristan Van Berkom2018-10-091-2/+2
| | | | Ooops, that was done far too quickly.
* CONTRIBUTING.rst: Added note about sphinx supporting docstrings on instance ↵Tristan Van Berkom2018-10-091-0/+5
| | | | | | | variables Python does not natively support this, but sphinx does parse them and includes these in the generated documentation.
* Merge branch 'aevri/contributing_fixups' into 'master'Tristan Van Berkom2018-10-091-32/+32
|\ | | | | | | | | Minor fixups to contributing.rst See merge request BuildStream/buildstream!866
| * contributing.rst: no spaces before '?'Angelos Evripiotis2018-10-091-2/+2
| |
| * contributing.rst: de-paren subclass exampleAngelos Evripiotis2018-10-091-3/+3
| | | | | | | | It seems easier to read when separated into two sentences.
| * contributing.rst: fix typo of 'get_count'Angelos Evripiotis2018-10-091-1/+1
| |
| * contributing.rst: fix whitespaceAngelos Evripiotis2018-10-091-3/+3
| | | | | | | | No tabs, no lines of only horizontal whitespace.
| * contributing.rst: end lines with punctuationAngelos Evripiotis2018-10-091-23/+23
|/
* Merge branch 'chandan/fix-bst-docker-import-logging' into 'master'Chandan Singh2018-10-081-4/+4
|\ | | | | | | | | bst-docker-import: Consistently use stderr for all logs See merge request BuildStream/buildstream!863
| * bst-docker-import: Consistently use stderr for all logsChandan Singh2018-10-081-4/+4
|/ | | | | | In !857, we added `contrib/bst-docker-import` script but it has a small issue that some of logs go to stdout while others go to stderr. Fix it so that all logging is done on stderr.
* CONTRIBUTING.rst: Added section in PEP-8 coding style about line lengths.Tristan Van Berkom2018-10-081-0/+15
| | | | | | We have a long line limit in order to handle the exceptions without making code unreadable as a result, this long line length limit is not an invitation to fill up the limit as much as possible.
* CONTRIBUTING.rst: Added a note that public API objects should be exposed ↵Tristan Van Berkom2018-10-081-0/+3
| | | | from __init__.py
* CONTRIBUTING.rst: Correcting `Context` example in the "imports" sectionTristan Van Berkom2018-10-081-2/+2
| | | | | | This example is very outdated and comes from pre 1.0 when the Context object was going to be public API. Just corrected the example made about imports to import the `Context` object from `._context` instead of `.context`.