aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Vanotti <mvanotti@users.noreply.github.com>2019-03-19 23:50:58 -0700
committerDmitry Vyukov <dvyukov@google.com>2019-03-20 07:50:58 +0100
commit14799fb2ef51ccfbee34fcb8b290bf3441a3791a (patch)
tree3e5a1b0a91d809454956506da6a7ee3a73e15d5f
parent54779150a632351ac7f93ca754d7f3b1430383ed (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.
-rw-r--r--docs/fuchsia/README.md6
-rw-r--r--pkg/vcs/vcs.go4
-rw-r--r--pkg/vcs/vcs_test.go2
-rw-r--r--sys/fuchsia/fidl.txt2
-rw-r--r--sys/fuchsia/sys.txt2
5 files changed, 8 insertions, 8 deletions
diff --git a/docs/fuchsia/README.md b/docs/fuchsia/README.md
index 3c06cf704..d3e75b1ce 100644
--- a/docs/fuchsia/README.md
+++ b/docs/fuchsia/README.md
@@ -1,8 +1,8 @@
# Fuchsia support
For information about checking out and building Fuchsia see
-[Getting Started](https://fuchsia.googlesource.com/docs/+/master/getting_started.md)
-and [Soure Code](https://fuchsia.googlesource.com/docs/+/master/development/source_code/README.md).
+[Getting Started](https://fuchsia.googlesource.com/fuchsia/+/master/docs/getting_started.md)
+and [Soure Code](https://fuchsia.googlesource.com/fuchsia/+/master/docs/development/source_code/README.md).
Image needs to be configured with sshd support:
```
fx set x64 --packages garnet/packages/products/sshd
@@ -16,7 +16,7 @@ fx set arm64 --packages garnet/packages/products/sshd
fx full-build
```
-Syscall descriptions live in the `sys/fuchsia` folder. To update a syscall, you need to modify the `.txt` file that contains it, make sure your new definition matches the one in zircon's [syscalls.abigen](https://fuchsia.googlesource.com/zircon/+/HEAD/system/public/zircon/syscalls.abigen) file. **If the syscall was used in `executor/common_fuchsia.h`, you need to update the usages there as well**. FIDL definitions do not need manual updating because they are extracted automatically with the commands below.
+Syscall descriptions live in the `sys/fuchsia` folder. To update a syscall, you need to modify the `.txt` file that contains it, make sure your new definition matches the one in zircon's [syscalls.abigen](https://fuchsia.googlesource.com/fuchsia/+/master/zircon/system/public/zircon/syscalls.abigen) file. **If the syscall was used in `executor/common_fuchsia.h`, you need to update the usages there as well**. FIDL definitions do not need manual updating because they are extracted automatically with the commands below.
Once you updated the syscalls definitions, everything can be regenerated by running:
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",
diff --git a/sys/fuchsia/fidl.txt b/sys/fuchsia/fidl.txt
index 4a3a65cf4..37224af66 100644
--- a/sys/fuchsia/fidl.txt
+++ b/sys/fuchsia/fidl.txt
@@ -1,7 +1,7 @@
# Copyright 2018 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-# See https://fuchsia.googlesource.com/zircon/+/master/docs/fidl/wire-format/index.md
+# See https://fuchsia.googlesource.com/fuchsia/+/master/docs/development/languages/fidl/reference/wire-format/README.md
include <zircon/fidl.h>
diff --git a/sys/fuchsia/sys.txt b/sys/fuchsia/sys.txt
index 1fb885f03..9237dc649 100644
--- a/sys/fuchsia/sys.txt
+++ b/sys/fuchsia/sys.txt
@@ -1,7 +1,7 @@
# Copyright 2017 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-# See https://fuchsia.googlesource.com/zircon/+/master/docs/syscalls.md
+# See https://fuchsia.googlesource.com/fuchsia/+/master/zircon/docs/syscalls.md
include <zircon/syscalls.h>
include <ddk/driver.h>