Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Add default_organization key to config #218

Merged
merged 1 commit into from
Jun 20, 2019
Merged

Conversation

deansheather
Copy link
Member

Automatically inserts the default_organization into repo URLs if there are no slashes in repo.trimPath().

This allows you to do stuff like sail run sail if your default_organization is set to cdr. If an organization name is in the name passed to parseRepo, it will not prepend the default_organization.

If default_organization = "cdr":

sail run "sail" => [email protected]:cdr/sail.git
sail run "deansheather/test" => [email protected]:deansheather/test.git
sail run --https "sail" => https://github.com/cdr/sail.git
sail run "https://bitbucket.com/deansheather/test.git" => https://bitbucket.com/deansheather/test.gi

Closes #207.

Automatically inserts the default_organization into repo URLs if there
are no slashes in trimPath().
@nathanpotter nathanpotter merged commit 7354999 into master Jun 20, 2019
@nathanpotter nathanpotter deleted the default-organization branch June 20, 2019 00:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

default organization?
2 participants