Skip to content

Conversation

@svesh
Copy link
Owner

@svesh svesh commented Sep 26, 2025

  • replace make/default sprint entrypoints with single ytsprint CLI exposing --sync (default) and --create subcommands via argparse parsing
  • adjust CI, Docker, and Wine build scripts to publish both amd64 and x86 Windows artifacts and refresh local Docker helper
  • update tests, coverage, and docs (README, changelog 2.1.0) to match the unified workflow and keep modules above 80% coverage

Note

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.

Written by Cursor Bugbot for commit 5ce88bd. This will update automatically on new commits. Configure here.

- replace make/default sprint entrypoints with single ytsprint CLI exposing
  --sync (default) and --create subcommands via argparse parsing
- adjust CI, Docker, and Wine build scripts to publish both amd64 and x86
  Windows artifacts and refresh local Docker helper
- update tests, coverage, and docs (README, changelog 2.1.0) to match the
  unified workflow and keep modules above 80% coverage
- split docker-image workflow into matrix builds per architecture with a
  follow-up manifest job to publish multi-arch tags in parallel
- allow the release job to run on every push, emitting artifact listings
  while reserving GitHub release publishing for version tags
cursor[bot]

This comment was marked as outdated.

- drop wine-based Windows tooling, add auto-arch PowerShell build and
  document the unified Linux/macos scripts for local and CI use
- introduce dedicated Docker builder/runtime flows with staging helpers
  and expose Prometheus port in the runtime image
- refresh workflow, docs, and changelog to describe the new scripts and
  artifact handling
…t export

- Dockerfile.build: run scripts/internal/prepare-linux-deps.sh; copy scripts/linux-build.sh; export /app/dist to root
- scripts/build-linux-docker.sh: detect artifact in / or /dist; fail fast with logs; chmod +x
- scripts/internal/prepare-linux-deps.sh: install requirements, scons>=4.7, staticx==0.14.1; respect --break-system-packages
- scripts/linux-build.sh: stop installing deps; check for pyinstaller/staticx presence; list dist
- scripts/windows-build.ps1: fix repo root detection; clean staging exe; remove inline pip installs; avoid stale target exe
- .github/workflows/build-binaries.yml: drop redundant pip upgrade/installs (pyright/isort/pymarkdownlnt/yamllint/pyinstaller)

Result: more reproducible builds, fewer network calls, and consistent artifacts across platforms.
- README.md: restructure into User/Developer guides with clear sections
  - Add helpful references to CHANGELOG, AGENTS, OSX_BUILD
  - Improve download instructions with latest release link
  - Reorganize CLI examples and parameters
  - Update Docker runtime image references to ghcr.io/svesh/yt-sprint-tool
  - Expand Developer Guide with detailed build instructions
  - Add architecture overview and module descriptions
  - Include distribution artifacts reference and script documentation
  - Add linters and rules section with configuration references
- CHANGELOG.md: add documentation restructuring entry
- .github/generated-files.yml: comprehensive update of AI-generated files list
  - Remove obsolete test files and build scripts
  - Add current build scripts and configuration files
  - Include all project files in alphabetical order
quality: setup-python caches pip using requirements.txt
linux: add actions/cache for ~/.cache/pip keyed by requirements.txt and scripts/internal/prepare-linux-deps.sh
windows/macos: setup-python caches pip via built-in cache
no change to build artifacts or runtime behavior
docs: update CHANGELOG 2.1.0 with CI caching notes
linux: include ${{ matrix.arch }} in pip cache key and restore-keys
windows: replace setup-python cache with actions/cache for ~\AppData\Local\pip\Cache
using ${{ matrix.python_arch }} in key/restore-keys
macos: replace setup-python cache with actions/cache for ~/Library/Caches/pip
using ${{ matrix.arch }} in key/restore-keys
quality: keep setup-python pip cache (unchanged)
quality: setup-python caches pip using requirements.txt
windows/macos: enable setup-python pip cache; remove explicit actions/cache
linux: add actions/cache for ~/.cache/pip with ${{ matrix.arch }} in key; invalidate on requirements.txt and prepare-linux-deps.sh
no changes to build artifacts or runtime behavior
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: CI Workflow Fails on PRs

The CI workflow won't run on pull requests after the pull_request trigger was removed. This prevents essential validation and build feedback for PRs, increasing the risk of merging issues.

.github/workflows/build-binaries.yml#L5-L6

branches: ['**']
tags: ['v*']

Fix in Cursor Fix in Web


@svesh svesh merged commit 3175aa5 into main Sep 27, 2025
12 checks passed
@svesh svesh deleted the feature/unified-cli branch September 27, 2025 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant