Skip to content

Fix CLI text quoting and main-only PyPI publishing#6

Merged
juanpabloguerra16 merged 4 commits into
mainfrom
fix-cli-shell-stripped-text-quotes
May 1, 2026
Merged

Fix CLI text quoting and main-only PyPI publishing#6
juanpabloguerra16 merged 4 commits into
mainfrom
fix-cli-shell-stripped-text-quotes

Conversation

@juanpabloguerra16
Copy link
Copy Markdown
Contributor

@juanpabloguerra16 juanpabloguerra16 commented May 1, 2026

Summary

  • Fix CLI normalization for shell-stripped multi-word DSL text values, so ctxd search text:"running late" application:slack is sent to the API as text:"running late" application:slack.
  • Add regression coverage for the multi-word text: CLI case.
  • Change CI so PRs run tests/build only, while PyPI publishing runs only after a push to main and after the test job passes.
  • Add a PyPI version existence check so publish is skipped when the current package version already exists.
  • Add CONTRIBUTING.md with the package version bump and release process, and link it from README.md.

Issues

Closes #1
Closes #2
Closes #3

Tests

  • env UV_CACHE_DIR=/tmp/uv-cache uv run pytest tests/test_cli.py

Files Changed

  • .github/workflows/ci.yaml
  • CONTRIBUTING.md
  • README.md
  • src/ctxd/cli.py
  • tests/test_cli.py

@juanpabloguerra16 juanpabloguerra16 changed the title Fix CLI search quoting for multi-word text Fix CLI text quoting and main-only PyPI publishing May 1, 2026
@juanpabloguerra16 juanpabloguerra16 merged commit 6302e1d into main May 1, 2026
2 checks passed
@juanpabloguerra16 juanpabloguerra16 deleted the fix-cli-shell-stripped-text-quotes branch May 1, 2026 03:15
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.

update pypi package publishing policy to accept releases from this repo dsl parsing errors only publish to pypi when merging to main from a PR

1 participant