feat(remote): add gh:org/repo[:branch] clone target#242
Closed
gerchowl wants to merge 5 commits intofeature/70-remote-devc-orchestrationfrom
Closed
feat(remote): add gh:org/repo[:branch] clone target#242gerchowl wants to merge 5 commits intofeature/70-remote-devc-orchestrationfrom
gerchowl wants to merge 5 commits intofeature/70-remote-devc-orchestrationfrom
Conversation
Contributor
Author
|
Merged into feature/70-remote-devc-orchestration (PR #166) |
1 task
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.
Description
Add
gh:org/repo[:branch]target syntax todevc-remote.sh, enabling one-command clone-and-start of a project's devcontainer on a remote host. Existinghost:pathsyntax continues to work unchanged.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
scripts/devc-remote.sh— Extendedparse_argsto recognizegh:org/repo[:branch]as second positional arg; newremote_clone_projectfunction (single SSH call: clone or fetch, optional branch checkout, config-based path resolution); wired intomain()betweencheck_sshandremote_preflight; updated help text with new syntax and examplesassets/workspace/scripts/devc-remote.sh— Synced copy via manifesttests/bats/devc-remote.bats— 7 new tests: 4 for arg parsing (gh:org/repo, gh:org/repo:branch, host:path+gh:, invalid gh:), 3 for clone function (fresh clone, fetch existing, branch checkout)CHANGELOG.md— Added entry under UnreleasedChangelog Entry
Added
gh:org/repo[:branch]target for devc-remote (#236)gh:org/repo(default branch) andgh:org/repo:branch(specific branch)projects_diror overridden viahost:pathTesting
just test)Manual Testing Details
N/A
Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Design: #236 (comment)
Refs: #236