Commits on Source 47
-
- 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.
-
Tristan Van Berkom authored
setup.py: Add more metadata useful for PyPI See merge request !718
-
Fixes #597
-
Tristan Van Berkom authored
Fix ValueError traceback for URL without alias or URI scheme Closes #597 See merge request !700
-
-
Tristan Van Berkom authored
Disable round-tripping when element is not modified See merge request !748
-
Benjamin Schubert authored
-
Benjamin Schubert authored
-
Tristan Van Berkom authored
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.
-
Tristan Van Berkom authored
tests/plugins/filter.py: Don't run redundant tests See merge request !753
-
Tristan Van Berkom authored
This test was skipped because of issue #538, but #538 was fixed and the test was still not reenabled.
-
Tristan Van Berkom authored
tests/frontend/mirror.py: Reenable test_mirror_fetch_upstream_absent[ostree] See merge request !755
-
Tristan Van Berkom authored
Added some comments to make the flow easier to follow, and removed an annoying 'success' variabled in favor of a for / else loop statement.
-
Tristan Van Berkom authored
This was sitting in the section for abstract methods, but this is most definitely not an abstract method to be implemented by Sources.
-
Tristan Van Berkom authored
This was displaying the aliased URL which is pretty useless, use the translated URL for the timed activity.
-
Tristan Van Berkom authored
Minor code changes revolving around source mirroring See merge request !758
-
Valentin David authored
Failures to write files when tracking were not reported. Fixes #533.
-
Tristan Van Berkom authored
Report processing errors from tracking Closes #533 See merge request !747
-
Tristan Van Berkom authored
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.
-
Tristan Van Berkom authored
_artifactcache/artifactcache.py: Write the cache_size file atomically See merge request !762
-
knownexus authored
-
Phillip Smyth authored
Replacing string 'bzr' with value from host tools See merge request !764
-
Tom Pollard authored
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.
-
Tiago Gomes authored
buildstream/_project.py: Report if project.conf is missing name See merge request !680
-
Tristan Van Berkom authored
-
Qinusty authored
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.
-
Qinusty authored
-
Tristan Van Berkom authored
Retries log as failures See merge request !766
-
Qinusty authored
This prevents the cache_size.pid.log files from cluttering the root log directory.
-
Tristan Van Berkom authored
Move cache_size.pid.log files into a subdirectory of logs See merge request !769
-
Tristan Van Berkom authored
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
-
Tristan Van Berkom authored
-
Tristan Van Berkom authored
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
-
Tristan Van Berkom authored
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
-
Tristan Van Berkom authored
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
-
Tristan Van Berkom authored
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
-
Tristan Van Berkom authored
Source fetcher changes See merge request !772
-
Tom Pollard authored
Add a helper function assert_ref_in_track to git.py GitMirror() which is used when staging & initing the source workspace. It checks the element's ref exists in the track (branch/tag) if it has been specified, raising a warning if necessary. The warning makes use of the warning token 'REF_NOT_IN_TRACK' from the configurable CoreWarnings. If the element has been tracked with bst, it is assumed that the value of ref exists in the track as it was generated from it & as such is not asserted.
-
Tom Pollard authored
Add tests that cover assert_ref_in_track & the configurable CoreWarnings REF_NOT_IN_TRACK warnings token.
-
Tom Pollard authored
plugins/git.py: Warn if ref is not in given track See merge request !564
-
Adds a modified version of the freedesktop-sdk `strip-binaries` to buildstream default `project.conf`. We implemented a few changes to the current default, but the main change is to fix a bug due to permissions. The modifications I made to the freedesktop-sdk commands as they are at present are as follows: * Remove debugedit rules to include source debugging * Add a switch to allow failing on error, rather than this being the default behaviour. These changes mean that we should now have a sensible default for a wide variety of users.
-
-
Tom Coldrick authored