summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* CI testjuerg/mtime-debugJürg Billeter2020-02-041-1/+1
|
* tests: source_determinism.py: xfail for ostreeJürg Billeter2020-02-041-0/+3
|
* WIPJürg Billeter2020-02-041-0/+1
|
* WIPJürg Billeter2020-02-041-1/+1
|
* tmpJürg Billeter2020-02-041-1/+1
|
* CIJürg Billeter2020-02-041-411/+0
|
* tests: avoid testing utimes along with umasktraveltissues/1216Darius Makovsky2020-02-042-10/+8
| | | | | | Avoids testing for utimes when testing for umask. These tests are known to be flaky and are overly specific in that they implicitly test more than just umask.
* tests: improve RE workspace testDarius Makovsky2020-02-041-79/+96
|
* tests: remove xfail for non-incremental-time RE workspaceDarius Makovsky2020-02-041-6/+1
|
* tests: test mtimes in storageDarius Makovsky2020-02-041-4/+15
|
* workspace: import mtimes when stagingDarius Makovsky2020-02-041-1/+1
|
* element: pass arbitrary timestamp to import_filesDarius Makovsky2020-02-041-10/+5
|
* Use specified mtime in import_filesDarius Makovsky2020-02-043-26/+33
| | | | | if the mtime is specified then try to copy files in file-to-file transfers and reset the mtimes to the parameter value
* _filebaseddirectory: support mtimes in `_import_files_from_cas`Darius Makovsky2020-02-041-2/+19
| | | | _filebaseddirectory: don't update mtimes/hardlink if mtimes are provided
* cascache: parse timestamp and update mtimes in checkoutDarius Makovsky2020-02-041-1/+9
| | | | | | If checking out files from a CasBasedDirectory which holds node_properties in the index files are explicitly copied instead of being hardlinked and the mtime is updated to the stored value.
* Add utils for file timestamp supportDarius Makovsky2020-02-046-20/+120
|
* _casbaseddirectory: Add properties to IndexEntryDarius Makovsky2020-02-043-8/+35
| | | | | | | | | | supports properties in `_partial_import_cas_into_cas` _casbaseddirectory: initialise entrynode properties Copy node properties from/to IndexEntry _casbaseddirectory: sort properties before copying to filenode
* Support properties in import_files()Darius Makovsky2020-02-043-4/+14
|
* cascache: Add properties to CaptureTree requestsDarius Makovsky2020-02-041-2/+9
|
* element: Do not use deterministic times if sources support mtimesDarius Makovsky2020-02-041-1/+5
|
* local_cas: Update protoDarius Makovsky2020-02-043-117/+158
|
* remote_execution: Update protoDarius Makovsky2020-02-044-267/+873
|
* Merge branch 'juerg/buildbox-run-bind-mount' into 'master'Jürg Billeter2020-02-033-4/+48
|\ | | | | | | | | _sandboxbuildboxrun.py: Support host-files See merge request BuildStream/buildstream!1807
| * tests/integration/shell.py: xfail updateJürg Billeter2020-02-031-3/+12
| |
| * _sandboxbuildboxrun.py: Bind mount /dev in interactive modeJürg Billeter2020-02-031-0/+5
| |
| * _sandboxbuildboxrun.py: Support host-filesJürg Billeter2020-02-031-1/+20
| |
| * _sandboxbuildboxrun.py: Check buildbox-run capabilitiesJürg Billeter2020-02-031-1/+9
| |
| * _sandboxreapi.py: Do not create directories for host-filesJürg Billeter2020-02-031-0/+3
|/ | | | This breaks if host-files is used to bind mount regular files.
* Merge branch 'juerg/buildbox-run-test' into 'master'Jürg Billeter2020-02-031-2/+1
|\ | | | | | | | | tests/integration/interactive_build.py: Relax expect for buildbox-run See merge request BuildStream/buildstream!1801
| * tests/integration/interactive_build.py: Relax expect for buildbox-runjuerg/buildbox-run-testJürg Billeter2020-02-031-2/+1
|/ | | | | When commands are batched, the failure message can't include the command group label with buildbox-run.
* Merge branch 'juerg/buildbox' into 'master'Jürg Billeter2020-02-031-7/+7
|\ | | | | | | | | .gitlab-ci.yml: Update BuildBox components to 0.0.6 See merge request BuildStream/buildstream!1813
| * .gitlab-ci.yml: Update BuildBox components to 0.0.6Jürg Billeter2020-02-031-7/+7
|/
* Merge branch 'jjardon/overnigth_cargo' into 'master'Javier Jardón2020-02-011-1/+1
|\ | | | | | | | | | | | | .gitlab-ci.yml: build fdsdk needs cargo plugin and its dependencies Closes #1259 See merge request BuildStream/buildstream!1812
| * .gitlab-ci.yml: build fdsdk needs cargo plugin and its dependenciesJavier Jardón2020-02-011-1/+1
|/
* Merge branch 'coldtom/fix-overnight-test' into 'master'Javier Jardón2020-02-011-3/+2
|\ | | | | | | | | .gitlab-ci.yml: Bump bst-plugins-experimental See merge request BuildStream/buildstream!1811
| * .gitlab-ci.yml: Bump bst-plugins-experimentalcoldtom/fix-overnight-testThomas Coldrick2020-01-291-3/+2
|/ | | | | | | | | | | When we updated the entrypoints for the plugins, the bst-plugins-experimental version used for overnight tests was not bumped, which means that the plugins used in freedesktop-sdk don't get detected. This commit bumps this to the latest snapshot of bst-plugins-experimental, and downloads directly from PyPI rather than installing from git.
* Merge branch 'tmewett/git-source' into 'master'jjardon/fedora-30-removalBenjamin Schubert2020-01-293-74/+201
|\ | | | | | | | | Improvements to _GitSourceBase and _GitMirror See merge request BuildStream/buildstream!1808
| * Add Git source test for depth=1 fetch with exact tag reftmewett/git-sourceTom Mewett2020-01-241-0/+28
| |
| * Document my changes to the Git source plugin in NEWSTom Mewett2020-01-242-0/+17
| | | | | | | | | | This includes adding an entry for the recursive submodules changes from !1765, and adding myself to the authors of _gitsourcebase.py.
| * _gitsourcebase.py: Refactor latest_commit_with_tagsTom Mewett2020-01-241-19/+49
| | | | | | | | | | The functionality has been split into three new functions: to_commit, reachable_tags, and describe. No behaviour is changed.
| * _gitsourcebase.py: Strip git-describe tag info from cache keyTom Mewett2020-01-241-1/+10
| | | | | | | | | | | | | | | | | | | | | | The beginning parts of git-describe labels are completely arbitrary. They can be changed either manually or by a track (e.g. if a tag is moved, added or deleted) even if the referenced commit is the same. Hence, only the commit ID part of the label should factor into the cache key. This commit, of course, breaks cache keys for artifacts built with the 'git' source with git-describe refs.
| * _gitsourcebase.py: Fetch with depth=1 when an available tag is givenTom Mewett2020-01-241-16/+88
| |
| * _gitsourcebase.py: Refactor fetching and trackingTom Mewett2020-01-241-44/+15
|/ | | | | | | | | | This changes how the Git repo in the source cache is managed. The mirror is not created with an initial clone, but is set up manually from an empty repo. This is to support shallow cloning in future changes. To simplifiy code and Git calls, remotes are no longer used; instead URLs are passed on the command-line.
* Merge branch 'coldtom/testing-api' into 'master'Javier Jardón2020-01-2494-326/+373
|\ | | | | | | | | | | | | Stop plugin tests using private API Closes #1258 See merge request BuildStream/buildstream!1806
| * testing: Add functions to generate yaml filesThomas Coldrick2020-01-2410-136/+116
| | | | | | | | | | | | | | Adds functions to the `buildstream.testing` package to allow plugins to dump elements and projects on the fly. Before this plugins were just accessing the private yaml API for tests and loading/dumping directly. I also allow access to just `_yaml.load()` from testing.
| * exceptions: Expose ErrorDomain, ErrorLoadReasonThomas Coldrick2020-01-2390-190/+257
|/ | | | | | | Plugin tests are already accessing this API, but using imports from private modules. For motivation for this to be exposed publicly, note that ErrorDomain is an argument for most things in runcli.py, and LoadErrorReason may be another.
* Merge branch 'tpollard/shellbuildtree' into 'master'Tom Pollard2020-01-212-30/+89
|\ | | | | | | | | | | | | _frontend/cli.py: Make show() --use-buildtree respect pull semantics Closes #1151 See merge request BuildStream/buildstream!1767
| * _frontend/cli.py: Make show() --use-buildtree respect pull semanticsTom Pollard2020-01-212-30/+89
|/ | | | | | | Ensure that if a buildtree isn't cached locally, it's only fetched if --pull and pull-buildtrees config are set. Also, only attempt to fetch if it's plausible that it could be pulled, with appropriate messaging based on local cached state.
* Merge branch 'juerg/assemble_done' into 'master'Jürg Billeter2020-01-183-9/+24
|\ | | | | | | | | element.py: Optimize assemble_done() See merge request BuildStream/buildstream!1802
| * element.py: Optimize assemble_done()Jürg Billeter2020-01-183-9/+24
|/ | | | | After a successful build we know that the artifact is cached. Avoid querying buildbox-casd and the filesystem.