Skip to content

Conversation

@loonghao
Copy link
Owner

@loonghao loonghao commented Dec 9, 2025

Changes

1. Add GitHub Release Downloads Badge

  • Added badge to track total GitHub release downloads in both README.md and README_zh.md

2. Add Hooks Disable Environment Variables

Added two new environment variables to control hooks execution:

Environment Variable Description Example
MAYA_UMBRELLA_DISABLE_ALL_HOOKS Disable all hooks SET MAYA_UMBRELLA_DISABLE_ALL_HOOKS=true
MAYA_UMBRELLA_DISABLE_HOOKS Disable specific hooks (comma-separated) SET MAYA_UMBRELLA_DISABLE_HOOKS=delete_turtle,delete_unknown_plugin_node

Available hooks:

  • delete_turtle - Remove Turtle plugin and related nodes
  • delete_unknown_plugin_node - Remove unknown plugin nodes
  • fix_model_panel - Fix model panel issues
  • fix_no_scene_name - Fix scenes without names
  • fix_on_model_change_3dc - Fix 3D Coat model change callback

Files Changed

  • README.md - Added badge + documentation
  • README_zh.md - Added badge + documentation
  • maya_umbrella/filesystem.py - Implemented disable logic (Python 2.7-3.12 compatible)

@codecov
Copy link

codecov bot commented Dec 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.02%. Comparing base (acdf7ff) to head (d6a39f4).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #73      +/-   ##
==========================================
+ Coverage   69.25%   70.02%   +0.77%     
==========================================
  Files          16       16              
  Lines         696      714      +18     
  Branches       78       83       +5     
==========================================
+ Hits          482      500      +18     
  Misses        194      194              
  Partials       20       20              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Add GitHub Release downloads badge to README.md and README_zh.md

- Add MAYA_UMBRELLA_DISABLE_ALL_HOOKS env var to disable all hooks

- Add MAYA_UMBRELLA_DISABLE_HOOKS env var to disable specific hooks by name

- Update documentation with new environment variables
@loonghao loonghao force-pushed the feature/update-badges-and-env-hooks branch from 4e6a6ba to d6a39f4 Compare December 9, 2025 09:57
@loonghao loonghao merged commit 2c92106 into main Dec 9, 2025
9 checks passed
@loonghao loonghao deleted the feature/update-badges-and-env-hooks branch December 9, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants