summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge branch 'valentindavid/fix_included_junction_track' into 'master'Tristan Van Berkom2018-08-132-2/+37
|\ | | | | | | | | | | | | Fix tracking of junctions used in project.conf Closes #565 See merge request BuildStream/buildstream!619
| * Fix tracking of junctions used in project.conf.Valentin David2018-08-132-2/+37
|/ | | | | | | | | | | | | | Stream._load() now returns early without resolving build pipeline when only tracking. Resolving track pipelines does not require to fully load project configurations when when elements to track are only junctions. However build pipelines require to fully load project configurations. This might not be possible in the case a project configuration includes a file from a junction that yet needs to be tracked. Fixes #565.
* Merge branch 'chandan/remote-source-cachekey-test' into 'master'Tristan Van Berkom2018-08-136-1/+18
|\ | | | | | | | | remote source: Add cachekey test See merge request BuildStream/buildstream!636
| * remote source: Add cachekey testChandan Singh2018-08-136-1/+18
|/ | | | | Add cachekey tests for the recently added `remote` source plugin to ensure that future changes do not break API compatibility.
* Merge branch 'chandan/update-fedora-install-docs' into 'master'Javier Jardón2018-08-121-1/+2
|\ | | | | | | | | doc: Fix install instructions for Fedora See merge request BuildStream/buildstream!640
| * doc: Fix install instructions for FedoraChandan Singh2018-08-121-1/+2
|/ | | | | | | | | `python3-arpy` package is not available on Fedora so it has to be installed using `pip`. Update instructions accordingly. For reference, here is a pipeline that failed when trying to install `arpy` using current instructions: https://gitlab.com/BuildStream/buildstream-docker-images/-/jobs/88553245.
* Merge branch 'valentindavid/deterministic-source' into 'master'Tristan Van Berkom2018-08-1230-30/+246
|\ | | | | | | | | | | | | Deterministic staging Closes #543, #544, #555, and #527 See merge request BuildStream/buildstream!616
| * Bump BST_CORE_ARTIFACT_VERSION for deterministic source pluginsValentin David2018-08-1226-26/+26
| |
| * Add some integration tests for source plugin determinism.Valentin David2018-08-121-0/+155
| |
| * buildstream/plugins/sources/zip.py: Fix non-determism in staging.Valentin David2018-08-121-2/+30
| | | | | | | | | | Staging could end-up with file with different rights depending on the umask. The extracted files need to get their access rights fixed.
| * Use deterministic umask when staging sources.Valentin David2018-08-121-1/+10
| | | | | | | | | | | | This fix is applied to plugins bzr, git, patch. Fixes #543 #544 #555.
| * buildstream/plugins/sources/local.py: Make staging deterministic.Valentin David2018-08-121-1/+25
|/ | | | | | | | | | | | | | Instead of copying metadata on files staged by local, we manually set mode to 0755 or 0644 depending on whether user execution was enabled on source file. This makes file modes deterministic independently on the way source was distributed. Non-deterministic mode copying all metadata can still be enabled by disable 'deterministic' Boolean configuration on the plugin. Fixes #527.
* Merge branch 'jjardon/ci_fedora28' into 'master'Javier Jardón2018-08-123-12/+12
|\ | | | | | | | | Add job to run tests in fedora 28 See merge request BuildStream/buildstream!643
| * dev-requirements.txt: Remove obsolete commentsJavier Jardón2018-08-122-8/+3
| | | | | | | | | | This also fixes an error with pylint in setup.py: setup.py:226:19: R1718: Consider using a set comprehension (consider-using-set-comprehension)
| * .gitlab-ci.yml: Use the same version of the docker image for all jobsJavier Jardón2018-08-121-4/+4
| |