summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* _context: rm stray break in comment blockaevri/context_nitpicksAngelos Evripiotis2019-07-021-1/+0
|
* _context: remove unused self._directoryAngelos Evripiotis2019-07-022-6/+2
|
* Merge branch 'AlexFazakas/add-bst-init-argument' into 'master'bst-marge-bot2019-07-0228-89/+131
|\ | | | | | | | | | | | | Add bst init argument Closes #702 See merge request BuildStream/buildstream!1430
| * runcli.py: Don't set project to 'None'AlexFazakas2019-07-0228-89/+131
|/ | | | | | | Calling runcli with project set to None results in setting the directory to the string 'None'. Instead, only set it when the given project argument is not None.
* Merge branch 'tar-target-renaming' into 'master'bst-marge-bot2019-07-027-9/+132
|\ | | | | | | | | | | | | tar.py: Make link target renaming work between base-dirs Closes #1052 See merge request BuildStream/buildstream!1431
| * tar.py: Make link target renaming work between base-dirsTristan Maat2019-07-027-9/+132
|/ | | | Fixes #1052
* Merge branch 'aevri/set_resource_limits' into 'master'bst-marge-bot2019-07-022-13/+32
|\ | | | | | | | | platform: re-scope set_resource_limits See merge request BuildStream/buildstream!1419
| * platform: re-scope set_resource_limitsAngelos Evripiotis2019-07-022-13/+32
|/ | | | | | | | | | | | | Rename 'set_resource_limits' to 'maximize_open_file_limit', as this seems to more accurately reflect it's function. Remove unused flexibility from the implementation, to make it easier to understand. Simplify the Mac implementation, and add some explanation for the OPEN_MAX magic number. In later work we should remove the magic number. Import 'resource' late, which is not available on Windows.
* Merge branch 'aevri/cascache_nits' into 'master'bst-marge-bot2019-06-271-2/+5
|\ | | | | | | | | cascache.py: pick some nits See merge request BuildStream/buildstream!1433
| * cascache: add_object, assert path if link_directlyAngelos Evripiotis2019-06-271-0/+3
| |
| * cascache: refactor, rm some unused exception varsAngelos Evripiotis2019-06-271-2/+2
|/
* Merge branch 'juerg/source-checkout' into 'master'bst-marge-bot2019-06-2726-60/+74
|\ | | | | | | | | Fetch sources as needed for bst source checkout See merge request BuildStream/buildstream!1427
| * Regenerate man pagesJürg Billeter2019-06-2722-31/+65
| |
| * Fetch sources as needed for bst source checkoutJürg Billeter2019-06-274-29/+9
|/ | | | | This removes the --fetch option of bst source checkout, always enabling fetch support. This is in line with fetching subprojects as needed.
* Merge branch 'raoul/915-capabilities-service' into 'master'bst-marge-bot2019-06-2616-120/+252
|\ | | | | | | | | | | | | Capabilities service Closes #915 See merge request BuildStream/buildstream!1410
| * artifact.proto: Remove ArtifactStatus methodraoul/915-capabilities-serviceRaoul Hidalgo Charman2019-06-263-111/+4
| | | | | | | | | | | | Not needed now that capabilities service is used. Part of #915
| * _artifactcache.py: Use capabilities serviceRaoul Hidalgo Charman2019-06-261-6/+11
| | | | | | | | | | | | | | | | This is used in the remote initialisation to check that artifact service is supported. This should allow us to seperate the endpoints of different services more easily in future. Part of #915
| * casserver.py: Add buildstream capabilities serviceRaoul Hidalgo Charman2019-06-261-0/+17
| | | | | | | | Part of #915
| * protos: Update generated grpc filesRaoul Hidalgo Charman2019-06-2611-3/+197
| | | | | | | | Part of #915
| * buildstream.proto: Add capabilities serviceRaoul Hidalgo Charman2019-06-261-0/+23
|/ | | | Part of #915
* Merge branch 'chandan/fix-readme-badges' into 'master'alexfazakas/add-bst-init-argumentbst-marge-bot2019-06-261-2/+2
|\ | | | | | | | | | | | | README.rst: Fix path for badge images Closes #1056 See merge request BuildStream/buildstream!1422
| * README.rst: Fix path for badge imageschandan/fix-readme-badgesChandan Singh2019-06-261-2/+2
|/ | | | | | | | | | | These badges are not committed to `bst-1.2` branch and hence are not available on docs.buildstream.build website. As it was mentioned in the issue comments, the correct place to obtain these badges is always from the `master` branch, which is what the buildstream.gitlab.io/buildstream website corresponds to. Fixes #1056.
* Merge branch 'chandan/fix-egg-info-gitignore' into 'master'bst-marge-bot2019-06-261-1/+1
|\ | | | | | | | | .gitignore: Fix path of .egg-info See merge request BuildStream/buildstream!1420
| * .gitignore: Fix path of .egg-infochandan/fix-egg-info-gitignoreChandan Singh2019-06-261-1/+1
|/ | | | | | .egg-info directory is created next to setup.py and not inside the src directory, so restore its original path. This line was incorrectly modified as part of !1322.
* Merge branch 'jennis/do_not_leak_project_specific_remotes' into 'master'bst-marge-bot2019-06-2616-76/+42
|\ | | | | | | | | Do not leak subproject remotes See merge request BuildStream/buildstream!1416
| * _basecache.py: Remove duplicate logicJames Ennis2019-06-261-5/+1
| | | | | | | | | | | | project_overrides and project_extra_specs were moved in 24c0de16. However, their removal was accidentally reverted in f4dbce44. This patch removes the unnecessary code.
| * tests/artifactcache/junctions.py: Assert the default behaviourJames Ennis2019-06-261-1/+9
| | | | | | | | | | Assert that junction elements are pushed to a parent project's cache. This is the current default behaviour in BuildStream.
| * _basecache.py: Don't leak the project specific remote cachesJames Ennis2019-06-261-2/+2
| | | | | | | | | | | | | | | | | | Make a copy of the global list rather than using the global list. This was originally addressed by: e1420437a2d82af099bdb3d273823effbea35ce4 and then again by 1ee4a4ba3a91e27515967d5e2daaedf664f10c78.
| * testutils: Move assert_shared and assert_not_shared to testutilsJames Ennis2019-06-265-61/+23
| |
| * tests/artifactcache/junctions.py: Rename 'foo' to 'parent' for clarityJames Ennis2019-06-2611-4/+4
| |
| * tests/artifactcache/junctions.py: Rename misleading 'target' elementJames Ennis2019-06-264-6/+6
|/
* Merge branch 'chandan/misc-gitignore' into 'master'bst-marge-bot2019-06-251-6/+1
|\ | | | | | | | | .gitignore: Remove redundant pycache entries See merge request BuildStream/buildstream!1421
| * .gitignore: Remove redundant pycache entriesChandan Singh2019-06-251-6/+1
|/ | | | | Python 3 only ever creates .pyc files inside the __pycache__ directory so ignoring just __pycache__ directory is sufficient.
* Merge branch 'bschubert/remove-useless-sanitize' into 'master'bst-marge-bot2019-06-2512-24/+23
|\ | | | | | | | | _yaml: Remove useless calls to '_yaml.node_sanitize' See merge request BuildStream/buildstream!1412
| * _yaml: Remove useless calls to '_yaml.node_sanitize'Benjamin Schubert2019-06-2512-24/+23
|/ | | | | | Calling '_yaml.dump' will itself call '_yaml.node_sanitize', therefore we can remove all calls to it in places where we directly after call dump.
* Merge branch 'juerg/fetch-subprojects' into 'master'bst-marge-bot2019-06-259-122/+98
|\ | | | | | | | | Improve subproject fetching See merge request BuildStream/buildstream!1414
| * _stream.py: Use scheduler to fetch subprojectsJürg Billeter2019-06-251-2/+8
| |
| * Handle subproject fetching in the Stream classJürg Billeter2019-06-254-8/+23
| |
| * app.py: Create stream before loading projectJürg Billeter2019-06-252-26/+39
| | | | | | | | | | | | This is in preparation for moving subproject fetching to the Stream class. Project loading may require subproject fetching as part of processing include directives.
| * Always fetch subprojects as neededJürg Billeter2019-06-258-90/+32
|/ | | | | | Treat junction element sources the same as sources of any other element and always fetch subprojects as needed. Do not ask the user to manually fetch subprojects.
* Merge branch 'jennis/notify_reverse_deps' into 'master'bst-marge-bot2019-06-242-24/+93
|\ | | | | | | | | Notify direct reverse dependencies when an Element becomes ready for runtime and cached See merge request BuildStream/buildstream!1406
| * element.py: Notify reverse deps when ready for runtime and cachedjennis/notify_reverse_depsJames Ennis2019-06-242-23/+86
| | | | | | | | | | | | | | | | | | | | | | | | An Element becomes ready for runtime and cached when: 1. It has a strong cache key 2. It is cached 3. Its runtime dependencies are ready for runtime and cached (this ensures the runtimes of runtimes are also cached). This patch introduces the method attempt_to_notify_reverse_dependencies which will notify all direct reverse dependencies of an Element once said Element becomes ready for runtime and cached.
| * element.py: cache key should be set in __update_cache_keysJames Ennis2019-06-241-1/+6
| |
| * element.py: Set can_query_cache_callback to None when calledJames Ennis2019-06-241-0/+1
|/ | | | | Each other callback callsite immediately sets the callback to None once invoked. We should be consistent.
* Merge branch 'raoul/1044-blobs-on-demand' into 'master'bst-marge-bot2019-06-248-27/+229
|\ | | | | | | | | | | | | CLI options for on demand blob fetching Closes #1044 See merge request BuildStream/buildstream!1400
| * tests: Add case for using pull and use buildtreesRaoul Hidalgo Charman2019-06-241-0/+29
| | | | | | | | Part of #1044
| * tests: Add shell test with pull optionRaoul Hidalgo Charman2019-06-241-0/+50
| | | | | | | | Part of #1044
| * _stream/cli: Add pull option to shellRaoul Hidalgo Charman2019-06-242-15/+30
| | | | | | | | | | | | This will fetch artifacts if they're not local or are incomplete. Part of #1044
| * tests: Add tests to buildcheckout for pullingRaoul Hidalgo Charman2019-06-241-1/+63
| | | | | | | | | | | | | | | | One test to check that artifacts are pulled and a checkout is successful when the --pull option is specified. Another to check that it attempts to pull but fails gracefully if the artifact isn't present. Part of #1044
| * cli.py/_stream.py: Add pull option to checkoutRaoul Hidalgo Charman2019-06-242-6/+24
| | | | | | | | | | | | | | This will set up a pull queue and pull relevant artifacts if not present or incomplete. Part of #1044