Remove uv-ship and create justfile #14

Manually merged
marvin8 merged 8 commits from feat/issue-9-justfile into main 2026-09-11 07:16:37 +00:00
Collaborator

Replaces the custom uv-ship release tool with:

  • bump-my-version (calver-compatible, mirrors the approach used in cang)
  • A justfile with a release recipe that handles changelog generation, version bump, tagging, and push

Removes:

  • uv-ship from [dependency-groups] dev
  • [tool.uv.sources] section
  • [tool.uv-ship] section

Adds:

  • bump-my-version~=1.5.1 to [dependency-groups] dev
  • [tool.bumpversion] config (calver parse/serialize, updates pyproject.toml)
  • justfile with release recipe

Closes #13

Replaces the custom `uv-ship` release tool with: - `bump-my-version` (calver-compatible, mirrors the approach used in `cang`) - A `justfile` with a `release` recipe that handles changelog generation, version bump, tagging, and push **Removes:** - `uv-ship` from `[dependency-groups] dev` - `[tool.uv.sources]` section - `[tool.uv-ship]` section **Adds:** - `bump-my-version~=1.5.1` to `[dependency-groups] dev` - `[tool.bumpversion]` config (calver parse/serialize, updates `pyproject.toml`) - `justfile` with `release` recipe Closes #13
memo: Add justfile with release recipe
All checks were successful
/ gitleaks (pull_request) Successful in 17s
/ pr-review (pull_request) Successful in 1m25s
/ checks (pull_request) Successful in 2m43s
21a67b0e68
forgejo-actions left a comment

WuMing

Found 1 issue(s). See inline comments below.

## WuMing Found **1** issue(s). See inline comments below.
@ -56,3 +56,2 @@
[tool.uv.sources]
uv-ship = { git = "https://github.com/marvin8/uv-ship-calver.git", branch = "calver" }
[tool.bumpversion]

config [HIGH]

The PR description states this config adds 'calver parse/serialize', but the [tool.bumpversion] section does not define the required parse and serialize options. Without them, bump-my-version falls back to default semver versioning (e.g., bumping 0.4.0 to 0.4.1 instead of a calver version). To use calver, add appropriate parse and serialize patterns (and possibly calver_format), and ensure current_version matches the calver format.

**config** [HIGH] The PR description states this config adds 'calver parse/serialize', but the [tool.bumpversion] section does not define the required `parse` and `serialize` options. Without them, bump-my-version falls back to default semver versioning (e.g., bumping 0.4.0 to 0.4.1 instead of a calver version). To use calver, add appropriate `parse` and `serialize` patterns (and possibly `calver_format`), and ensure `current_version` matches the calver format. <!-- wuming:sha256:5e04f09af2a4e0917ceac30ccf6862a60e39b16c878245ea5f4beaf228dc9ee8 -->
wrench: Add calver parse/serialize to bumpversion config
All checks were successful
/ gitleaks (pull_request) Successful in 13s
/ pr-review (pull_request) Successful in 1m13s
/ checks (pull_request) Successful in 2m50s
a850615bd8
Author
Collaborator

pyproject.toml position 0

config [HIGH]...

Fixed in commit a850615 — added parse and serialize to [tool.bumpversion] for calver year.month.day format.

[`pyproject.toml` position 0](https://forge.marvin8.zone/marvin8/yunjin/pulls/14#issuecomment-2511) > **config** [HIGH]... ✅ Fixed in commit `a850615` — added `parse` and `serialize` to `[tool.bumpversion]` for calver year.month.day format.
📝 Polish pre-commit, justfile, noxfile, and pylock
Some checks failed
/ gitleaks (pull_request) Failing after 7s
/ checks (pull_request) Failing after 1m23s
/ pr-review (pull_request) Has been cancelled
451a2ae16e
- .pre-commit-config.yaml: reformat, replace detect-secrets with
  gitleaks, add ty pre-commit hook, bump hook revs, add
  uv-export for pylock.toml
- noxfile.py: add pysentry, deptry, zaojun sessions; add 3.14 to
  test matrix; switch to tryke for pytest
- pylock.toml: sync with current uv.lock
- justfile: fix cang → yunjin awk pattern in release recipe
- Remove old per-release RELEASE_NOTES_*.md files (single
  Release-Notes.md for all future releases)
chore: remove per-release RELEASE_NOTES_*.md files (single Release-Notes.md from now on)
Some checks failed
/ pr-review (pull_request) Successful in 4s
/ gitleaks (pull_request) Failing after 10s
/ checks (pull_request) Failing after 1m26s
c26fe8fff1

This PR is too large to review automatically (2057 lines; limit is 2000). Please consider splitting it into smaller PRs.

This PR is too large to review automatically (2057 lines; limit is 2000). Please consider splitting it into smaller PRs.
fix: add transitive dependency constraints to resolve pysentry findings
All checks were successful
/ pr-review (pull_request) Successful in 5s
/ gitleaks (pull_request) Successful in 13s
/ checks (pull_request) Successful in 1m22s
a9f7e8fdbf
Add [tool.uv] constraint-dependencies for click, mako, urllib3,
requests, pygments — all flagged as HIGH/MEDIUM/LOW by pysentry
(PYSEC-2026-2132, PYSEC-2026-2617, PYSEC-2026-88,
PYSEC-2026-141, PYSEC-2026-142, PYSEC-2026-2275,
PYSEC-2026-2987).

This PR is too large to review automatically (2177 lines; limit is 2000). Please consider splitting it into smaller PRs.

This PR is too large to review automatically (2177 lines; limit is 2000). Please consider splitting it into smaller PRs.
fix: replace remaining cang references with yunjin in bumpversion config
All checks were successful
/ pr-review (pull_request) Successful in 5s
/ gitleaks (pull_request) Successful in 17s
/ checks (pull_request) Successful in 1m28s
a2dd5de665

This PR is too large to review automatically (2177 lines; limit is 2000). Please consider splitting it into smaller PRs.

This PR is too large to review automatically (2177 lines; limit is 2000). Please consider splitting it into smaller PRs.
marvin8 approved these changes 2026-09-11 07:15:18 +00:00
marvin8 manually merged commit 3e8b960760 into main 2026-09-11 07:16:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/yunjin!14
No description provided.