summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* setup.py: Add grpcio dependency and support for code generationJürg Billeter2018-07-177-5/+69
| | | | This allows code generation with ./setup.py build_grpc
* .gitlab-ci.yml: Update images to include protobuf and grpcioJürg Billeter2018-07-171-4/+4
|
* tests/frontend/push.py: Use ArtifactShare statvfs mockingJürg Billeter2018-07-171-29/+9
| | | | | This makes it unnecessary to update the free space in the mock object in the middle of tests.
* tests/testutils/artifactshare.py: Add support for statvfs mockingJürg Billeter2018-07-171-3/+28
|
* tests: Use context manager for ArtifactShareJürg Billeter2018-07-174-469/+487
|
* Only redirect elements for workspace and track operationsPRE_CAS_MERGE_JULY_2018Jonathan Maw2018-07-163-4/+19
| | | | It was redirecting for checkout operations
* tests: Fix filter tests not checking whether files should be missing.Jonathan Maw2018-07-165-0/+72
| | | | | They weren't actually catching it if you checked-out the entire depended element, instead of just the specified split domains
* Move _list_dir_contents to __init__.pyMove-_list_dir_contents-to-__init__425-add-a-deps-flag-to-bst-checkoutPhillip Smyth2018-07-114-52/+36
|
* tests/frontend/push.py: Add missing skip annotation for non-Linux468-source-bundle-except-argument-is-ignoredJürg Billeter2018-07-091-0/+1
|
* _artifactcache/artifactcache.py: Update remote init error messageJürg Billeter2018-07-091-1/+1
| | | | initialize_remotes() no longer fetches remote refs.
* tests: Remove unneeded ArtifactShare.update_summary() methodJürg Billeter2018-07-094-40/+0
| | | | The OSTree summary file is no longer used.
* _signals.py: Guard against use in non-main threadJürg Billeter2018-07-081-0/+6
|
* Provide better error message on missing commandsTiago Gomes2018-07-026-0/+54
| | | | | | | Before running a command in the sandbox, check its existence and fail early if it does not. This fixes issue #289.
* Fix documentation typoTiago Gomes2018-07-021-1/+1
|
* cli.py: Make buildstream check element paths instead of clickTristan Maat2018-06-291-18/+18
| | | | | This is to avoid inconsistencies when dealing with paths inside an elements directory
* loader.py: Check whether the dir specified is also a <dir>.bst fileJames Ennis2018-06-292-1/+11
| | | | | - Slight modification to the wording of existing error message. - Closes #446
* Add error message when running commands on directoriesFrancisco Redondo Marchena2018-06-283-0/+19
| | | | Issue #446
* _scheduler/job.py: Added long commentTristan Van Berkom2018-06-261-1/+22
| | | | | | This explains the nature of a complicated asyncio callback, which I've looked up on multiple occasions and is not available in python online docs (only in the source can you follow it).
* doc: Adding part 4 of the getting started tutorial: integration commandsTristan Van Berkom2018-06-2517-0/+514
| | | | | This new section talks about how integration commands work and shows them at work.
* doc/source/tutorial/running-commands.rst: Added tip about using `--` in `bst ↵Tristan Van Berkom2018-06-251-0/+10
| | | | shell`
* doc/source/tutorial/autotools.rst: Consistent wording of "chapter"Tristan Van Berkom2018-06-251-1/+1
| | | | | We've been calling these tutorials "chapters", let's not start also calling them "sections".
* doc/source/format_declaring.rst: Improving linkage to other parts of the manualTristan Van Berkom2018-06-251-1/+4
| | | | Adding a couple of important links to relevant material.
* doc/source/main_using.rst: Updating headline for this page.Tristan Van Berkom2018-06-251-1/+3
| | | | | The purpose of this page has changed with time, better to clarify this in the headline of the page.
* Fix element check for BST_FORBID_BDEPENDSValentin David2018-06-221-1/+1
|
* doc/source/core_plugins.rst, doc/source/install_main.rst: Fixing link anchor ↵Tristan Van Berkom2018-06-222-2/+2
| | | | | | | name In core_plugins.rst, we are already using _plugins, _plugins_build_elements, so lets call this one _plugins_sources to be consistent.
* Source plugin deb depends on host's arpy python packageJavier Jardón2018-06-221-0/+4
| | | | Issue #353
* Source plugin patch depends on host's patchJavier Jardón2018-06-221-0/+4
| | | | Issue #353
* Source plugin git depends on host's gitJavier Jardón2018-06-221-0/+4
| | | | Issue #353
* Source plugin bzr depends on host's bzrJavier Jardón2018-06-221-0/+4
| | | | Issue #353
* Source plugin tar depends on host's lzipJavier Jardón2018-06-221-0/+4
| | | | Issue #353
* BuildStream depends on host tools for Source pluginsJavier Jardón2018-06-222-0/+6
|
* doc/source/index.rst: fix tiny, but impactful typoPatrick Martin2018-06-221-1/+1
| | | | Fixes #435
* MANIFEST.in: Fix typo when including BuildStream.doap430-buildstream-doap-is-incorrectly-included-in-manifest-inPhil Dawson2018-06-211-1/+1
| | | | | | | Correct includsion of buildstream.doap which does not exist to 'include BuildStream.doap'. This commit resolves issue #430
* Restrict version of pylint138-aborting-bst-push-command-causes-stack-trace-2Daniel Playle2018-06-201-1/+2
| | | | | | | | | | | | pylint >2 is not compatible with pytest_pylint in its current form. As such, allowing any version of pylint for testing results in a failure. This commit restricts down the allowable versions of pylint to those that are both compatible with pytest_pylint, and also offer the feature set that we require. See https://gitlab.com/BuildStream/buildstream/issues/427 for further details.
* Remove shebangs from python filesGökçen Nurlu2018-06-1997-97/+0
| | | | Fixes #424
* doc/source/examples/flatpak-autotools.rst: Reordering of titles.Tristan Van Berkom2018-06-181-10/+14
| | | | | | Place the titles of literally included `bst` files directly before the includes, and moved all related text to start below the included file for each section.
* doc: Use consistent titles when referring to files in an example projectTristan Van Berkom2018-06-182-10/+18
| | | | | | | | | | | | Use the following form across the board: ``elements/foo.bst`` ~~~~~~~~~~~~~~~~~~~~ .. literalinclude:: ../path/to/foo.bst :language: yaml Always use an example project relative path, too.
* doc/examples/autotools/project.conf: Correcting project name hereTristan Van Berkom2018-06-181-2/+2
|
* doc/source/using_tutorial.rst: Use a numbered ToC for the tutorialTristan Van Berkom2018-06-181-0/+1
|
* doc: Adding part 3 of the getting started tutorial: autotools elementTristan Van Berkom2018-06-1812-0/+491
| | | | | | | | | This part of the tutorial uses a lot of the work from Phil Dawson and James Ennis, and uses their example submitted on merge request 499 as a basis to introduce the user to yaml composition and variable resolution. This is a part of issue #103
* doc/source/tutorial/running-commands.rst: Adding summaryTristan Van Berkom2018-06-181-1/+22
| | | | And adding some link anchors needed by the incomming chapter.
* doc: Adding part 2 of the getting started tutorialTristan Van Berkom2018-06-1715-0/+500
| | | | | | | | | | | | | o doc/examples/running-commands: New example project of a `manual` build element o doc/sessions/running-commands.run: New session file to capture bst output o doc/source/sessions-stored: Added new generated sessions o doc/source/tutorial/running-commands.rst: New tutorial entry describing how commands are run in the sandbox o tests/examples/running-commands.py: Test case validating the tutorial's assertions
* doc/source/tutorial/first-project.rst: Adding linksTristan Van Berkom2018-06-171-3/+6
| | | | | Linking out to the relevant invoking pages for the command line reference, and adding a link anchor here for use by the next chapter.
* doc/Makefile: Stage stored sessions from session-storedtristan/getting-startedTristan Van Berkom2018-06-1610-8/+21
| | | | | | | Separate the revisioned provisional session html files such that the git tree does not become dirty as a result of a documentation build process - which messes up the docs version number and the version number printed in some command line output.
* doc: Adding part 1 of the getting started tutorialTristan Van Berkom2018-06-1616-0/+323
| | | | | | | | | | | | | | | | | | | | | o doc/Makefile: Added new directory to collect rst files from o doc/examples/first-project: Added the "first-project" example project. o doc/source/sessions/first-project-*.html: Added the generated snippets o doc/source/using_tutorial.rst: Added the new main tutorial page o doc/source/tutorial/first-project.rst: Added part 1 of the tutorial here o tests/examples/first-project.py: Added test for the example project This is largely based on an example by Javier Jardón, which was submitted at https://gitlab.com/BuildStream/buildstream/merge_requests/323 Fixes #103
* doc/bst2html.py, doc/Makefile: Added --force optionTristan Van Berkom2018-06-164-14/+66
| | | | | | | | | | | If --force is not specified, then we'll skip session files in the case that all of the outputs exist. Now setting BST_FORCE_SESSION_REBUILD when building the docs will cause the session files to be rebuilt regardless of whether they exist or not. The .gitlab-ci.yml was also changed to use this and force rebuilds.
* doc/bst2html.py: Add support for `fake-output` when running commands.Tristan Van Berkom2018-06-162-21/+49
| | | | | | | | | | | | | When specifying a fake-output string, we don't really run the command or assume it was a `bst` command, and we pretend that `fake-output` was the output of the command. Specifying an empty string explicitly enables the behavior too for faking a command that has no stdout/stderr. This also adds the "remove-files" hack allowing the session scripts to remove files before executing commands (kind of unsure if we're gonna keep this...)
* doc/Makefile: Fixed loop over session filesTristan Van Berkom2018-06-141-1/+1
| | | | This list needs to not be quoted.
* doc: Improve the new console output html generatorTristan Van Berkom2018-06-138-174/+266
| | | | | | | | | | Before we were creating one description file for each output, making it easier to declare a make rule for it - but the result was that we would have to build things more and it takes a long time. Instead, now we have session files which describe a series of commands to run in a session, and each command optionally produces an output file.
* contrib/bst-here: Remove redundant create_volume_if_not_exists() methodChandan Singh2018-06-131-8/+1
| | | | | | | | | This method doesn't really do anything as this is already the default behavior of `docker volume create` so remove it and always call `docker volume create` directly. This command will always print the name of the volume on STDOUT which is not very interesting so silence that. (If it errors out for some reason, that output will go to STDERR so the user should still be able to see that.)