Commit 3175aa5
authored
Merge pull request #3 from svesh/feature/unified-cli
Replaces make/default CLIs with a unified ytsprint binary and overhauls CI/Docker to build/publish per-arch artifacts (incl. native Windows), with updated docs, tests, and artifact names.
CLI:
Replace make-sprint and default-sprint with unified ytsprint (--sync default, --create), new entrypoint ytsprint/cli.py.
Update version/info helpers to unified CLI; generate single Windows version file.
Build/CI:
GitHub Actions: add pip caching; switch Windows builds to native (x64/x86) matrix; refine macOS; Linux uses scripts/internal/prepare-linux-deps.sh and caches pip.
Rename artifacts to ytsprint-<os>-<arch>; update release attachments.
Split Docker into runtime Dockerfile (copy prebuilt ytsprint) and builder Dockerfile.build; add per-arch Docker build + multi-arch manifest jobs.
Scripts:
Add scripts/build-linux-docker.sh, scripts/build-runtime.sh, scripts/windows-build.ps1, scripts/internal/prepare-linux-deps.sh.
Remove Wine build/install scripts and build-with-docker.sh; refactor linux/macos build scripts for unified binary.
Docker:
Runtime image runs ytsprint, exposes 9108, selects binary by TARGETARCH.
Docs:
Rewrite README to unified CLI; add CHANGELOG 2.1.0 notes.
Tests:
Add tests for unified CLI and daemon runner; adjust existing tests and typing; keep coverage ≥80%.
Config:
pyproject.toml: enable strict Pyright, include tests, switch console script to ytsprint.
.dockerignore allows build scripts and dist/ binaries for Docker builds; expand generated-files list.
requirements.txt: relax some pinning for linters.35 files changed
Lines changed: 1730 additions & 1450 deletions
File tree
- .github
- workflows
- scripts
- internal
- tests
- ytsprint
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
23 | | - | |
| 28 | + | |
24 | 29 | | |
25 | | - | |
26 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
27 | 45 | | |
28 | 46 | | |
29 | 47 | | |
| |||
0 commit comments