0
0
forked from blender/blender
blender/build_files/utils
Sergey Sharybin b8a7be0487 Build: Add option to remove stale files from checkout
This change adds `--prune-destructive` command line argument to the
`make_update.py` script which ensures directories which used to be
an in-worktree checkout do not exist. Currently it is addons and
addons_contrib folders.

This gives buildbot an ability to ensure checkout used for build is
correct, regardless of which branch or patch was built there.

The option is needed because sometimes it is still required to be
able to build patches against v330 or v360 which still use the old
style of addons.

Alternative solution could be to ignore the folders in the INSTALL
command, but this could have impact on users who wants to package
custom addons.

The downside of this solution is that buildbot potentially will be
downloading addons and addons_contrib repositories every time it
builds a patch against v330 or v360. It should not be a problem in
practice since the repositories are rather small, and patches for
these tracks are not built very often.

Ref #126557

Pull Request: blender/blender#127798
2024-09-20 14:45:19 +02:00
..
make_bpy_wheel.py Cleanup: make format 2024-05-27 12:24:16 +02:00
make_source_archive.py Extensions: Support online extensions and move add-ons outside Blender 2024-05-15 19:26:29 +02:00
make_test.py Cleanup: correct type hints for Python scripts 2024-02-28 11:02:53 +11:00
make_update.py Build: Add option to remove stale files from checkout 2024-09-20 14:45:19 +02:00
make_utils.py Build: Add option to remove stale files from checkout 2024-09-20 14:45:19 +02:00
README.md Add and update README.md files for CI script removal 2021-05-28 19:46:53 +02:00

Make Utility Scripts

Scripts used only by developers for now