summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* CASCache: Fix cell-var-from-loop linting errorjuerg/cas-1.2Jonathan Maw2018-08-231-3/+3
|
* _artifactcache/casserver.py: Improve ByteStream error handlingJürg Billeter2018-08-231-19/+52
| | | | Replace assertions with gRPC error responses.
* NEWS: Add news entry for CAS resource_name format changeJürg Billeter2018-08-231-0/+9
|
* _artifactcache/cascache.py: Fix resource_name format for blobsJürg Billeter2018-08-231-2/+6
| | | | | | This requires an updated server. Fixes #572.
* _artifactcache/casserver.py: Fix resource_name format for blobsJürg Billeter2018-08-231-6/+30
| | | | | Continue to accept requests from non-conforming BuildStream clients for the time being to ease migration.
* Merge branch 'tristan/reduce-gitlab-ci-1.2' into 'bst-1.2'Tristan Van Berkom2018-08-232-5/+31
|\ | | | | | | | | .gitlab-ci.yml: Avoid running tests in post-merge (1.2) See merge request BuildStream/buildstream!710
| * README.rst: Removing the badgesTristan Van Berkom2018-08-231-5/+0
| | | | | | | | | | | | | | | | | | Now that we only run pre-merge CI, it makes no sense to show a badge for the coverage and pipeline status of the last run of master. It would make sense to show a badge for the last pipeline which was run for the last merge request that was merged to master, but I don't see any feature to get that information.
| * .gitlab-ci.yml: Avoid running tests in post-mergeTristan Van Berkom2018-08-231-0/+31
|/
* Merge branch 'tristan/artifact-expiry-1.2' into 'bst-1.2'Tristan Van Berkom2018-08-232-0/+56
|\ | | | | | | | | Remove artifact extracts when artifact expires in cache See merge request BuildStream/buildstream!708
| * Remove artifact extracts when artifact expires in cacheValentin David2018-08-232-0/+56
|/ | | | Fixes #561
* Merge branch 'tristan/inconsistent-workspace-1.2' into 'bst-1.2'Tristan Van Berkom2018-08-232-1/+25
|\ | | | | | | | | Improve error message for deleted open workspaces See merge request BuildStream/buildstream!707
| * Improve error message for deleted open workspacestristan/inconsistent-workspace-1.2Valentin David2018-08-232-1/+25
|/ | | | Fixes #576.
* Merge branch 'tristan/finish-backport-of-679' into 'bst-1.2'Tristan Van Berkom2018-08-239-87/+195
|\ | | | | | | | | Tristan/finish backport of 679 See merge request BuildStream/buildstream!706
| * Add tests that cache size worksJonathan Maw2018-08-232-1/+63
| |
| * artifactcache: Read and write cache size to diskJonathan Maw2018-08-231-2/+53
| |
| * Fix get_cache_size to store it in the ArtifactCache, not the contextJonathan Maw2018-08-237-85/+80
|/
* _frontend/linuxapp.py: Fixing fallout from !693Tristan Van Berkom2018-08-231-4/+4
| | | | | | When fixing terminal notifications, I had introduced a bug with accesses to `os.environ` which triggered KeyError, this patch fixes it.
* Merge branch 'chandan/fix-mainfest-dev-requirements-1.2' into 'bst-1.2'Chandan Singh2018-08-221-1/+1
|\ | | | | | | | | MANIFEST.in: Fix include for dev-requirements.txt See merge request BuildStream/buildstream!705
| * MANIFEST.in: Fix include for dev-requirements.txtchandan/fix-mainfest-dev-requirements-1.2Chandan Singh2018-08-221-1/+1
|/ | | | | | | | | | | | | | | Currently, running any setuptools commands using `setup.py` generates a warning like so: warning: manifest_maker: MANIFEST.in, line 21: unknown action 'dev-requirements.txt' The syntax is invalid and got accidentally introduced in !637 but it's a shame that this is not a warning and no obvious way to make it an error if there are invalid things in MANIFEST.in file. --- This is a backport of https://gitlab.com/BuildStream/buildstream/merge_requests/704.
* Merge branch 'valentindavid/faster_startup-1.2' into 'bst-1.2'Valentin David2018-08-222-52/+57
|\ | | | | | | | | Use ArtifactCache's get_cache_size when calculating the quota See merge request BuildStream/buildstream!701
| * Use ArtifactCache's get_cache_size when calculating the quotavalentindavid/faster_startup-1.2Jonathan Maw2018-08-222-52/+57
|/ | | | | | It would have been more convenient to store the quota size in the ArtifactCache, except that the scheduler needs the quota size and doesn't have access to the ArtifactCache.
* Merge branch 'tristan/debug-symbols-location-1.2' into 'bst-1.2'Tristan Van Berkom2018-08-229-15/+29
|\ | | | | | | | | Don't strip pathname from debug symbol files See merge request BuildStream/buildstream!698
| * Don't strip pathname from debug symbol filestristan/debug-symbols-location-1.2Sam Thursfield2018-08-229-15/+29
|/ | | | | | | | | | | | | When GDB looks for debug symbols it looks for the full path of the file inside the configured debug-file-directory. For example, if the debug-file-directory is set to a default of /usr/lib/debug, and you are debugging /usr/bin/python3, GDB will look for its debug symbols at this location: /usr/lib/debug/usr/bin/python3. BuildStream has been putting all debug files inside /usr/lib/debug under their $(basename), so in the above example GDB would fail to find any debug symbols for /usr/bin/python3 because they would be in the incorrect locatoin of /usr/lib/debug/python3.
* Merge branch 'chandan/pypi-prep-1.2' into 'bst-1.2'Chandan Singh2018-08-221-0/+12
|\ | | | | | | | | setup.py: Add fields required for publishing on PyPi See merge request BuildStream/buildstream!699
| * setup.py: Add fields required for publishing on PyPiChandan Singh2018-08-221-0/+12
|/ | | | | | | Fill out those fields in `setup.py` that are required for publishing a package on PyPi. Part of https://gitlab.com/BuildStream/buildstream/issues/587.
* Merge branch 'willsalmon/MR601-backport' into 'bst-1.2'Will Salmon2018-08-224-10/+26
|\ | | | | | | | | Willsalmon/mr601 backport See merge request BuildStream/buildstream!696
| * Search for tags with the *.*.* patten for versionwillsalmon/MR601-backportWilliam Salmon2018-08-223-9/+16
| | | | | | | | | | | | | | | | | | | | This has been done in a way that I hope might be able to be upstreamed in to versioneer. This is not garanteed but it would be good if it could be. Please see https://github.com/warner/python-versioneer/pull/186 and https://github.com/wsalmonct/python-versioneer/tree/feature/regexTags for further details.
| * Catch Non Numeric versionsWilliam Salmon2018-08-221-1/+10
|/ | | | | | | This patch just displays a better message than the default stack trace but dose not try to fix the problem. A further patch will be created but it effects versioneer so may take longer to land as it may need to go via versioneer mainline.
* Merge branch 'jonathan/faster-except-elements-1.2' into 'bst-1.2'Tristan Van Berkom2018-08-221-0/+3
|\ | | | | | | | | Pipeline: Skip except_elements logic if no elements to except See merge request BuildStream/buildstream!691
| * Pipeline: Skip except_elements logic if no elements to exceptJonathan Maw2018-08-221-0/+3
|/
* Merge branch 'tristan/notifications-1.2' into 'bst-1.2'Tristan Van Berkom2018-08-211-3/+34
|\ | | | | | | | | _frontend/linuxapp.py: Fix special casing around desktop notification escape sequence See merge request BuildStream/buildstream!693
| * _frontend/linuxapp.py: Fix special casing around desktop notification escape ↵tristan/notifications-1.2Tristan Van Berkom2018-08-211-3/+34
|/ | | | | | | | | | | sequence Now we allow the notification to happen on any TERM which starts with 'xterm' or 'vte', and we only do it if the VTE_VERSION is >= 4600, where we know for sure that VTE will not print garbage on the terminal. Fixes #385
* Merge branch 'chandan/update-ci-tags-1.2' into 'bst-1.2'Chandan Singh2018-08-212-7/+8
|\ | | | | | | | | Restrict pylint/pytest versions and bump CI tags See merge request BuildStream/buildstream!690
| * dev-requirements.txt: Pin versions of pytest and pylintChandan Singh2018-08-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | These packages should only be updated as a deliberate change and the code should be tested with the new versions to ensure that the test still pass. Any future updates should also happen in sync with the buildstream-docker-images repository so that the testsuite base images also enforce the same restrictions for the development requirements. Replaces https://gitlab.com/BuildStream/buildstream/merge_requests/684.
| * .gitlab-ci.yml: Bump tags for testsuite imagesChandan Singh2018-08-211-6/+6
|/ | | | | | | These new images come with pinned versions of `pytest` and `pylint`: - `pylint`: `== 2.1.1` - `pytest`: `>= 3.7`
* Merge branch 'valentindavid/fix-broken-indentation-after-track-1.2' into ↵Valentin David2018-08-204-6/+11
|\ | | | | | | | | | | | | 'bst-1.2' Fix broken indentation after track See merge request BuildStream/buildstream!687
| * buildstream/_includes.py: Fix caching of included fragments.valentindavid/fix-broken-indentation-after-track-1.2Valentin David2018-08-201-1/+1
| |
| * Fix broken indentation after tracking.Valentin David2018-08-204-5/+10
|/ | | | | | | | | Issue was introduced by 171e803f (include directive) and the fix was found courtesy of @Qinusty. This fixes also the include feature. Because elements are to be serialized, the included fragments need to use copy_tree when loaded. Related to #470.
* Merge branch 'Qinusty/terminate-retries-backport-1.2' into 'bst-1.2'Qinusty2018-08-201-2/+2
|\ | | | | | | | | Backport: Prevent terminated jobs retrying See merge request BuildStream/buildstream!681
| * job.py: Prevent terminated jobs retryingJosh Smith2018-08-201-2/+2
|/ | | | | Fixes #531: Jobs were retrying when terminated, this lead to the process being spawned again and starting up fresh.
* Merge branch 'willsalmon/580-backport' into 'bst-1.2'Will Salmon2018-08-177-3/+129
|\ | | | | | | | | Add warning to git track if track and ref are not present See merge request BuildStream/buildstream!621
| * Improve error message for build if there are refs missingwillsalmon/580-backportWilliam Salmon2018-08-171-3/+8
| |
| * Add Error to git and ostree sources configureWilliam Salmon2018-08-176-0/+121
|/ | | | | | | | | Raise a error at configure time if the track and ref properties are not present in the sources. This is to address https://gitlab.com/BuildStream/buildstream/issues/471 that documented unhelpful behaviour when tracking git sources. However the issue was also identified in ostree.
* Merge branch 'tiagogomes/issue-577-backport' into 'bst-1.2'Javier Jardón2018-08-161-2/+4
|\ | | | | | | | | cascache: use errno module See merge request BuildStream/buildstream!675
| * cascache: use errno moduleTiago Gomes2018-08-161-2/+4
|/ | | | | | os.errno does no longer work with Python 3.7 Closes #577.
* Merge branch 'tristan/notifications-1.2' into 'bst-1.2'Tristan Van Berkom2018-08-161-2/+14
|\ | | | | | | | | _frontend/app.py: Notify session completions See merge request BuildStream/buildstream!673
| * _frontend/app.py: Notify session completionsTristan Van Berkom2018-08-161-2/+14
|/ | | | | | | | | | Use the optionally implemented desktop notification method to notify when a session completes. Previously, this used to only notify when an interactive prompt appears. This is an attempt to fix #385
* Merge branch 'valentindavid/fallback_mirror_ostree-1.2' into 'bst-1.2'Valentin David2018-08-162-14/+20
|\ | | | | | | | | Fix ostree repository mirroring See merge request BuildStream/buildstream!667
| * 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 'tiagogomes/disable-https-gnu-repo-backport' into 'bst-1.2'Tiago Gomes2018-08-161-1/+1
|\ | | | | | | | | Use http instead of https for the gnu ftp mirror See merge request BuildStream/buildstream!677