Skip to content

SSH shorthand support #1247

Description

@ben-edna

In dfetch, using SSH shorthand like git@git.mycompany.com as remote and repo.git as repo-path does not work because it compounds these with / separators.
dfetch should either:

  • support the shorthand syntax, or
  • automatically prepend ssh:// and convert it to ssh://git@git.mycompany.com/repo.git

This would align with standard Git usage and avoid unnecessary friction.

Given the manifest 'dfetch.yaml'
    """
    manifest:
      version: '0.0'

      remotes:
        - name: internal-git
          url-base: git@git.mycompany.com

      projects:
        - name: ext/my-repo
          repo-path: my-repo.git
    """
When I run "dfetch update"
Then the project "ext/my-repo" is fetched successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXNot broken, but frustrating/unclear for usersenhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions