Brecht Van Lommel
da4796ebf7
Build: change make update to not print errors regarding submodule branches
...
Instead of trying to checkout non-existent branches and getting confusing fatal
error prints, check if the branch exists first.
Ref D12560
2021-09-20 14:05:56 +02:00
Bastien Montagne
9d6e960e2c
Fix make_utils.py
recent API breackage.
...
rB546314fc9669 broke `svn_libraries_base_url` utils API compatibility
for no good reasons, making new `branch` argument explicitely optional.
Reported on chat by Michael Kowalski (@makowalski), thanks!
2021-09-13 11:41:43 +02:00
Bastien Montagne
546314fc96
Build utils: make_update
: Add option to choose SVN branch.
...
Needed for studio sprite-fright frozen branch.
Also do not overwrite branch for git sub-modules when it is defined, and
fallback to `master` branch in case specified branch is not found in a
specific sub-repository.
2021-09-02 14:56:46 +02:00
Campbell Barton
41d2d6da0c
Cleanup: pep8 (indentation, spacing, long lines)
2020-10-02 11:59:16 +10:00
Campbell Barton
bab9de2a52
Cleanup: pep8, blank lines
2020-10-02 11:59:16 +10:00
Brecht Van Lommel
66b48ad8fb
Fix git tag warning when running make update after recent changes
2020-07-16 14:26:37 +02:00
Brecht Van Lommel
5ecefc6a07
Build: make update support for git tags
...
Previously it only picked the appropriate version with the
blender-vX.XX-release branches.
2020-07-13 15:54:12 +02:00
Brecht Van Lommel
7e7b205137
Build: prepare "make update" to work for new release cycle branching
...
Checking out release branches in submodules, and printing some more
informative messages when that fails.
2019-10-09 15:09:53 +02:00
Brecht Van Lommel
64c8e9a219
macOS: don't require python3 to be installed to run "make update"
...
And fall back to python3 from our libraries for other commands, once checked
out with make update.
2019-09-30 10:51:17 +02:00
Brecht Van Lommel
7ab936c5b9
Fix T69640: make update not working with Python older than 3.7
2019-09-08 18:45:08 +02:00
Brecht Van Lommel
b6114c3849
Build: skip Blender repository pull in "make update" when not possible
...
This prints a more informative message, and is convenient when working with
local changes or in a branch where you only need to update submodules or tests.
2019-09-08 14:52:33 +02:00
Brecht Van Lommel
718747c589
Tests: auto download test files when running "make test"
2019-08-30 18:01:50 +02:00
Brecht Van Lommel
464e545c72
Tests: move "make test" on macOS and Linux to Python script
2019-08-30 17:57:18 +02:00