Skip to content

Polish the repo for public contributors - #1

Merged
GabrielAndreiPreda merged 10 commits into
mainfrom
polish-for-contributors
Aug 12, 2026
Merged

Polish the repo for public contributors#1
GabrielAndreiPreda merged 10 commits into
mainfrom
polish-for-contributors

Conversation

@GabrielAndreiPreda

@GabrielAndreiPreda GabrielAndreiPreda commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Groundwork for taking outside contributions, plus a few things that were wrong rather than missing.

Fixed

  • __version__ still read 2.0.0 after the 2.1 commit.
  • A test compared candidate().argv[0] against a literal /usr/bin/cct, but that value goes through os.path.abspath, which rewrites it to C:\usr\bin\cct on Windows.
  • test_real_repository compared git rev-parse --abbrev-ref HEAD against git_branch. On a detached HEAD the former answers the literal string HEAD and the latter a short SHA, so it could never match. CI checks PRs out detached, which is how this surfaced.
  • The README documented a status line wrapping mode removed in 2.0.0.
  • .claude/settings.local.json was only hidden by a global git ignore rule.

Added

CI on Linux, macOS and Windows across Python 3.8 through 3.13, plus a job that builds the package, checks its metadata, installs the wheel and runs the console script. Python 3.8 runs on a pinned ubuntu-22.04 runner because setup-python has no 3.8 build for the 24.04 image that ubuntu-latest now resolves to.

CONTRIBUTING.md, issue and pull request templates, a changelog covering 1.0.0 to 2.1.0, and package metadata (author, project URLs, per-version Python classifiers).

Changed

The README reaches the install command without scrolling. The long notes on PATH, shell quoting and settings.json parsing moved into collapsible sections with their wording intact, and a pinned install form is documented since installing from main gave no way to hold a version. image.png is now docs/statusline.png.

Checks

78 tests pass on all seven matrix combinations. uv build produces a 2.1.0 wheel whose metadata carries License-Expression: GPL-3.0-or-later with no conflicting classifier. install --dry-run leaves settings.json byte-identical.

It was left at 2.0.0 when 2.1 was committed.
One compared a literal POSIX path against a value that goes through
os.path.abspath; the other compared --abbrev-ref HEAD against git_branch, which
cannot match on a detached HEAD.
It was only hidden by a global ignore rule.
Python 3.8 runs on a pinned ubuntu-22.04 runner because setup-python has no 3.8
build for the 24.04 image.
Trailing whitespace, double blank lines, and two stray sentences under Reading
the TTL.
Install is reachable without scrolling, the long PATH and settings.json notes
moved into collapsible sections, and image.png became docs/statusline.png.
@GabrielAndreiPreda GabrielAndreiPreda added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 12, 2026
The README would have to be edited at every release, and it pointed at a tag
that did not exist yet.
@GabrielAndreiPreda
GabrielAndreiPreda merged commit 2dc7f97 into main Aug 12, 2026
8 checks passed
@GabrielAndreiPreda
GabrielAndreiPreda deleted the polish-for-contributors branch August 12, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant