Skip to content

mystools bundle does not handle custom upstream remotes very well #1126

@fallberg

Description

@fallberg

I have defined my upsteam to use ssh-key authentication and the mystools bundle fails to initialize because of this:

$ .mystools/bootstrap-dev.sh
Checking operating system support: msys...
Checking github 'origin' & 'upstream' remotes...
Git "upstream" remote not found or incorrectly defined. Configuring remote upstream --> https://github.com/mysensors/MySensors.git...
fatal: remote upstream already exists.
git remote add  failed due to error 128
$ git remote -v
origin  [email protected]:fallberg/MySensors.git (fetch)
origin  [email protected]:fallberg/MySensors.git (push)
upstream        [email protected]:mysensors/MySensors.git (fetch)
upstream        [email protected]:mysensors/MySensors.git (push)

I think that the bootstrapper should accept preconfigured upstream remotes, at least if they aready point at mysensors/MySensors.git in one form or another.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions