rsconnect deploy git#752
Merged
Merged
Conversation
|
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
d9cbc3e to
7f6e383
Compare
7f6e383 to
dc6df88
Compare
32acf65 to
d05b3bc
Compare
d05b3bc to
57582fb
Compare
c4bd38d to
66e8210
Compare
joshyam-k
reviewed
Jun 29, 2026
joshyam-k
reviewed
Jun 29, 2026
joshyam-k
approved these changes
Jun 29, 2026
joshyam-k
left a comment
Contributor
There was a problem hiding this comment.
couple small comments, but pulled this down and it worked nicely locally!
Adds support for creating git-backed deployments supersedes #501 Features: - New `rsconnect deploy git` command with --repository, --branch, and --subdirectory options - Comprehensive test coverage for CLI and API methods 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Plumb activate=not draft through RSConnectExecutor and RSConnectClient so --draft produces a draft deployment instead of being silently ignored. Add mutual exclusion guard for --new and --app-id in deploy git command.
- Detect git-not-enabled via HTTP 404 status (RSConnectException.status) instead of substring-matching error text; scope the check to the repository config call. Fixes the case where Connect returns a 404 with a JSON error body. - Split content_args into publish_args + metadata_args so deploy git no longer advertises --metadata/--no-metadata (they were silently ignored).
3b0f1fa to
8cf21ad
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for creating git-backed deployments
supersedes #501
Features:
rsconnect deploy gitcommand with --repository, --branch, and--subdirectory options
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com
Intent
Type of Change
Approach
Automated Tests
Directions for Reviewers
Checklist
rsconnect-python-tests-at-nightworkflow in Connect against this feature branch.