Repository navigation
Add community files, security hardening and Windows batch fix (0.1.1) - #2
Merged
Merged
Conversation
Community and project files - Issue and pull request templates, SECURITY.md, CODE_OF_CONDUCT.md, CONTRIBUTING.md and Dependabot configuration. - README badges and a fuller description of what CommitRocket is for. - Bump the version to 0.1.1 and update the changelog. Security - Ignore sensitive settings (force, remote, branch, report, log-file, notify-webhook, include-from, exclude-from) in a config file found inside the repository; they are only honored from a file passed with --config. - Treat file names literally in git commands (GIT_LITERAL_PATHSPECS) so names such as "[ab].txt" no longer stage other files. - Reject --remote/--branch values that look like git options and put "--" before the remote in push, ls-remote and remote get-url. - Hide URL credentials in logs, errors, push output, reports, notifications and the displayed push target; restrict log and report files to the owner. - Refuse LFS rules for file names containing control characters. - Write the report through a random, exclusively created temporary file. - Show file names and git output literally instead of as Rich markup. Fixes - Stage files in chunks so batches with thousands of files no longer fail on Windows with "The filename or extension is too long"; shorten very long commands in logs and errors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepares release 0.1.1: repository community files, a security review with fixes, and a Windows fix for large batches.
Community and project files
SECURITY.md,CODE_OF_CONDUCT.md,CONTRIBUTING.md.dependabot.ymlfor Python (uv), GitHub Actions and pre-commit hooks.pyproject.toml,__init__.py,uv.lock); changelog updated.Security hardening
force,remote,branch,report,log-file,notify-webhook,include-fromorexclude-from; they are ignored with a warning unless the file is passed with--config.[ab].txtno longer stage other files.--remote/--branchvalues that look like git options are rejected, and--is used before the remote inpush,ls-remoteandremote get-url.Fix
Notes for review
remote,forceor similar in a repositorycommitrocket.tomlwill now see a warning and need--config commitrocket.tomlfor those settings (documented in the README).v0.1.1runs the release workflow, which needs thePYPI_API_TOKENsecret and apypienvironment.Test plan
uv run ruff check .