summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'phil/add-ubuntu-ci-job' into 'master'Javier Jardón2018-08-121-0/+3
|\ | | | | | | | | .gitlab-ci-yml: Add ubuntu 18.04 test See merge request BuildStream/buildstream!523
| * .gitlab-ci-yml: Add ubuntu 18.04 testPhil Dawson2018-08-121-0/+3
|/
* Merge branch 'chandan/fix-dev-reqs-typo' into 'master'Chandan Singh2018-08-121-1/+1
|\ | | | | | | | | Fix typo in dev-requirements.txt See merge request BuildStream/buildstream!641
| * Fix typo in dev-requirements.txtChandan Singh2018-08-121-1/+1
|/
* Merge branch 'chandan/dev-requirements' into 'master'Javier Jardón2018-08-113-13/+26
|\ | | | | | | | | Move development reqirements to dev-requirements.txt See merge request BuildStream/buildstream!637
| * Move development reqirements to dev-requirements.txtChandan Singh2018-08-113-13/+26
|/ | | | | | | | | | | | | | | | | | In some cases, such as when working inside a virtual environment, it can be desirable to install all dependencies for running tests using `pip`. This is currently not possible since setuptools does not support installing these dependencies in a virtual environment (by design). (See https://stackoverflow.com/a/21003259.) To circumvent this issue, move such requirements to `dev-requirements.txt` file that can be used easily with `pip install -r`. This also enables tests to be run directly using `pytest`, which can be more convenient than `-addopts` approach when one needs to add multiple options. This will also be useful in creating better testuite images, and fix some of the issues noticed in https://gitlab.com/BuildStream/buildstream-docker-images/merge_requests/56.
* Merge branch 'valentindavid/498_bwrap_environment' into 'master'Valentin David2018-08-101-3/+7
|\ | | | | | | | | | | | | Set environment in bwrap command line instead of its environment Closes #498 See merge request BuildStream/buildstream!565
| * Set environment in bwrap command line instead of its environmentValentin David2018-08-101-3/+7
|/ | | | Fixes #498
* Merge branch 'relative_workspaces' into 'master'Phillip Smyth2018-08-106-54/+97
|\ | | | | | | | | | | | | Patch for issue #191 support relative workspaces Closes #191 See merge request BuildStream/buildstream!504
| * Implementing relative workspacesrelative_workspacesPhillip Smyth2018-08-106-54/+97
|/ | | | | | | This fixes #191 A note has been added to NEWS explaining backwards compatibility issues
* Merge branch 'jmac/pin-ruamel-version' into 'master'Tristan Van Berkom2018-08-091-1/+1
|\ | | | | | | | | Pin ruamel.yaml version to <= 0.15 See merge request BuildStream/buildstream!630
| * setup.py: Pin ruamel.yaml version to <= 0.15Jim MacArthur2018-08-091-1/+1
|/
* Merge branch 'jjardon/max-jobs' into 'master'Javier Jardón2018-08-091-2/+4
|\ | | | | | | | | buildstream/_project.py: Restrict max-jobs See merge request BuildStream/buildstream!620
| * buildstream/_project.py: Restrict max-jobsJavier Jardón2018-08-091-1/+4
| | | | | | | | | | | | even if the machine have mores cores available Patch taken from YBD: https://gitlab.com/baserock/ybd/blob/master/ybd/app.py#L227
| * buildstream/_project.py:Javier Jardón2018-08-091-2/+1
|/ | | | | | | | | Multiprocessing with n_jobs given by multiprocessing.cpu_count() is not optimal for systems where not all CPU can be used (in particular, Docker, CI etc). As suggested in the multiprocessing docs (http://docs.python.org/3/library/multiprocessing.html#multiprocessing.cpu_count) using len(os.sched_getaffinity(0)) might be better.
* Merge branch 'valentindavid/fuse-create-flags' into 'master'Valentin David2018-08-092-3/+7
|\ | | | | | | | | | | | | Keep original flags for create in SafeHardlinks. Closes #143 See merge request BuildStream/buildstream!624
| * Keep original flags for create in SafeHardlinks.Valentin David2018-08-092-3/+7
|/ | | | | | | | | | When open(2) is used with flags O_CREAT|O_RDWR, the file descriptor must be readable. Unfortunately O_RDWR was not passed which made read fail with EBADF and mmap to signal SIGBUS. This issue happened with man-db for example. Fixes #143.
* Merge branch 'tiagogomes/issue-520' into 'master'Tiago Gomes2018-08-093-8/+10
|\ | | | | | | | | Fix race condition when calculating disk usage See merge request BuildStream/buildstream!600
| * cascache: move tmp directory one level uptiagogomes/issue-520Tiago Gomes2018-08-093-8/+10
|/ | | | | | | | | | | | | The CAS uses a temp directory while manipulating the cache, temporary files can be added and removed while adding artifacts to the cache here. Since calculation of the cache size happens in parallel to artifact cache additions, this causes race conditions in the size calculation job, as we end up calling `stat` on temporary files which are being removed in parallel. Handle this by moving the temporary directory out of the way, and avoid considering the tmp directory when calculating the cache size
* Merge branch 'chandan/remove-dead-code' into 'master'Chandan Singh2018-08-081-10/+0
|\ | | | | | | | | .gitlab-ci.yml: Remove unused script "install.sh" See merge request BuildStream/buildstream!617
| * .gitlab-ci.yml: Remove unused script "install.sh"Chandan Singh2018-08-081-10/+0
|/
* Merge branch 'juerg/python3.7' into 'master'Jürg Billeter2018-08-072-4/+6
|\ | | | | | | | | Python 3.7 support See merge request BuildStream/buildstream!615
| * _artifactcache/cascache.py: Fix for PEP 479 / Python 3.7Jürg Billeter2018-08-071-2/+5
| | | | | | | | | | | | Do not rely on `StopIteration` bubbling up. https://www.python.org/dev/peps/pep-0479/
| * Revert "Restrict version of pylint"Jürg Billeter2018-08-071-2/+1
|/ | | | | | | | | 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.
* Merge branch 'willsalmon/trackWarning' into 'master'Will Salmon2018-08-073-3/+65
|\ | | | | | | | | | | | | Add warning to git track if track and ref are not present Closes #471 See merge request BuildStream/buildstream!580
| * Add warning to git track if track and ref are not presentWilliam Salmon2018-08-073-3/+65
|/ | | | | This is to address https://gitlab.com/BuildStream/buildstream/issues/471 that documented unhelpfull behavour when tracking git sources.
* Merge branch 'jennis/change_arch_install_instructions' into 'master'James Ennis2018-08-071-2/+13
|\ | | | | | | | | Change install instructions for python-arpy package on Arch See merge request BuildStream/buildstream!614
| * install_linux_distro.rst: Change install instructions for python-arpy ↵jennis/change_arch_install_instructionsJames Ennis2018-08-071-2/+13
|/ | | | | | | | 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
* source/install_linux_distro.rst: Fix formattingJavier Jardón2018-08-071-0/+2
|
* Merge branch 'adamjones/systemd-cas' into 'master'Javier Jardón2018-08-071-0/+44
|\ | | | | | | | | | | | | Include systemd file examples for google-cas cache Closes #419 See merge request BuildStream/buildstream!524
| * Add systemd service file examples to artifacts documentationAdam Jones2018-08-071-0/+44
|/ | | | change code style to ini
* Merge branch 'jjardon/doc_arch_releases' into 'master'Tristan Van Berkom2018-08-071-5/+4
|\ | | | | | | | | source/install_linux_distro.rst: Make clearer ArchLinux packages available See merge request BuildStream/buildstream!613
| * source/install_linux_distro.rst: Make clearer ArchLinux packages availableJavier Jardón2018-08-071-5/+4
|/
* Merge branch 'edbaunton/executable-remote-source' into 'master'Tristan Van Berkom2018-08-074-5/+61
|\ | | | | | | | | remote.py: Add support for marking downloaded files executable See merge request BuildStream/buildstream!581
| * remote.py: Add support for marking downloaded files executableEd Baunton2018-08-074-5/+61
|/ | | | | | | | | | 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.
* Merge branch 'tiagogomes/issue-550' into 'master'Tiago Gomes2018-08-062-3/+3
|\ | | | | | | | | | | | | PullQueue: fix resource used Closes #550 See merge request BuildStream/buildstream!611
| * PullQueue: fix resource usedTiago Gomes2018-08-062-3/+3
|/ | | | | | Improve fetchers, builders and pushers documentation. Closes #550.
* Merge branch 'jennis/fix_links_in_docs' into 'master'Jonathan Maw2018-08-061-2/+2
|\ | | | | | | | | Fix two links in the installing docs See merge request BuildStream/buildstream!610
| * install_linux_distro.rst: Fix broken linksJames Ennis2018-08-061-2/+2
|/
* Merge branch 'toscalix' into 'master'Agustin Benito Bethencourt2018-08-061-3/+3
|\ | | | | | | | | removed space in task template so checkboxes work as expected See merge request BuildStream/buildstream!588
| * removed space in task template so checkboxes work as expectedtoscalix2018-08-061-3/+3
|/
* Merge branch 'bochecha/fedora-packages' into 'master'Mathieu Bridon2018-08-061-0/+12
|\ | | | | | | | | doc: Mention the Fedora packages See merge request BuildStream/buildstream!604
| * doc: Mention the Fedora packagesMathieu Bridon2018-08-061-0/+12
|/ | | | These aren't official yet, but they should work.
* Merge branch 'tristan/build-docs' into 'master'Tristan Van Berkom2018-08-057-62/+62
|\ | | | | | | | | Build documentation without installing See merge request BuildStream/buildstream!605
| * HACKING.rst: It is not longer required to install BuildStream to build the docs.Tristan Van Berkom2018-08-051-3/+0
| |
| * doc/sessions/developing.run: Fix the session to actually run `patch` as a ↵Tristan Van Berkom2018-08-051-1/+2
| | | | | | | | | | | | | | | | shell command Since we added support for shell commands in bst2html, this can now be fixed. This is a part of issue #553
| * doc: Some modifications to the bst2html programTristan Van Berkom2018-08-052-72/+35
| | | | | | | | | | | | | | | | | | | | | | 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.
| * doc: Fix junctions user guide to refer to doc/sessions, not doc/sessions-stored.Tristan Van Berkom2018-08-051-3/+4
| |
| * __main__.py: Adding private entry point so we can run BuildStream without ↵Tristan Van Berkom2018-08-051-0/+17
| | | | | | | | | | | | installing This is needed to build docs without installing BuildStream.
| * doc: Build the docs without Buildstream installedbochecha/build-docsMathieu Bridon2018-08-043-8/+29
|/