Skip to content

Publish index of starter packages#26

Closed
byrro wants to merge 9 commits intomainfrom
renato/publish-servers-index
Closed

Publish index of starter packages#26
byrro wants to merge 9 commits intomainfrom
renato/publish-servers-index

Conversation

@byrro
Copy link
Copy Markdown
Member

@byrro byrro commented Apr 2, 2026

This PR introduces the automated publishing of a arcade-starter-toolkits-index which will contain the list of starter packaged (from servers.txt) currently available. This will support the monorepo CI process after this starter-tools repo goes private.

byrro added 4 commits April 1, 2026 17:00
- Ship repo-root servers.txt into the wheel via hatch force-include
- On push to main, detect servers.txt changes over full github.event.before range
- After toolkit PyPI publishes (or skip), bump index minor from PyPI API and publish
- Exclude index dir from release-on-version-change matrix (dedicated job only)
Pass github.event.before/sha via DIFF_RANGE_*; use empty tree when
before is all-zeros. Matches servers.txt detection and avoids missing
version bumps in multi-commit pushes.
Job-level concurrency group avoids duplicate next-version computes when
multiple pushes touch servers.txt close together.
…it-index

Match wheel layout via hatch sdist.force-include so sdist installs/builds
have package data for servers_txt_text().
@byrro byrro self-assigned this Apr 2, 2026
byrro added 5 commits April 3, 2026 09:11
…x packaging

- Add check-servers-txt-changed.sh and compute-index-version.sh; wire release workflow
- Dedupe package dirs in check-version-changes.sh (policy locked by tests)
- Pytest: tests/ci (servers.txt range, version matrix, PyPI version math, YAML gating)
  and arcade-starter-toolkit-index/tests (wheel/sdist + isolated venv import)
- Add requirements-ci.txt, pytest.ini, unit-tests.yml; document local runs in READMEs

Covers the approved starter-tools unit test plan without PyPI or GHA execution.
- Replace requirements-ci.txt with root pyproject [dependency-groups] dev
- Add uv.lock; CI runs uv sync --frozen --group dev + uv run pytest
- Packaging tests call uv build (drop python -m build / build package dep)
- Document uv sync + uv run in READMEs
Adds merge-topology case: bump on feature branch merged into main;
before/after refs match pre-merge tip and merge commit.
Collapse whitespace and require exact OR group; reject
pypi-publish result cancelled/failure substrings.
@byrro byrro requested a review from EricGustin April 3, 2026 13:02
@byrro byrro marked this pull request as ready for review April 3, 2026 13:02
@byrro byrro closed this Apr 3, 2026
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