Skip to content

Conversation

@smillst
Copy link
Member

@smillst smillst commented Jan 26, 2026

No description provided.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 26, 2026

📝 Walkthrough

Walkthrough

The release scripts were changed in two places. In docs/developer/release/release_build.py, ensure_user_access was added to imports; calls to ensure_group_access and ensure_user_access were added for the dev website directory before copying, and shutil.copytree was changed to use dirs_exist_ok=True. In docs/developer/release/release_utils.py, commit_tag_and_push now removes the pre-commit hook at .git/hooks/pre-commit before checking for changes, committing, tagging, and pushing.

🚥 Pre-merge checks | ✅ 1
✅ Passed checks (1 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@smillst smillst changed the title During the release, make sure write permissions are set. Release script corrections Jan 28, 2026
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@docs/developer/release/release_utils.py`:
- Around line 292-294: The remove-precommit command should use the -f flag and
not an f-string to avoid failing when the hook is missing and to eliminate the
unnecessary f prefix; update the call to execute that currently invokes
execute(f"rm .git/hooks/pre-commit", working_dir=path) so it instead calls
execute("rm -f .git/hooks/pre-commit", working_dir=path) (locate the invocation
of execute in release_utils.py that removes .git/hooks/pre-commit).

@mernst mernst enabled auto-merge (squash) January 29, 2026 16:35
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