Commits on Source (38)
-
-
-
Qinusty authored
-
Javier Jardón authored
Refer readers to our tutorial before referring them to existing bst projects See merge request !578
-
Jonathan Maw authored
-
Jonathan Maw authored
The separator is useful in source files other than _project.py
-
Jonathan Maw authored
This is part of a later plan to implement mirroring without forcing everyone to update their sources. We use the expected calls to Source.translate_url() when running Source.configure() to extract the aliases from the URL. Multiple aliases must be extracted because sources exist that may fetch from multiple aliases (for example, git submodules) Later, we want to substitute another URI where the alias normally reads from the project - We accomplish this by re-instantiating the Source with the alias overrides passed as an argument to the constructor.
-
Jonathan Maw authored
**KLUDGE WARNING**: This involves making the source store its "meta" object so that it's possible to create a copy of the source inside the fetch queue, instead of back when the pipeline was being loaded. This adds the SourceFetcher class, which is intended for sources that fetch from multiple URLs (e.g. the git source and its submodules) Fix when fetching
-
Jonathan Maw authored
In user config (buildstream.conf), it is set with the "default-mirror" field. On the command-line, it is set with "--default-mirror"
-
Jonathan Maw authored
-
Jonathan Maw authored
This fixes: * Bzr repositories pulling from the branch they were created with. * Bzr's _ensure_mirror() not actually checking that it successfully mirrored the ref.
-
Jonathan Maw authored
When implementing fetching from mirrors, I encountered some problems with the git source: 1. The mirror URL was using translate_url()'s output, so if a different alias was used, then fetching from the mirror would go to a different directory, and be inaccessible. 2. After fixing that, fetching was unable to pull from a URL other than the one used at repository creation, meaning it wouldn't actually pull from the mirror.
-
Jonathan Maw authored
This is helpful if you want to test what happens when you have one repo that has diverged from another. By copying the repo you're sure they start with shared history. This is especially useful when mirroring.
-
Jonathan Maw authored
-
Jonathan Maw authored
-
Jonathan Maw authored
-
Jonathan Maw authored
-
Jonathan Maw authored
Resolve "Support for downloading sources from mirrors" Closes #328 See merge request !404
-
Qinusty authored
-
Qinusty authored
-
This address issue #491. When attempting to run buildstream with a configuration specifying a cache quota larger than your available disk space, buildstream will alert the user and exit. Note: This takes into consideration your current cache usage and therefore restricts the overall size of your artifact cache folder.
-
-
Tristan Van Berkom authored
Resolve "Some log lines appear to be duplicates" Closes #507 See merge request !573
-
Tristan Van Berkom authored
Since we have now backported this to `bst-1.2`, the APIs have been introduced in 1.2 and not 1.4
-
Tristan Van Berkom authored
These features will be released in 1.1.5 since they have been backported, lets reflect this in the NEWS file in master. Also this adds the backported `remote` plugin to the NEWS
-
Tristan Van Berkom authored
Use os.rename() to rename the cloned temporary repository into place in the source cache, and issue a STATUS message when discarding a duplicate clone, in the case where the same repository is cloned twice in parallel. The problem with using shutil.move() is that it will create the source directory in a subdirectory of the destination when the destination exists, so it's behavior depends on whether the destination exists. This shutil.move() behavior has so far hidden the race condition where a duplicate repo is created in a subdirectory, as you need to have three concurrent downloads of the same repo in order to trigger the error. This fixes issue #503
-
Tristan Van Berkom authored
git.py: Handle concurrent download completions properly Closes #503 See merge request !583
-
This is part of the work towards #437.
-
This is part of the work towards #437.
-
This is part of the work towards #437.
-
-
This is part of the work towards issue #437.
-
Phil Dawson authored
Phil/437 junction tutorial See merge request !550
-
Change widget.py print_summary() to only print the failure messages of elements in the Failure Summary that failed on the current try.
-
Tristan Maat authored
widget.py: Limit failure summary to currently failing elements See merge request !561
-
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- HACKING.rst 5 additions, 0 deletionsHACKING.rst
- NEWS 7 additions, 1 deletionNEWS
- README.rst 14 additions, 10 deletionsREADME.rst
- buildstream/__init__.py 1 addition, 1 deletionbuildstream/__init__.py
- buildstream/_context.py 44 additions, 18 deletionsbuildstream/_context.py
- buildstream/_frontend/app.py 2 additions, 1 deletionbuildstream/_frontend/app.py
- buildstream/_frontend/cli.py 2 additions, 0 deletionsbuildstream/_frontend/cli.py
- buildstream/_frontend/widget.py 6 additions, 3 deletionsbuildstream/_frontend/widget.py
- buildstream/_loader/loader.py 1 addition, 1 deletionbuildstream/_loader/loader.py
- buildstream/_project.py 56 additions, 8 deletionsbuildstream/_project.py
- buildstream/_versions.py 1 addition, 1 deletionbuildstream/_versions.py
- buildstream/buildelement.py 13 additions, 12 deletionsbuildstream/buildelement.py
- buildstream/plugins/sources/bzr.py 7 additions, 4 deletionsbuildstream/plugins/sources/bzr.py
- buildstream/plugins/sources/git.py 64 additions, 49 deletionsbuildstream/plugins/sources/git.py
- buildstream/source.py 225 additions, 6 deletionsbuildstream/source.py
- buildstream/utils.py 25 additions, 0 deletionsbuildstream/utils.py
- doc/Makefile 3 additions, 0 deletionsdoc/Makefile
- doc/examples/junctions/elements/callHello.bst 9 additions, 0 deletionsdoc/examples/junctions/elements/callHello.bst
- doc/examples/junctions/elements/hello-junction.bst 8 additions, 0 deletionsdoc/examples/junctions/elements/hello-junction.bst