-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replaced compile scripts with mcprep-build #422
Commits on May 10, 2023
-
Replaced compile scripts with mcprep-build
(Saleman pitch time) mcprep-build is our new, state-of-the-art build system custom made for the MCprep project that's cross platform! Now we get less headaches from dealing with Bash and the Windows shell as this new build system is written in Python! Jokes aside, this new build system is much more maintainable then the old build system. I still need to add autopopulation, but it's 99% the same, minus fast mode. In the future I want to turn this into a general purpose bpy-addon-builder sorta thing, but let's not get ahead of ourselves.
Configuration menu - View commit details
-
Copy full SHA for bcba39f - Browse repository at this point
Copy the full SHA bcba39fView commit details -
Fixed issue with arguments in mcprep-build
MCprep build had some issues with no arguments, so I went ahead and fixed it since it would be annoying if we could only make dev builds of MCprep
Configuration menu - View commit details
-
Copy full SHA for 193458a - Browse repository at this point
Copy the full SHA 193458aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0690e6a - Browse repository at this point
Copy the full SHA 0690e6aView commit details -
Updated CONTRIBUTING.md for mcprep-build
This is to make the documentation consistant with the actual build system.
Configuration menu - View commit details
-
Copy full SHA for a303cae - Browse repository at this point
Copy the full SHA a303caeView commit details
Commits on May 11, 2023
-
Co-authored-by: Patrick W. Crawford <theduckcow@live.com>
Configuration menu - View commit details
-
Copy full SHA for 3e2f5a5 - Browse repository at this point
Copy the full SHA 3e2f5a5View commit details
Commits on May 12, 2023
-
Fixed paths and removed redundent moves
As suggested, I've added a SCRIPT_PATH variable to represent the path of the mcprep-build script, just to make sure that all future paths are correct. In addition, I've also removed the ADDON_DIRECTORY variable on line 88 since it's incorrect logic (we're trying to zip a folder that shouldn't exist)
Configuration menu - View commit details
-
Copy full SHA for 419d706 - Browse repository at this point
Copy the full SHA 419d706View commit details -
We'll be using flake8 in MCprep build to perform PEP8 code checks to make sure our code complies with PEP8 guidelines.
Configuration menu - View commit details
-
Copy full SHA for f475012 - Browse repository at this point
Copy the full SHA f475012View commit details -
This is so we get PEP8 errors at compile time God I love PEP8 but we got an ungodly amount of errors, and that's ignoring W191 (Tabs instead of Spaces)
Configuration menu - View commit details
-
Copy full SHA for 98a5bcb - Browse repository at this point
Copy the full SHA 98a5bcbView commit details -
Fixed destination folder issue and formatting
Originally the build script unzipped to the paths in blender_installs.txt directly, but that was incorrect logic and ended with the addons folder being polluted. This was an easy fix and I'm not sure how it slipped from my mind. In addition, I ran flake8 and fixed some formatting issues in the builder.
Configuration menu - View commit details
-
Copy full SHA for b31ab8a - Browse repository at this point
Copy the full SHA b31ab8aView commit details
Commits on May 14, 2023
-
Added bpy-build.yaml for bpy-build
bpy-build is a better version of mcprep-build that I'm working on. It's more general purpose but has far better configuration. bpy-build does work on the MCprep repo, I just need to finish some shortcommings
Configuration menu - View commit details
-
Copy full SHA for 79e5c7d - Browse repository at this point
Copy the full SHA 79e5c7dView commit details -
Added the during_build part to bpy-build.yaml
bpy-build now supports adding files during a build, which means we can now use bpy-build instead of mcprep-build (if we choose to do so).
Configuration menu - View commit details
-
Copy full SHA for b82549e - Browse repository at this point
Copy the full SHA b82549eView commit details
Commits on May 15, 2023
-
Moving from mcprep-build to bpy-addon-build
bpy-addon-build is the better version of mcprep-build (the former being based off the latter) and will be maintained better, so it makes no sense having a seperate build system. bpy-addon-build has the following advantages: - YAML config - Auto-installation without blender_installs.txt - Ability to define actions and run them in specific cases - Better terminal output - Better argument handling
Configuration menu - View commit details
-
Copy full SHA for 71e7e08 - Browse repository at this point
Copy the full SHA 71e7e08View commit details -
Flake8 is important for formatting checks so I've added it as a default action to be executed during the build process
Configuration menu - View commit details
-
Copy full SHA for 2bd8b60 - Browse repository at this point
Copy the full SHA 2bd8b60View commit details -
Updated bpy-addon-build version
bpy-addon-build was updated to better handle missing YAML config options, so this update is necesary
Configuration menu - View commit details
-
Copy full SHA for 2ad1f1b - Browse repository at this point
Copy the full SHA 2ad1f1bView commit details -
Updated bpy-addon-build version again
This version removes a debug statement... Maybe I should make a proper test suite
Configuration menu - View commit details
-
Copy full SHA for 24b62a0 - Browse repository at this point
Copy the full SHA 24b62a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd0a9cd - Browse repository at this point
Copy the full SHA bd0a9cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b7dd04 - Browse repository at this point
Copy the full SHA 2b7dd04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3757350 - Browse repository at this point
Copy the full SHA 3757350View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09b645f - Browse repository at this point
Copy the full SHA 09b645fView commit details
Commits on Jun 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c648fd8 - Browse repository at this point
Copy the full SHA c648fd8View commit details -
Sorry for the large diff, that's just my formatter being annoying
Configuration menu - View commit details
-
Copy full SHA for 6ea6825 - Browse repository at this point
Copy the full SHA 6ea6825View commit details -
This reverts commit 99ebce8. Currently we're still deciding on Black, so I'm reverting this for now
Configuration menu - View commit details
-
Copy full SHA for 81d2bd6 - Browse repository at this point
Copy the full SHA 81d2bd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2783954 - Browse repository at this point
Copy the full SHA 2783954View commit details
Commits on Jul 4, 2023
-
Added use of
__slots__
for PrepOptionsPrepOptions is a dataclass that has a static set of options; no new options can be added at runtime. Since that's a gurantee about the class, we can use `__slots__` to make sure that typos in field names generate an error. In addition, `__slots__` has a performance and memory benefit, but that's minor compared to the development improvement that would be gained. Due to Blender 2.8 using Python 3.7, we have to manually add the slots ourselves in the class definition. Hopefully in a future MCprep release we can remove this manual declaration and use the `slots` option in the dataclass decorator.
Configuration menu - View commit details
-
Copy full SHA for b934bc4 - Browse repository at this point
Copy the full SHA b934bc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f6b900 - Browse repository at this point
Copy the full SHA 7f6b900View commit details -
Replaced compile scripts with mcprep-build
(Saleman pitch time) mcprep-build is our new, state-of-the-art build system custom made for the MCprep project that's cross platform! Now we get less headaches from dealing with Bash and the Windows shell as this new build system is written in Python! Jokes aside, this new build system is much more maintainable then the old build system. I still need to add autopopulation, but it's 99% the same, minus fast mode. In the future I want to turn this into a general purpose bpy-addon-builder sorta thing, but let's not get ahead of ourselves.
Configuration menu - View commit details
-
Copy full SHA for 6b3b298 - Browse repository at this point
Copy the full SHA 6b3b298View commit details
Commits on Jul 5, 2023
-
Added all supported versions to bpy-build file
Co-authored-by: Patrick W. Crawford <theduckcow@live.com>
Configuration menu - View commit details
-
Copy full SHA for e915ecd - Browse repository at this point
Copy the full SHA e915ecdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c000a0 - Browse repository at this point
Copy the full SHA 4c000a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc9158d - Browse repository at this point
Copy the full SHA cc9158dView commit details
Commits on Jul 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d292559 - Browse repository at this point
Copy the full SHA d292559View commit details -
Disabling flake8 in the build script.
Having issues where it's not providing the intended result, still showing W191. Plus, Blender operator properties are not defined using a syntax that lint checkers can parse, creating a lot of noise. We'll need to rethink how to adopt this in the future.
Configuration menu - View commit details
-
Copy full SHA for b8518f1 - Browse repository at this point
Copy the full SHA b8518f1View commit details
Commits on Jul 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 483f6e4 - Browse repository at this point
Copy the full SHA 483f6e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 456b3f9 - Browse repository at this point
Copy the full SHA 456b3f9View commit details