| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Plugin.configure()
This cannot test for unaliased URLs, as those can be discovered later
on outside of user provided element configuration; at least we
assert that if an alias was used, we have seen it at load time.
This will cause a BUG to occur for a plugin which marks an aliased
URL (or attempts to translate one) outside of `Plugin.configure()`,
if that URL was not previously seen.
This is a part of #620
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Source must now mention whether the marked or translated
URL is "primary" or not. Even when a Source may have multiple
URLs, the auxilliary URLs are derived from the primary one, not
only is this true for git, but it is mandated by our tracking
API which assumes there is a primary URL.
This adjusts the `git` source and the test `fetch_source.py` source
to behave properly and advertize it's primary URL properly.
This is a part of #620
|
|
|
|
|
|
|
|
|
| |
Keeps track of whether the plugin is currently being configured.
Adjusted Element and Source classes to call _configure() in place
of calling configure() directly.
This is a part of #620
|
|
|
|
|
|
|
| |
A download URL must be interpreted by the core at `Plugin.configure()`
time, even if only employed later on.
This is a part of #620
|
| |
|
|
|
|
|
|
|
|
| |
Also highlight the fact that the plugin can rely on the fetcher's
fetch() method getting called before consuming the next item in the
list, which is the magick behavior that the git plugin relies on.
This is a part of #620
|
|\
| |
| |
| |
| | |
Backport: Move cache_size.pid.log files into a subdirectory of logs
See merge request BuildStream/buildstream!770
|
|/
|
|
|
| |
This prevents the cache_size.pid.log files from cluttering the root
log directory.
|
|\
| |
| |
| |
| | |
Retries should fail Backport 1.2
See merge request BuildStream/buildstream!768
|
| | |
|
|/
|
|
|
|
|
|
| |
This adjusts the message handler for the child processes to no longer
override the message type.
This also removes the ability for unhandled non BstError exceptions to
retry.
|
|\
| |
| |
| |
| | |
Backport workaround for #591
See merge request BuildStream/buildstream!767
|
| | |
|
|/
|
|
|
|
|
| |
Explicitly check that project.conf contains a name. This resolves
the issue of the provenance check from _yaml.py incorrectly reporting
the offending file as the default_config_node projectconfig.yaml
when no name key exists in the pre_config_node dict.
|
|\
| |
| |
| |
| | |
_artifactcache/artifactcache.py: Write the cache_size file atomically
See merge request BuildStream/buildstream!763
|
|/
|
|
|
|
|
|
| |
This is causing issues while the size file is being read and written
simultaneously.
The proper fix will be to read/add/save the file atomically and that
will require locking, but this fix is a good stop gap to existing crashes.
|
|\
| |
| |
| |
| | |
Report processing errors from tracking
See merge request BuildStream/buildstream!761
|
|/
|
|
|
|
| |
Failures to write files when tracking were not reported.
Fixes #533.
|
|\
| |
| |
| |
| | |
Disable round-tripping when element is not modified
See merge request BuildStream/buildstream!760
|
|/ |
|
|\
| |
| |
| |
| | |
Minor code changes revolving around source mirroring
See merge request BuildStream/buildstream!759
|
| |
| |
| |
| |
| | |
This was displaying the aliased URL which is pretty useless,
use the translated URL for the timed activity.
|
| |
| |
| |
| |
| |
| | |
This was sitting in the section for abstract methods, but this
is most definitely not an abstract method to be implemented by
Sources.
|
|/
|
|
|
|
| |
Added some comments to make the flow easier to follow, and
removed an annoying 'success' variabled in favor of a for / else
loop statement.
|
|\
| |
| |
| |
| | |
Backport cyclic variable fix
See merge request BuildStream/buildstream!757
|
| |
| |
| |
| |
| | |
Note: This modifies the docker containers used for testing to supply the
pytest-timeout package.
|
|/
|
|
|
| |
This aims to address #600, this will raise an exception when a resolved
variable contains a reference to the variable.
|
|\
| |
| |
| |
| | |
tests/frontend/mirror.py: Reenable test_mirror_fetch_upstream_absent[ostree]
See merge request BuildStream/buildstream!756
|
|/
|
|
|
| |
This test was skipped because of issue #538, but #538 was fixed
and the test was still not reenabled.
|
|\
| |
| |
| |
| | |
tests/plugins/filter.py: Don't run redundant tests
See merge request BuildStream/buildstream!754
|
|/
|
|
|
|
|
|
|
| |
There is no reason that the filter element codepaths can behave
differently depending on the Source implementation used in the test,
as the Source implementation does not have any filter specific
virtual methods.
Removing the redundant tests and just performing these tests with the git source.
|
|\
| |
| |
| |
| | |
Bschubert/backport log missed cache
See merge request BuildStream/buildstream!752
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
Backport !700: Prevent ValueError on URLs without an alias
See merge request BuildStream/buildstream!751
|
|/
|
|
| |
Fixes #597
|
|\
| |
| |
| |
| | |
setup.py: Add more metadata useful for PyPI
See merge request BuildStream/buildstream!749
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- setup.py: List useful links using `project_urls`
- setup.py: Specify minumum python vresion using `python_requires`
`python_requires` is the new way of specifying requirements for python
version, as documented @
https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires.
This will also make this requirement appear nicely on the PyPI project
page.
- setup.py: Add project classifiers
PyPI will use these classifiers to categorize projects while searching
or browsing. Full list of classifiers can be found at
https://pypi.org/classifiers.
|
|\
| |
| |
| |
| | |
Fix key invalidation for workspaced dependencies
See merge request BuildStream/buildstream!744
|
| |
| |
| |
| |
| | |
Removed redundant tests from recently merged !740, this new
test does not need to run for every different source kind.
|
| | |
|
| |
| |
| |
| | |
This adds a regression test for #461.
|
|/
|
|
|
|
|
|
|
| |
For uncached workspaced elements, assemble is required even just to
calculate the cache key. As dynamic scheduling relies on cache keys,
schedule assemble for uncached workspace elements even if they have not
been marked as required yet.
Fixes #461.
|
|\
| |
| |
| |
| | |
Restore post merge CI in 1.2
See merge request BuildStream/buildstream!738
|
| |
| |
| |
| |
| |
| | |
This job always takes a long time and does not really depend
on the artifacts in the 'test' phase, moving it to the 'test'
phase will reduce overall CI time.
|
| |
| |
| |
| | |
This reverts commit da19bcf1de75bf930d0f233addc858b4073d0173.
|
| |
| |
| |
| | |
This reverts commit bea01531b984522940562866e904c83e8f9aed50.
|
|/
|
|
|
|
|
|
|
| |
This hasnt been working for a while, it might be because GitLab
doesnt quite grasp that we have multiple branches to merge MRs to,
or it might be because they have change the API and broken back compat
in some way.
See: https://docs.gitlab.com/ee/ci/examples/code_quality.html
|
|\
| |
| |
| |
| | |
doc/bst2html.py: Fix deprecation warning (1.2)
See merge request BuildStream/buildstream!734
|
|/
|
|
|
|
|
|
| |
This fixes the following:
"
/home/jjardon/buildstream/buildstream/doc/bst2html.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Mapping
"
|