summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Prevent ValueError on URLs without an aliasQinusty/597-non-alias-url-fixJosh Smith2018-08-292-9/+13
| | | | Fixes #597
* Merge branch 'valentindavid/cli_integration_source_determinism' into 'master'Tristan Van Berkom2018-08-242-7/+14
|\ | | | | | | | | tests/integration/source-determinism.py: Use cli_integration. See merge request BuildStream/buildstream!715
| * tests/integration/source-determinism.py: Use cli_integration.valentindavid/cli_integration_source_determinismValentin David2018-08-242-7/+14
|/
* Merge branch 'chandan/ci-sdist-test' into 'master'Tristan Van Berkom2018-08-241-0/+5
|\ | | | | | | | | .gitlab-ci.yml: Verify that source tarball installs correctly See merge request BuildStream/buildstream!720
| * .gitlab-ci.yml: Verify that source tarball installs correctlychandan/ci-sdist-testChandan Singh2018-08-241-0/+5
|/ | | | | | | | | | Add a check to verify that the source distribution tarball that we generate installs corrctly. It is useful to do this check as this is the same tarball will be used when installing BuildStream via PyPI. This check also happens indirectly in the coverage job where we install BuildStream but this check makes it more explicit and will also cause the CI to fail early if the tarball is not correct.
* Merge branch 'tristan/reduce-gitlab-ci' into 'master'jjardon/ci-testTristan Van Berkom2018-08-232-5/+31
|\ | | | | | | | | .gitlab-ci.yml: Avoid running tests in post-merge See merge request BuildStream/buildstream!709
| * 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
|/
* deps: Specify the minimum version required for blessingstristan/blessingsMathieu Bridon2018-08-231-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.
* Merge branch 'valentindavid/extract-expiry' into 'master'Tristan Van Berkom2018-08-232-0/+56
|\ | | | | | | | | | | | | Remove artifact extracts when artifact expires in cache Closes #561 See merge request BuildStream/buildstream!685
| * Remove artifact extracts when artifact expires in cacheValentin David2018-08-232-0/+56
|/ | | | Fixes #561
* Merge branch 'valentindavid/inconsistant-workspace' into 'master'Tristan Van Berkom2018-08-232-1/+25
|\ | | | | | | | | | | | | Improve error message for deleted open workspaces Closes #576 See merge request BuildStream/buildstream!703
| * Improve error message for deleted open workspacesValentin David2018-08-232-1/+25
|/ | | | Fixes #576.
* _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' into 'master'Chandan Singh2018-08-221-1/+1
|\ | | | | | | | | MANIFEST.in: Fix include for dev-requirements.txt See merge request BuildStream/buildstream!704
| * MANIFEST.in: Fix include for dev-requirements.txtchandan/fix-mainfest-dev-requirementsChandan 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.
* Merge branch 'tristan/debug-symbols-location' into 'master'Tristan Van Berkom2018-08-2210-16/+32
|\ | | | | | | | | Don't strip pathname from debug symbol files See merge request BuildStream/buildstream!697
| * Don't strip pathname from debug symbol filesSam Thursfield2018-08-2210-16/+32
|/ | | | | | | | | | | | | 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 'willsalmon/versionTagRegrex' into 'master'Will Salmon2018-08-224-10/+26
|\ | | | | | | | | Search for tags with the *.*.* patten for version See merge request BuildStream/buildstream!601
| * Search for tags with the *.*.* patten for versionwillsalmon/versionTagRegrexWilliam 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 'tristan/notifications' into 'master'Tristan Van Berkom2018-08-221-3/+34
|\ | | | | | | | | | | | | _frontend/linuxapp.py: Fix special casing around desktop notification escape sequence Closes #385 See merge request BuildStream/buildstream!692
| * _frontend/linuxapp.py: Fix special casing around desktop notification escape ↵Tristan Van Berkom2018-08-221-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/pypi-prep' into 'master'Tristan Van Berkom2018-08-221-0/+12
|\ | | | | | | | | setup.py: Add fields required for publishing on PyPi See merge request BuildStream/buildstream!695
| * setup.py: Add fields required for publishing on PyPichandan/pypi-prepChandan 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 'Qinusty/598-fatal-warning-none-detail' into 'master'Qinusty2018-08-211-0/+1
|\ | | | | | | | | Fatal warnings no longer print None when detail=None See merge request BuildStream/buildstream!694
| * plugin.py: Stop printing None for fatal-warningsJosh Smith2018-08-211-0/+1
|/ | | | | Providing warn with detail=None (default) will no longer print None when a fatal warning is triggered.
* Merge branch 'chandan/update-ci-tags' into 'master'Tristan Van Berkom2018-08-212-7/+8
|\ | | | | | | | | Restrict pylint/pytest versions and bump CI tags See merge request BuildStream/buildstream!689
| * dev-requirements.txt: Pin versions of pytest and pylintchandan/update-ci-tagsChandan 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 'jonathan/faster-except-elements' into 'master'Jonathan Maw2018-08-211-0/+3
|\ | | | | | | | | Pipeline: Skip except_elements logic if no elements to except See merge request BuildStream/buildstream!688
| * Pipeline: Skip except_elements logic if no elements to exceptJonathan Maw2018-08-211-0/+3
|/
* Merge branch 'valentindavid/fix-broken-indentation-after-track' into 'master'Qinusty2018-08-214-6/+11
|\ | | | | | | | | Fix broken indentation after track See merge request BuildStream/buildstream!622
| * buildstream/_includes.py: Fix caching of included fragments.Valentin David2018-08-211-1/+1
| |
| * Fix broken indentation after tracking.Valentin David2018-08-214-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 'jonathan/cascache-cell-var-from-loop' into 'master'Jonathan Maw2018-08-201-3/+3
|\ | | | | | | | | Jonathan/cascache cell var from loop See merge request BuildStream/buildstream!686
| * CASCache: Fix cell-var-from-loop linting errorJonathan Maw2018-08-201-3/+3
|/
* Merge branch 'jonathan/cache-cache-size' into 'master'Jonathan Maw2018-08-209-82/+195
|\ | | | | | | | | Jonathan/cache cache size See merge request BuildStream/buildstream!679
| * Add tests that cache size worksJonathan Maw2018-08-202-1/+63
| |
| * artifactcache: Read and write cache size to diskJonathan Maw2018-08-201-2/+53
| |
| * Fix get_cache_size to store it in the ArtifactCache, not the contextJonathan Maw2018-08-207-85/+80
| |
| * Use ArtifactCache's get_cache_size when calculating the quotaJonathan Maw2018-08-202-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/exclude-project-py-from-tests' into 'master'Tristan Van Berkom2018-08-201-1/+1
|\ | | | | | | | | setup.cfg: Add tests/integration/project to norecursedirs See merge request BuildStream/buildstream!682
| * setup.cfg: Add tests/integration/project to norecursedirsTristan Van Berkom2018-08-201-1/+1
|/ | | | | | This is causing pytest to try to import the recently added app1.py from the pip related tests. This fails because it's not meant to be imported outside of the sandbox environment.
* Merge branch 'Qinusty/531-fetch-retries-on-terminate' into 'master'Qinusty2018-08-171-2/+2
|\ | | | | | | | | | | | | Prevent jobs retrying on terminate Closes #531 See merge request BuildStream/buildstream!662
| * job.py: Prevent terminated jobs retryingJosh Smith2018-08-171-2/+2
|/ | | | | Fixes #531: Jobs were retrying when terminated, this lead to the process being spawned again and starting up fresh.
* Merge branch 'willsalmon/APIFix' into 'master'Will Salmon2018-08-177-31/+101
|\ | | | | | | | | Updating the no track or ref fix to match the buildstream style See merge request BuildStream/buildstream!628
| * Improve error message for build if there are refs missingwillsalmon/APIFixWilliam Salmon2018-08-171-14/+5
| |
| * Add Error to git and ostree sources configureWilliam Salmon2018-08-176-17/+96
|/ | | | | | | | | 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 'tristan/notifications' into 'master'Tristan Van Berkom2018-08-171-2/+14
|\ | | | | | | | | | | | | _frontend/app.py: Notify session completions Closes #385 See merge request BuildStream/buildstream!672