From 14799fb2ef51ccfbee34fcb8b290bf3441a3791a Mon Sep 17 00:00:00 2001 From: Marco Vanotti Date: Tue, 19 Mar 2019 23:50:58 -0700 Subject: 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. --- pkg/vcs/vcs.go | 4 ++-- pkg/vcs/vcs_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg') 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", -- cgit mrf-deployment