| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are cases where downstream projects want to overwrite upstream
elements.
So far, either the downstream project just allows overlaps and hopes
that ABI is compatible. There are also files left from original
elements when not overwritten.
Or downstream adds an "overlay" with local source to the
junctions. However on the latter, elements in the overlay are
considered as part of upstream, which means in cannot depend on
element outside of upstream (unless cyclic junction maybe?).
Here we add a feature to junctions to allow injecting elements from
current project to junctions.
This is useful for example in the case of GNOME SDK needing to override
GLib, GObjectIntrospection, libsoup, etc. from Freedesktop SDK.
|
|\
| |
| |
| |
| |
| | |
_downloadablefilesource.py: Set user agent
See merge request BuildStream/buildstream!1898
|
|/
|
|
| |
Backporting https://gitlab.com/BuildStream/buildstream/-/merge_requests/1897
|
|\
| |
| |
| |
| | |
Handle grpc errors of type UNAVAILABLE and ABORTED
See merge request BuildStream/buildstream!1867
|
|/
|
|
|
|
|
|
|
|
|
| |
Requests with error UNAVAILABLE are retried directly. They are
typically issue with setting connection which can happen when the
server is slow at accepting new connections.
Requests with errors ABORTED are converted to temporary exceptions so
that the scheduler can retry the task.
Fixes #815
|
|\
| |
| |
| |
| | |
bst-1: .gitlab-ci.yml: Use latest fdsdk 19.09.9 for overnigth tests
See merge request BuildStream/buildstream!1862
|
|/ |
|
|\
| |
| |
| |
| | |
[bst-1] _project.py: resolve options before running the final assertions
See merge request BuildStream/buildstream!1857
|
|/
|
|
|
|
| |
otherwise, having an optional list append in the configuration wouldn't work
This also avoids special casing for element and source overrides
|
|\
| |
| |
| |
| | |
bst-1: Add current stable fedora 31 for tests
See merge request BuildStream/buildstream!1853
|
| | |
|
|/
|
|
|
| |
The C code didn't change but the annotation was fixed in
v2019.2-10-gaa5df899
|
|\
| |
| |
| |
| | |
bst-1: Run test in Debian 10 as well
See merge request BuildStream/buildstream!1855
|
|/ |
|
|\
| |
| |
| |
| | |
Use collections.abc for Mapping, Iterable
See merge request BuildStream/buildstream!1854
|
|/
|
|
|
|
|
| |
In _yaml.py and _frontend/complete.py we were getting pylint warnings
for using collections.Mapping and collections.Iterable, which are
abstract classes now provided from collections.abc. This patch just
uses the classes from the right place.
|
|\
| |
| |
| |
| | |
NEWS: Updated for 1.4.2 release
See merge request BuildStream/buildstream!1849
|
|/ |
|
|\
| |
| |
| |
| | |
mount: don't pass nonempty option
See merge request BuildStream/buildstream!1842
|
|/
|
|
|
| |
fusermount3 doesn't support it, and this prevents buildstream from working
in systems that have fuse 3
|
|\
| |
| |
| |
| | |
Pass CI with python3.8
See merge request BuildStream/buildstream!1846
|
| | |
|
|/
|
|
|
|
|
| |
In order to run host pip, this plugin tries to use the
correct interpretor.
The test suite does not pass on python3.8 without this change.
|
|\
| |
| |
| |
| | |
Accept absolute paths in overlap whitelist
See merge request BuildStream/buildstream!1841
|
|/
|
|
|
|
|
|
|
|
|
| |
This allows use of variables such as %{prefix} and matches the documentation.
To avoid breaking compatibility with older bst 1.x versions, it still accepts
paths without the leading slash.
based on 1ae1796854055f4b9e3202d9629e059b327f3a8d
Fixes #721
|
|\
| |
| |
| |
| | |
_downloadablefilesource.py: don't download the file if etag matches
See merge request BuildStream/buildstream!1838
|
|/
|
|
|
| |
Some servers don't honor the 'If-None-Match' header and send the file even with
matching etag
|
|\
| |
| |
| |
| | |
[BuildStream 1.4] Backport changes to enable Python 3.8
See merge request BuildStream/buildstream!1830
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Having a running asyncio loop while forking a program is not supported
in python and doesn't work as expected.
This leads to file descriptors leaking and the subprocesses sharing the
same loop as the parents. This also leads to the parent receiving all
signals the children receive.
This ensures we don't leek our asyncio loop in the workers we fork.
|
| | |
|
| |
| |
| |
| |
| | |
In Python 3.8, `ThreadedChildWatcher` is the default watcher that causes
issues with our scheduler. Enforce use of `SafeChildWatcher`.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Per
https://docs.python.org/3/library/asyncio-policy.html#asyncio.AbstractChildWatcher.add_child_handler,
the callback from a child handler must be thread safe. Not all our
callbacks were. This changes all our callbacks to schedule a call for
the next loop iteration instead of executing it directly.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The documentation
(https://docs.python.org/3/library/asyncio-policy.html#asyncio.AbstractChildWatcher)
is apparently missing this part, but the code mentions that new
processes should only ever be called inside a with block:
https://github.com/python/cpython/blob/99eb70a9eb9493602ff6ad8bb92df4318cf05a3e/Lib/asyncio/unix_events.py#L808
|
|/
|
|
|
|
|
|
|
|
|
| |
Using `join()` on the subprocess calls `waitpid()` under the hood
which breaks our child watcher.
Instead, schedule a task for 20 seconds later that will effectively
kill the tasks.
Note that the task will only be called if we still have active jobs.
Otherwise, it will just be skipped and we won't wait as long.
|
|\
| |
| |
| |
| | |
app.py: Also catch SystemError with click.Abort
See merge request BuildStream/buildstream!1701
|
|/
|
|
|
|
|
|
|
| |
This is to catch an error when sometimes the readline buffer of stdin
gets corrupted during the second CTRL-C we send, and leads to having
BuildStream hand and throw a SystemError.
Catching the SystemError and treating as a click.Abort doesn't seem
to have adverse effects.
|
|\
| |
| |
| |
| | |
plugins/elements/cmake.yaml: always specify variable types
See merge request BuildStream/buildstream!1549
|
|/
|
|
|
|
|
| |
cmake sometimes misinterprets relative paths as relative to the current directory
if this is not specified. See freedesktop-sdk/freedesktop-sdk#431
adjust tests/format/variables.py accordingly.
|
|\
| |
| |
| |
| | |
remove references to sdk.gnome.org
See merge request BuildStream/buildstream!1715
|
|/
|
|
| |
download from flathub instead, and update to 1.6 as flathub doesn't include 1.4
|
|\
| |
| |
| |
| | |
doc/source/install_linux_distro.rst: Update info
See merge request BuildStream/buildstream!1585
|
|/ |
|
|
|
|
|
|
| |
See https://docs.gitlab.com/ee/ci/examples/code_quality.html
Backported from 66664ddf14a40a0b29b7fb4f7f90ac10ef62f052
|
|\
| |
| |
| |
| | |
Update NEWS
See merge request BuildStream/buildstream!1579
|
|/
|
|
| |
[ci skip]
|
|\
| |
| |
| |
| | |
Update requirements for 1.4
See merge request BuildStream/buildstream!1578
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
| |
Some dependencies need wheel to be installed before their installation
is started as it provides extra setup.py commands.
|