summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* setup.py: Use "python_requires"jjardon/pyprojectJavier Jardón2018-08-171-0/+1
|
* Add pyproject.toml, to follow PEP 518Javier Jardón2018-08-171-0/+2
| | | | Keep manual setuptools detection on setup.py for people using pip < 10.0.0
* Merge branch 'tiagogomes/issue-577' into 'master'Tiago Gomes2018-08-161-2/+4
|\ | | | | | | | | | | | | cascache: use errno module Closes #577 See merge request BuildStream/buildstream!674
| * cascache: use errno moduleTiago Gomes2018-08-161-2/+4
|/ | | | | | os.errno does no longer work with Python 3.7 Closes #577.
* Merge branch 'tiagogomes/disable-https-gnu-repo' into 'master'Tiago Gomes2018-08-161-1/+1
|\ | | | | | | | | Use http instead of https for the gnu ftp mirror See merge request BuildStream/buildstream!676
| * Use http instead of https for the gnu ftp mirrortiagogomes/disable-https-gnu-repoTiago Gomes2018-08-161-1/+1
|/ | | | | | | | | https seems broken on the Debian image: START autotools/hello/42930621-fetch.499.log START Fetching https://ftpmirror.gnu.org/gnu/automake/automake-1.16.tar.gz FAILURE Fetching https://ftpmirror.gnu.org/gnu/automake/automake-1.16.tar.gz FAILURE tar source at hello.bst [line 16 column 2]: Error mirroring https://ftpmirror.gnu.org/gnu/automake/automake-1.16.tar.gz: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:720)>
* Merge branch 'willsalmon/CacheExpiryTest' into 'master'Tom Pollard2018-08-165-3/+133
|\ | | | | | | | | Trying to mitigate a file system issue See merge request BuildStream/buildstream!595
| * Trying to mitigate a mtime granularity braking the cache testswillsalmon/CacheExpiryTestWilliam Salmon2018-08-165-3/+133
|/ | | | | This patch mitigates the granularity of the mtimes used on the default gitlab runners, Allowing the test suite to pass on these runners.
* Merge branch 'valentindavid/fallback_mirror_ostree' into 'master'Tristan Van Berkom2018-08-162-14/+20
|\ | | | | | | | | | | | | Fix ostree repository mirroring Closes #538 See merge request BuildStream/buildstream!658
| * Fix ostree repository mirroringValentin David2018-08-162-14/+20
|/ | | | | | | | | | | Ostree mirrors were not sharing the same local repository, so it was impossible the request refs from the right local repository when data was fetched from a mirror rather than upstream. Instead of having several repository with one remote each, we now have one repository with several remotes. This fixes #538.
* Merge branch 'chandan/sourcetransform' into 'master'Chandan Singh2018-08-1531-58/+794
|\ | | | | | | | | | | | | Allow source plugins to access previous sources Closes #381 See merge request BuildStream/buildstream!568
| * Add NEWS entry for Source Transform and pip sourcechandan/sourcetransformChandan Singh2018-08-151-0/+7
| |
| * Add pip source pluginChandan Singh2018-08-1522-6/+454
| | | | | | | | | | | | | | | | | | | | | | `pip` source plugin can stage python packages that are either specified directly in the element definition or picked up from `requirements.txt` from previous sources. In order to support the latter use-case (which is also the primary motivation for this plugin), this plugin requires access to previous sources and hence is an example of a Source Transform source. Also, bump `BST_FORMAT_VERSION` as this patch adds a new core plugin.
| * Allow source plugins to access previous sourcesChandan Singh2018-08-159-56/+337
|/ | | | | | | | | | | | | Source plugin implementations can now specify that they need access to previously staged sources by specifying `BST_REQUIRES_PREVIOUS_SOURCES_TRACK` and/or `BST_REQUIRES_PREVIOUS_SOURCES_FETCH`, corresponding to access at `track` and `fetch` times respectively. Fixes #381. Replaces !505. For relevant discussion, see this discussion: https://gitlab.com/BuildStream/buildstream/merge_requests/505#note_83780747
* Merge branch 'jmac/cas_virtual_directory' into 'master'Jim MacArthur2018-08-1515-59/+743
|\ | | | | | | | | CAS-backed virtual directory implementation See merge request BuildStream/buildstream!481
| * Add basic storage test 'storage-test.py'jmac/cas_virtual_directoryJim MacArthur2018-08-154-0/+60
| |
| * Sandbox: Return a CasBasedDirectory when an environment variable is setJim MacArthur2018-08-151-2/+10
| |
| * filebaseddirectory: Update index after descendJim MacArthur2018-08-151-1/+2
| |
| * Directory API: add mark_changedJim MacArthur2018-08-154-0/+16
| |
| * Initial implementation of _casbaseddirectory.pyJim MacArthur2018-08-151-0/+563
| |
| * Move KeyStrength enum out to element_enums.pyJim MacArthur2018-08-154-38/+67
| |
| * _filebaseddirectory/directory.py: Move VirtualDirectoryError to DirectoryJim MacArthur2018-08-152-15/+15
| |
| * Convert uses of external_directory to get_underlying_directory()Jim MacArthur2018-08-153-3/+10
|/
* Merge branch 'juerg/cas' into 'master'Jürg Billeter2018-08-152-17/+78
|\ | | | | | | | | | | | | CAS: Fix resource_name format for blobs Closes #572 See merge request BuildStream/buildstream!660
| * _artifactcache/casserver.py: Improve ByteStream error handlingJürg Billeter2018-08-151-19/+52
| | | | | | | | Replace assertions with gRPC error responses.
| * _artifactcache/cascache.py: Fix resource_name format for blobsJürg Billeter2018-08-151-2/+6
| | | | | | | | | | | | This requires an updated server. Fixes #572.
| * _artifactcache/casserver.py: Fix resource_name format for blobsJürg Billeter2018-08-151-6/+30
|/ | | | | Continue to accept requests from non-conforming BuildStream clients for the time being to ease migration.
* Merge branch 'Qinusty/526-fail-on-warnings' into 'master'Tristan Van Berkom2018-08-1544-83/+398
|\ | | | | | | | | | | | | Configurable Warnings Closes #526 See merge request BuildStream/buildstream!627
| * tests: Add tests for configurable warningsJosh Smith2018-08-159-2/+201
| | | | | | | | | | | | | | | | This adds multiple tests for custom plugin warnings and core warnings, providing checks for both cases which should cause warnings and errors when configured as fatal. Also adds tests for cache key calculations.
| * docs: Add documentation for Configurable WarningsJosh Smith2018-08-152-12/+36
| | | | | | | | This includes detailing the use of `fatal-warnings` within project.conf
| * git.py: Add configurable warning for inconsistent-submoduleJosh Smith2018-08-151-1/+10
| | | | | | | | This follows the implementation of configurable warnings.
| * _project.py: Add fatal-warnings configuration itemJosh Smith2018-08-1533-69/+152
|/ | | | | | | | | | | | | | | | | | | | This allows for users to configure fatal-warnings to be either a list of warnings. This commit deprecates the use of fail-on-overlap within project.conf, this will now use the fatal-warnings configuration item. element.py: Cache key calculation now takes into account all of the fatal-warnings tests: This modifys the tests/frontend/overlaps.py tests to support the new fatal-warnings configuration. Backwards compatibility is also tested for `fail-on-overlap` _versions.py: BST_FORMAT_VERSION bumped to 15 for fatal-warnings BST_CORE_ARTIFACT_VERSION bumpted to 5 for fatal-warnings Fixes: #526
* Merge branch 'Qinusty/gnu-mirror' into 'master'Qinusty2018-08-152-2/+2
|\ | | | | | | | | Fix CI - ftp.gnu.org unreachable See merge request BuildStream/buildstream!665
| * examples: Switch ftp.gnu.org to mirrorQinusty/gnu-mirrorJosh Smith2018-08-152-2/+2
|/ | | | | This should avoid current issues accessing the necessary sources which are blocking CI currently.
* Merge branch 'valentindavid/fallback_mirror_git' into 'master'Tristan Van Berkom2018-08-154-5/+337
|\ | | | | | | | | | | | | Delay refreshing git submodule until we have a clone Closes #537 See merge request BuildStream/buildstream!656
| * Test we can discovered submodules on fallback mirrored git repositoriesValentin David2018-08-141-0/+96
| |
| * Test git mirroring fallback on submodules when main repo is not mirrored.Valentin David2018-08-141-0/+97
| |
| * tests: Add a test of the git source with submodulesJonathan Maw2018-08-143-0/+80
| |
| * tests: Test that fetching passes when upstream is absentJonathan Maw2018-08-141-0/+61
| |
| * tests/frontend/mirror.py: Re-enable a test for gitValentin David2018-08-141-4/+0
| |
| * buildstream/plugins/sources/git.py: Fix clone side effect in getting fetchersValentin David2018-08-141-1/+3
|/ | | | | | | We now delay refreshing submodules until we have a clone, that is after we have fetched the main fetcher. Fixes #537
* Merge branch '463-make-dependency-type-default-to-build-2' into 'master'Jonathan Maw2018-08-1413-25/+188
|\ | | | | | | | | | | | | Resolve "Make dependency type default to build" Closes #463 See merge request BuildStream/buildstream!633
| * Add NEWSJonathan Maw2018-08-141-0/+4
| |
| * docs: Add documentation of build-depends and runtime-depends fieldsJonathan Maw2018-08-141-2/+66
| |
| * versions: Bump format version to 14Jonathan Maw2018-08-141-1/+1
| | | | | | | | Format version raised because of a change to the core element format.
| * tests: Add tests for loading builddeps and runtime depsJonathan Maw2018-08-148-4/+78
| |
| * loader: Add 'build-depends' and 'runtime-depends' fields to elementsJonathan Maw2018-08-142-18/+39
|/
* NEWS: Move recent entries to a new 1.3.1 sectionJürg Billeter2018-08-141-9/+17
| | | | | Caching failed builds and relative workspaces were not part of the 1.1.5 developer snapshot.
* Merge branch 'valentindavid/ruamel-version' into 'master'Valentin David2018-08-131-1/+1
|\ | | | | | | | | | | | | Set version of ruaml.yaml to at least 0.15.41 but strictly less than 0.15.52. Closes #571 See merge request BuildStream/buildstream!646
| * Set version of ruaml.yaml to strictly less than 0.15.52.Valentin David2018-08-131-1/+1
|/ | | | | | | This allows to use version 0.15.51 rather than 0.15.0 which is required for Python 3. Fixes #571.