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

transport: add local transport #145

Merged
merged 4 commits into from
Nov 29, 2016
Merged

transport: add local transport #145

merged 4 commits into from
Nov 29, 2016

Conversation

smola
Copy link
Collaborator

@smola smola commented Nov 28, 2016

  • transport: move common packp protocol out of ssh transport.
  • fixtures: add fixture for empty repository.
  • transport: add local transport
  • transport/client: add local handler for file://

@codecov-io
Copy link

codecov-io commented Nov 28, 2016

Current coverage is 74.87% (diff: 30.35%)

Merging #145 into master will decrease coverage by 0.51%

@@             master       #145   diff @@
==========================================
  Files            78         77     -1   
  Lines          5091       5007    -84   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           3838       3749    -89   
- Misses          804        831    +27   
+ Partials        449        427    -22   

Powered by Codecov. Last update 8c0f194...8812bc5

DotGitHash: plumbing.NewHash("4abe340d8d378baf7c2bfb2854c0fa498642bac3"),
ObjectsCount: 0,
},
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

closing } in the same line please

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@@ -21,7 +23,7 @@ func InstallProtocol(scheme string, c transport.Client) {
}

// NewClient returns the appropriate client among of the set of known protocols:
// HTTP, SSH. See `InstallProtocol` to add or modify protocols.
// HTTP, SSH or local. See `InstallProtocol` to add or modify protocols.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

local or file?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@smola
Copy link
Collaborator Author

smola commented Nov 29, 2016

Updated PR with more docs about internal/common.

@smola smola merged commit 44c6a49 into src-d:master Nov 29, 2016
@smola smola deleted the local branch November 29, 2016 14:07
mcuadros pushed a commit that referenced this pull request Jan 31, 2017
* transport: move common packp protocol out of ssh transport.
* fixtures: add fixture for empty repository.
* transport: add file:// transport
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.

3 participants