Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Dont rely on GitHub import path format #22

Merged
merged 2 commits into from
Nov 5, 2015

Conversation

andrewslotin
Copy link
Contributor

While looking for Gofiles for installed packages to resolve their dependencies goem assumes that each package name follows GitHub repository naming pattern github.com/<username>/<project> and tries to look for .go/src/github.com/<username>/<project>/Gofile. This assumption is not always true, for example some of golang.org/x/... packages import google.golang.org/cloud. As the result goem is trying to stat google.golang.org/cloud/.travis.yml/Gofile which returns an error different from os.ErrNotExist and causes premature exit leaving rest of the dependencies not installed.

@andrewslotin andrewslotin force-pushed the dont_rely_on_github_import_path_format branch from b753ba0 to a62e732 Compare November 5, 2015 12:54
roa added a commit that referenced this pull request Nov 5, 2015
…rmat

Dont rely on GitHub import path format
@roa roa merged commit dd20230 into master Nov 5, 2015
@roa roa deleted the dont_rely_on_github_import_path_format branch November 5, 2015 12:59
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.

2 participants