diff options
| author | Marco Vanotti <mvanotti@users.noreply.github.com> | 2019-03-19 23:50:58 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-03-20 07:50:58 +0100 |
| commit | 14799fb2ef51ccfbee34fcb8b290bf3441a3791a (patch) | |
| tree | 3e5a1b0a91d809454956506da6a7ee3a73e15d5f /pkg | |
| parent | 54779150a632351ac7f93ca754d7f3b1430383ed (diff) | |
docs, pkg/vcs, sys/fuchsia: update fuchsia urls
Recently the fuchsia team decided to merge all their subrepos into one
big git repo. This meant that the "zircon" repo doesn't exist anymore.
Instead almost everything is under the fuchsia repo.
This change updates all the reference I could find in the code that
point to the zircon and docs repo to make them point to the new fuchsia
repo.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/vcs/vcs.go | 4 | ||||
| -rw-r--r-- | pkg/vcs/vcs_test.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go index 8026bbfd5..77b919d4b 100644 --- a/pkg/vcs/vcs.go +++ b/pkg/vcs/vcs.go @@ -231,8 +231,8 @@ func link(url, hash string, typ int) string { } switch url { case "https://fuchsia.googlesource.com": - // We collect hashes from zircon repo. - return link(url+"/zircon", hash, typ) + // We collect hashes from the fuchsia repo. + return link(url+"/fuchsia", hash, typ) } if strings.HasPrefix(url, "https://github.com/") { url = strings.TrimSuffix(url, ".git") diff --git a/pkg/vcs/vcs_test.go b/pkg/vcs/vcs_test.go index aa7210bf6..b53f65a93 100644 --- a/pkg/vcs/vcs_test.go +++ b/pkg/vcs/vcs_test.go @@ -126,7 +126,7 @@ func TestCommitLink(t *testing.T) { { "https://fuchsia.googlesource.com", "13ee3dc5e4c46bf127977ad28645c47442ec517d", - "https://fuchsia.googlesource.com/zircon/+/13ee3dc5e4c46bf127977ad28645c47442ec517d^!", + "https://fuchsia.googlesource.com/fuchsia/+/13ee3dc5e4c46bf127977ad28645c47442ec517d^!", }, { "git://git.cmpxchg.org/linux-mmots.git", |
