Since: 0.1.0
def post_merge(*, explicit_pr: int = 0, push: bool = False, skip_clean_old_entries: bool = False, force_reason: str = ''):
...CLI Options:
| Flag | Type | Default | Description |
|---|---|---|---|
--pr |
int |
0 |
Use this if the HEAD commit is not a merge |
--push |
bool |
False |
Push commit and tag |
--skip-clean |
bool |
False |
Skip cleaning old entries |
--force-reason |
str |
'' |
Force release with this reason (creates ChoreAction if no changelog entries) |
| Version | Change |
|---|---|
| 0.1.0 | Made public |
Since: 0.1.0
def pre_change(*, group: str | None = None, git_changes_since: GitSince = <GitSince.DEFAULT: 'default'>, skip_fix_commits: bool = False, full: bool = False, skip_docs: bool = False, skip_open_in_editor: bool | None = None, keep_private: bool = False):
...Handle new symbols, update changelog, optionally sync files and docs.
CLI Options:
| Flag | Type | Default | Description |
|---|---|---|---|
-g, --group |
`str | None` | None |
--git-since |
GitSince |
<GitSince.DEFAULT: 'default'> |
Will use git log to look for 'fix' commits to include in the changelog [no_git_changes, last_git_tag, pr_base_branch, default] |
--skip-fix-commits |
bool |
False |
Skip prompts for fix commits in git history |
--full |
bool |
False |
Run pre-commit workflow after pre-change (sync + docs + diff) |
--skip-docs |
bool |
False |
Skip doc regeneration |
--skip-open |
`bool | None` | None |
--keep-private |
bool |
False |
Automatically keep all new symbols private without prompting |
| Version | Change |
|---|---|
| 0.1.0 | Made public |
Since: 0.1.0
def pre_commit(*, git_changes_since: GitSince = <GitSince.DEFAULT: 'default'>, skip_docs: bool = False, skip_dirty_check: bool = False):
...Update changelog and regenerate docs (bot mode, writes to -dev files).
CLI Options:
| Flag | Type | Default | Description |
|---|---|---|---|
--git-since |
GitSince |
<GitSince.DEFAULT: 'default'> |
Will use git log to look for 'fix' commits to include in the changelog [no_git_changes, last_git_tag, pr_base_branch, default] |
--skip-docs |
bool |
False |
Skip doc regeneration |
--skip-dirty-check |
bool |
False |
Skip dirty file check (for tests) |
| Version | Change |
|---|---|
| 0.1.0 | Made public |
Since: 0.4.0
def change_base(*, new_base: str = ..., pr_number: int = 0):
...Consolidate changelog files from closed PRs after re-targeting a stacked PR.
CLI Options:
| Flag | Type | Default | Description |
|---|---|---|---|
--new-base |
str |
required | The new base branch (e.g., 'main') |
--pr |
int |
0 |
Use this if the HEAD commit is not a merge |
| Version | Change |
|---|---|
| 0.4.0 | Made public |