`git rebase <base>` is a no-op when HEAD is already a descendant of <base>, which is the normal shape for a local branch built on top of origin/main. Without `--force-rebase`, rebase short-circuits, `-S` never runs, and the unsigned commit gets pushed and rejected by required_signatures branch rules. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
30 lines
841 B
TOML
30 lines
841 B
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "git-maintainer-tools"
|
|
version = "1.1.1"
|
|
description = "Small CLIs (git-setup-remotes, git-sign-push) for fork-based OSS maintainer workflows."
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
authors = [{ name = "Kevin Veen-Birkenbach", email = "kevin@veen.world" }]
|
|
license = { text = "MIT" }
|
|
urls = { Homepage = "https://github.com/kevinveenbirkenbach/git-maintainer-tools" }
|
|
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=7", "ruff>=0.4"]
|
|
|
|
[project.scripts]
|
|
git-setup-remotes = "git_maintainer_tools.setup_remotes:main"
|
|
git-sign-push = "git_maintainer_tools.sign_push:main"
|
|
|
|
[tool.setuptools]
|
|
package-dir = {"" = "src"}
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
include = ["git_maintainer_tools*"]
|