Commits on Source (26)
-
Tristan Maat authored
cascache.py: Raise ArtifactError on grpc error Closes #502 See merge request !576
-
-
-
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.
-
Fix small error in docs in relation to `get_variable` documentation.
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- NEWS 4 additions, 0 deletionsNEWS
- README.rst 14 additions, 10 deletionsREADME.rst
- buildstream/__init__.py 1 addition, 1 deletionbuildstream/__init__.py
- buildstream/_artifactcache/cascache.py 3 additions, 1 deletionbuildstream/_artifactcache/cascache.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/_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/element.py 2 additions, 2 deletionsbuildstream/element.py
- buildstream/plugins/sources/bzr.py 7 additions, 4 deletionsbuildstream/plugins/sources/bzr.py
- buildstream/plugins/sources/git.py 49 additions, 45 deletionsbuildstream/plugins/sources/git.py
- buildstream/source.py 225 additions, 6 deletionsbuildstream/source.py
- buildstream/utils.py 25 additions, 0 deletionsbuildstream/utils.py
- doc/source/examples/git-mirror.rst 144 additions, 0 deletionsdoc/source/examples/git-mirror.rst
- doc/source/examples/tar-mirror.rst 103 additions, 0 deletionsdoc/source/examples/tar-mirror.rst
- doc/source/format_project.rst 37 additions, 0 deletionsdoc/source/format_project.rst
- doc/source/main_install.rst 6 additions, 1 deletiondoc/source/main_install.rst
doc/source/examples/git-mirror.rst
0 → 100644
doc/source/examples/tar-mirror.rst
0 → 100644