Skip to content

Quote remote release-tool command arguments#402

Open
e-q wants to merge 1 commit into
python:mainfrom
e-q:quote-remote-release-commands
Open

Quote remote release-tool command arguments#402
e-q wants to merge 1 commit into
python:mainfrom
e-q:quote-remote-release-commands

Conversation

@e-q
Copy link
Copy Markdown

@e-q e-q commented Jun 2, 2026

Summary

  • Quote environment values and remote paths before building release upload command strings.
  • Preserve intended glob expansion for staged release artifact copies.
  • Quote URL-derived Windows upload paths before passing them to SSH/SCP helpers.
  • Add mocked regression tests for the generated SSH and upload command strings.

Closes #397 (release tooling remote command arguments)
Closes #401 (Windows upload URL-derived remote paths)

Testing

  • Focused tox regression tests for generated remote command quoting: passed.
  • tox -q -e mypy: passed.
  • Ruff lint and whitespace checks on touched files: passed.

@python-cla-bot
Copy link
Copy Markdown

python-cla-bot Bot commented Jun 2, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

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.

Bug: Windows upload helper should quote URL-derived remote paths Bug: release tooling should quote remote command arguments

1 participant