summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Use http instead of https for the gnu ftp mirrorTiago 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 'valentindavid/fallback_mirror_git-1.2' into 'bst-1.2'Valentin David2018-08-164-5/+337
|\ | | | | | | | | Delay refreshing git submodule until we have a clone See merge request BuildStream/buildstream!666
| * Test we can discovered submodules on fallback mirrored git repositoriesvalentindavid/fallback_mirror_git-1.2Valentin David2018-08-161-0/+96
| |
| * Test git mirroring fallback on submodules when main repo is not mirrored.Valentin David2018-08-161-0/+97
| |
| * tests: Add a test of the git source with submodulesJonathan Maw2018-08-163-0/+80
| |
| * tests: Test that fetching passes when upstream is absentJonathan Maw2018-08-161-0/+61
| |
| * tests/frontend/mirror.py: Re-enable a test for gitValentin David2018-08-161-4/+0
| |
| * buildstream/plugins/sources/git.py: Fix clone side effect in getting fetchersValentin David2018-08-161-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 'Qinusty/gnu-mirror-backport-1.2' into 'bst-1.2'Valentin David2018-08-151-1/+1
|\ | | | | | | | | Qinusty/gnu mirror backport 1.2 See merge request BuildStream/buildstream!668
| * examples: Switch ftp.gnu.org to mirrorJosh Smith2018-08-151-1/+1
|/ | | | | This should avoid current issues accessing the necessary sources which are blocking CI currently.
* Merge branch 'bochecha/blessings' into 'bst-1.2'Tristan Van Berkom2018-08-151-1/+1
|\ | | | | | | | | deps: Specify the minimum version required for blessings See merge request BuildStream/buildstream!663
| * deps: Specify the minimum version required for blessingsMathieu Bridon2018-08-141-1/+1
|/ | | | | | | | | | | | | Buildstream uses the Terminal.does_styling attribute, which was only added in blessings 1.6. Blessings helpfully returns an empty string when calling an nonexistent attribute on the Terminal object, instead of failing. Because Fedora has blessings 1.5, Buildstream thought that my terminal couldn't handle styling, and just didn't print the status bar, silently. Specifying the minimum version avoids this silent failure.
* NEWS: Adding a news entry for the 1.1.6 release candidate1.1.6Tristan Van Berkom2018-08-141-0/+7
|
* Merge branch 'valentindavid/447-stack-trace-checkout' into 'bst-1.2'Tristan Van Berkom2018-08-143-1/+17
|\ | | | | | | | | Handle checkout failure for unbuilt elements See merge request BuildStream/buildstream!653
| * _stream.py: Print details on checkout failureMartin Blanchard2018-08-141-1/+1
| |
| * element.py: Raise an exception on unbuilt element checkoutMartin Blanchard2018-08-142-0/+16
|/ | | | | Trying to checkout an element that has no cached artifacts should be and handled failure. See BuildStream/buildstream#447.
* Merge branch ↵Tristan Van Berkom2018-08-142-1/+62
|\ | | | | | | | | | | | | 'valentindavid/203-BuildStream-crashes-when-dependency-tree-too-deep' into 'bst-1.2' 203 build stream crashes when dependency tree too deep See merge request BuildStream/buildstream!654
| * app.py: Handle exception thrown when recursion limit is exceededPhil Dawson2018-08-141-0/+4
| | | | | | | | | | Because the RecursionError exception was introduced in Python 3.5, until we drop support for for Python 3.4, we must use RuntimeError.
| * tests/frontend/show.py: Add test case for maximum recursion depth being exceededPhil Dawson2018-08-141-1/+58
|/ | | | | | | Add test to ensure gracefull handling of exception thrown while loading a pipeline due the python's max recursion depth being exceeded. This is part of the work for issue #203
* Merge branch 'valentindavid/448-autocompletion-broken-defaults' into 'bst-1.2'Valentin David2018-08-137-3/+29
|\ | | | | | | | | Fix autocompletion for elements in sub-folders See merge request BuildStream/buildstream!652