Skip to content

Conversation

@smacker
Copy link
Contributor

@smacker smacker commented Nov 13, 2018

we need to support file schema too.

we use it in lookout-sdk binary.

@smacker smacker requested a review from carlosms November 13, 2018 17:18
if u.Scheme == "file" {
return &RepositoryInfo{
CloneURL: input,
FullName: u.Path,
Copy link
Contributor

@carlosms carlosms Nov 13, 2018

Choose a reason for hiding this comment

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

What about adding also Name: filepath.Base(u.Path)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

@carlosms carlosms left a comment

Choose a reason for hiding this comment

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

👍

@smacker
Copy link
Contributor Author

smacker commented Nov 14, 2018

ci is failing because can't download binary as usual

@smacker smacker merged commit 2d84e1a into src-d:master Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants