| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Now element plugins can provide a dependency loader that can provide
extra dependencies from the `config` node.
|
|\
| |
| |
| |
| | |
Cas refactor
See merge request BuildStream/buildstream!1071
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
List of methods moved
* Initialization check: made it a class method that is run in a subprocess, for
when checking in the main buildstream process.
* fetch_blobs
* send_blobs
* verify_digest_on_remote
* push_method
Part of #802
|
| |
| |
| |
| | |
Part of #802
|
|/
|
|
|
|
|
|
|
| |
Other components will start to reply on cas modules, and not the artifact cache
modules so it should be organized to reflect this.
All relevant imports have been changed.
Part #802
|
|\
| |
| |
| |
| | |
Small documentation/comment fixes in context.py
See merge request BuildStream/buildstream!1072
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
buildstream/_gitsourcebase.py: Reduce git history for git describe.
See merge request BuildStream/buildstream!1069
|
| |
| |
| |
| |
| | |
`git rev-list --boundary HEAD..HEAD` does not return any boundary.
So in this case we need to manually tag the HEAD as a boundary.
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Found during #833.
`git rev-list --boundary tag..HEAD` unfortunately gives boundaries
that are deeper than should when there is a merge commit between `tag`
and `HEAD`. The common ancestory of the two parents of the merge is
a boundary instead of the parent of the branch that is not traversed.
`--ancestry-path` fixes this issue by restricting `git` traversing
those branches.
|
|\
| |
| |
| |
| | |
conftest.py: Don't use deprecated get_marker() function
See merge request BuildStream/buildstream!1073
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Starting from `pytest` version 4.1.0, `Node.get_marker()` has been
removed, and hence our tests break when running with newer versions of
`pytest`. It was deprecated since a while back but it has recently been
removed completely. Use `get_closest_marker()` as a replacement that is
suggested in the changelog, and seems to work fine for our use case.
See https://github.com/pytest-dev/pytest/pull/4564 for more context on
the upstream issue.
One way of verifying this change is that this should fix the recently
added `tests-fedora-update-deps` job, that was failing before due to
this issue.
|
|\
| |
| |
| |
| |
| |
| | |
.gitlab-ci.yml: Add tests for python 3.7
Closes #838
See merge request BuildStream/buildstream!1074
|
|/
|
|
|
|
| |
We already have tests for python 3.5 and 3.6 but not 3.7.
Fixes https://gitlab.com/BuildStream/buildstream/issues/838.
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: Add job to attempt to update dependencies
See merge request BuildStream/buildstream!1038
|
|/
|
|
|
|
|
| |
This will help us check if BuildStream is working with the latest
version of dependencies, as per our constraints. This job is allowed to
fail but its failure should signal that we need to add stricter
constraints in some of our `.in` requirements files.
|
|\
| |
| |
| |
| |
| |
| | |
.gitlab-ci.yml: Use latest bst-external
Closes #861
See merge request BuildStream/buildstream!1068
|
|/
|
|
| |
which include flatpak_repo plugin needed to build fdsdk
|
|\
| |
| |
| |
| | |
completions.py: Add a test for our artifact ref autocompletions
See merge request BuildStream/buildstream!1054
|
| |
| |
| |
| |
| |
| |
| | |
Since the artifact subcommand group has been created, we have been able
to tab complete both element names and artifact refs as arguments to
the artifact subcommands (e.g. bst artifact log), this commit adds a
test for this.
|
|/
|
|
|
|
|
| |
The path of the config file generated by testutils for completion tests
is passed as regular argument, not via COMP_WORDS. Use that config file
in complete_artifact() to ensure the test uses the right artifact
directory.
|
|\
| |
| |
| |
| |
| |
| | |
Chandan/fix overnight aarch
Closes #859
See merge request BuildStream/buildstream!1065
|
|/
|
|
|
|
|
|
|
|
|
|
| |
During recent reorganizing of `.gitlab-ci.yml` to work with `tox`, seems
like we missed to update the image used by the overnight aarch tests,
meaning that they currently fail due to `tox` being missing from them.
While these tests will be skipped on MRs usually, here is an example of
what the tests look like if they are actually run with this change:
https://gitlab.com/BuildStream/buildstream/-/jobs/145449561.
Fixes #859.
|
|\
| |
| |
| |
| |
| |
| | |
.gitlab-ci.yml: Use latest freedesktop-sdk 18.08.25
Closes #858
See merge request BuildStream/buildstream!1064
|
|/ |
|
|\
| |
| |
| |
| | |
_scheduler/queues/queue.py: Put elements in the skip list, not jobs
See merge request BuildStream/buildstream!1063
|
|/
|
|
|
| |
Minor correction, looks like we're not observing this queue
otherwise we'd be seeing crashes.
|
|\
| |
| |
| |
| | |
pytest-cov==2.6.1, contributing: '--last-failed' and '--no-cov' tips
See merge request BuildStream/buildstream!1059
|
| |
| |
| |
| |
| | |
To help new folks get to grips with pytest, add some tips on other
frequently used features.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bump the version of pytest-cov, so that we pick up the fix for
the '--no-cov' option breaking in pytest 4.0:
https://github.com/pytest-dev/pytest-cov/pull/230
This was the error you would get prior to this version:
_pytest.warning_types.RemovedInPytest4Warning: config.warn has been
deprecated, use warnings.warn instead
Although it says 'deprecated', it did result in
termination with stack trace.
|
|\
| |
| |
| |
| | |
Make build plan element list stable
See merge request BuildStream/buildstream!1058
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For each sample project and expected result order, this test ensures that:
* bst show --deps plan: Always shows the expected build order.
* bst source fetch: Always executes in the expected build order.
* bst build: Always builds in the expected order (disabled).
The build part of the test is currently disabled as the scheduler
seems to be messing with the order even in a `--builders 1` scenario.
|
| |
| |
| |
| |
| | |
Added a function to report the list of elements which appeared in
a given queue in the order of their first appearance.
|
|/
|
|
|
|
|
|
|
|
|
| |
The algorithm adds elements to a dictionary and then sorts the dictionary
by the discovered depths while recursing - using an OrderedDict is enough
to ensure a stable order.
This fixes `bst show --deps plan ...` reporting different results on
each invocation.
This fixes an aspect of #824
|
|\
| |
| |
| |
| | |
contributing: fix 'oprtation' and some other typos
See merge request BuildStream/buildstream!1055
|
|/ |
|
|\
| |
| |
| |
| | |
Accept architecture aliases
See merge request BuildStream/buildstream!1034
|
| | |
|
| |
| |
| |
| |
| | |
Accept common architecture aliases for the sandbox config for
consistency with arch options.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Accept common architecture aliases for arch options instead of only
accepting the canonicalized, OS-independent architecture name. This
restores compatibility with existing projects and may simplify option
handling for projects that only target a single OS (and thus, do not
need OS-independent architecture names).
|
|/ |
|
|\
| |
| |
| |
| | |
.coveragerc: Omit some things which are irrelevant to cover.
See merge request BuildStream/buildstream!1052
|
|/
|
|
|
|
|
| |
* Omit versioneer's _version.py
* Omit our __main__.py which is used only internally for generating
documentation
|
|\
| |
| |
| |
| |
| |
| | |
Allow using detox, and fix/refactor collection of coverage reports
Closes #844
See merge request BuildStream/buildstream!1051
|
| |
| |
| |
| |
| | |
Also point out that it is possible to run test environments in
parallel using the `detox` tool.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch namespaces the test temp directory and the output
coverage report file with the name of the environment under test,
such that separately run tests do not access the same files.
When running tests without tox, directly through setup.py,
then the tmp directory will still be `./tmp`.
* .gitignore: Added new .coverage-reports/ directory
* .gitlab-ci.yml: Rely on tox to combine and report coverage, only
tell tox about the COVERAGE_PREFIX so that results can be namespaced
by CI job name.
This change also publishes the sources and final combined `.coverage`
file in an output gitlab artifact for inspection, and lists some missing
dependencies to the `coverage` job.
* tox.ini: Add comments and refactor main [testenv] section so that
other environments dont inherit too much unrelated cruft.
Generate the coverate reports in the respective {envtmpdir} so that
all per-process coverage files are prefixed with a full path, ensuring
that concurrent runs don't mix reports and addressing concerns
raised in #844.
Also implemented new `tox -e coverage` environment to combine
any found coverage and print a report.
* .coveragerc: Omit .tox/ directory from coverage stats
Fixes issue #844
|
|\
| |
| |
| |
| | |
Rename 'instance_name' option to 'instance-name'
See merge request BuildStream/buildstream!1048
|