Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

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" => ssh@github.com:cdr/sail.git
sail run "deansheather/test" => ssh@github.com: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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.