Update module name
We now host this code on go.fuchsia.dev/tools
Change-Id: Ice50c8ef4f64a4a27275de46179864fcbca1b27c
diff --git a/README.md b/README.md
index dd74867..1745a5c 100644
--- a/README.md
+++ b/README.md
@@ -4,10 +4,3 @@
Go packages from here are automatically built and uploaded to CIPD and Google
Storage by bots using the [tools](https://fuchsia.googlesource.com/infra/recipes/+/master/recipes/tools.py) recipe.
-To add a tool to the build:
- * Edit the [bot config](https://fuchsia.googlesource.com/infra/config/+/master/services/cr-buildbucket.cfg).
- * Find the `builder_mixins` section with `name: "tools"`.
- * Edit the JSON in `properties_j` to add a string to the `packages` list:
- ```json
- "fuchsia.googlesource.com/tools/cmd/your-new-tool"
- ```
diff --git a/artifacts/artifacts.go b/artifacts/artifacts.go
index f77dd02..eb174aa 100644
--- a/artifacts/artifacts.go
+++ b/artifacts/artifacts.go
@@ -9,8 +9,8 @@
"strings"
"cloud.google.com/go/storage"
- "fuchsia.googlesource.com/tools/gcs"
"go.chromium.org/luci/auth"
+ "go.fuchsia.dev/tools/gcs"
)
// Client provides access to the artifacts produced by Fuchsia CI tasks.
diff --git a/botanist/boot.go b/botanist/boot.go
index d767783..ad5a898 100644
--- a/botanist/boot.go
+++ b/botanist/boot.go
@@ -16,10 +16,10 @@
"sort"
"time"
- "fuchsia.googlesource.com/tools/build"
- "fuchsia.googlesource.com/tools/netboot"
- "fuchsia.googlesource.com/tools/retry"
- "fuchsia.googlesource.com/tools/tftp"
+ "go.fuchsia.dev/tools/build"
+ "go.fuchsia.dev/tools/netboot"
+ "go.fuchsia.dev/tools/retry"
+ "go.fuchsia.dev/tools/tftp"
"golang.org/x/crypto/ssh"
)
@@ -62,7 +62,7 @@
// Maps netsvc name to the index at which the corresponding file should be transferred if
// present. The indices correspond to the ordering given in
-// https://fuchsia.googlesource.com/zircon/+/master/system/host/bootserver/bootserver.c
+// https://go.fuchsia.dev/zircon/+/master/system/host/bootserver/bootserver.c
var transferOrder = map[string]int{
cmdlineNetsvcName: 1,
fvmNetsvcName: 2,
diff --git a/botanist/fileutil.go b/botanist/fileutil.go
index f492e43..77d9011 100644
--- a/botanist/fileutil.go
+++ b/botanist/fileutil.go
@@ -9,7 +9,7 @@
"fmt"
"net"
- "fuchsia.googlesource.com/tools/tftp"
+ "go.fuchsia.dev/tools/tftp"
)
// FetchAndArchiveFile fetches a remote file via TFTP from a given node, and
diff --git a/botanist/ip.go b/botanist/ip.go
index dbd3c4b..bf01395 100644
--- a/botanist/ip.go
+++ b/botanist/ip.go
@@ -10,9 +10,9 @@
"net"
"time"
- "fuchsia.googlesource.com/tools/logger"
- "fuchsia.googlesource.com/tools/mdns"
- "fuchsia.googlesource.com/tools/retry"
+ "go.fuchsia.dev/tools/logger"
+ "go.fuchsia.dev/tools/mdns"
+ "go.fuchsia.dev/tools/retry"
)
// Interval at which ResolveIP will wait for a response to a question packet.
diff --git a/botanist/power/amt/amt.go b/botanist/power/amt/amt.go
index 2146cbc..016fe2f 100644
--- a/botanist/power/amt/amt.go
+++ b/botanist/power/amt/amt.go
@@ -11,8 +11,8 @@
"net/url"
"strings"
- "fuchsia.googlesource.com/tools/digest"
"github.com/google/uuid"
+ "go.fuchsia.dev/tools/digest"
)
const (
diff --git a/botanist/power/power.go b/botanist/power/power.go
index dc35b0e..2f2fc89 100644
--- a/botanist/power/power.go
+++ b/botanist/power/power.go
@@ -8,10 +8,10 @@
"context"
"io"
- "fuchsia.googlesource.com/tools/botanist/power/amt"
- "fuchsia.googlesource.com/tools/botanist/power/wol"
- "fuchsia.googlesource.com/tools/logger"
- "fuchsia.googlesource.com/tools/sshutil"
+ "go.fuchsia.dev/tools/botanist/power/amt"
+ "go.fuchsia.dev/tools/botanist/power/wol"
+ "go.fuchsia.dev/tools/logger"
+ "go.fuchsia.dev/tools/sshutil"
"golang.org/x/crypto/ssh"
)
diff --git a/botanist/syslog.go b/botanist/syslog.go
index d286686..482bc1d 100644
--- a/botanist/syslog.go
+++ b/botanist/syslog.go
@@ -10,7 +10,7 @@
"golang.org/x/crypto/ssh"
- "fuchsia.googlesource.com/tools/runner"
+ "go.fuchsia.dev/tools/runner"
)
// The program on fuchsia used to stream system logs through a shell, not to be confused
diff --git a/botanist/target/device.go b/botanist/target/device.go
index 6c14c9b..fd55814 100644
--- a/botanist/target/device.go
+++ b/botanist/target/device.go
@@ -14,13 +14,13 @@
"net"
"time"
- "fuchsia.googlesource.com/tools/botanist"
- "fuchsia.googlesource.com/tools/botanist/power"
- "fuchsia.googlesource.com/tools/build"
- "fuchsia.googlesource.com/tools/logger"
- "fuchsia.googlesource.com/tools/netboot"
- "fuchsia.googlesource.com/tools/netutil"
- "fuchsia.googlesource.com/tools/serial"
+ "go.fuchsia.dev/tools/botanist"
+ "go.fuchsia.dev/tools/botanist/power"
+ "go.fuchsia.dev/tools/build"
+ "go.fuchsia.dev/tools/logger"
+ "go.fuchsia.dev/tools/netboot"
+ "go.fuchsia.dev/tools/netutil"
+ "go.fuchsia.dev/tools/serial"
"golang.org/x/crypto/ssh"
)
diff --git a/botanist/target/qemu.go b/botanist/target/qemu.go
index a9faf9b..f4ddaad 100644
--- a/botanist/target/qemu.go
+++ b/botanist/target/qemu.go
@@ -15,8 +15,8 @@
"os/exec"
"path/filepath"
- "fuchsia.googlesource.com/tools/build"
- "fuchsia.googlesource.com/tools/qemu"
+ "go.fuchsia.dev/tools/build"
+ "go.fuchsia.dev/tools/qemu"
)
const (
diff --git a/breakpad/generator/generator.go b/breakpad/generator/generator.go
index a28dcd5..f3705d4 100644
--- a/breakpad/generator/generator.go
+++ b/breakpad/generator/generator.go
@@ -14,8 +14,8 @@
"path/filepath"
"sync"
- "fuchsia.googlesource.com/tools/breakpad"
- "fuchsia.googlesource.com/tools/elflib"
+ "go.fuchsia.dev/tools/breakpad"
+ "go.fuchsia.dev/tools/elflib"
)
// The default module name for modules that don't have a soname, e.g., executables and
diff --git a/cmd/artifacts/common.go b/cmd/artifacts/common.go
index 1366b1a..4ff9e54 100644
--- a/cmd/artifacts/common.go
+++ b/cmd/artifacts/common.go
@@ -9,7 +9,7 @@
"fmt"
"strconv"
- "fuchsia.googlesource.com/tools/buildbucket"
+ "go.fuchsia.dev/tools/buildbucket"
"google.golang.org/genproto/protobuf/field_mask"
"google.golang.org/grpc"
diff --git a/cmd/artifacts/copy.go b/cmd/artifacts/copy.go
index 5fcb1ce..6e178ff 100644
--- a/cmd/artifacts/copy.go
+++ b/cmd/artifacts/copy.go
@@ -12,11 +12,11 @@
"log"
"os"
- "fuchsia.googlesource.com/tools/artifacts"
- "fuchsia.googlesource.com/tools/buildbucket"
"github.com/google/subcommands"
"go.chromium.org/luci/auth/client/authcli"
"go.chromium.org/luci/hardcoded/chromeinfra"
+ "go.fuchsia.dev/tools/artifacts"
+ "go.fuchsia.dev/tools/buildbucket"
)
type CopyCommand struct {
diff --git a/cmd/artifacts/list.go b/cmd/artifacts/list.go
index b4692a8..4a30102 100644
--- a/cmd/artifacts/list.go
+++ b/cmd/artifacts/list.go
@@ -10,11 +10,11 @@
"fmt"
"log"
- "fuchsia.googlesource.com/tools/artifacts"
- "fuchsia.googlesource.com/tools/buildbucket"
"github.com/google/subcommands"
"go.chromium.org/luci/auth/client/authcli"
"go.chromium.org/luci/hardcoded/chromeinfra"
+ "go.fuchsia.dev/tools/artifacts"
+ "go.fuchsia.dev/tools/buildbucket"
)
type ListCommand struct {
diff --git a/cmd/artifacts/storetestoutputs.go b/cmd/artifacts/storetestoutputs.go
index b9aec9f..4a25814 100644
--- a/cmd/artifacts/storetestoutputs.go
+++ b/cmd/artifacts/storetestoutputs.go
@@ -15,11 +15,11 @@
"os"
"sync"
- "fuchsia.googlesource.com/tools/artifacts"
"github.com/google/subcommands"
"go.chromium.org/luci/auth"
"go.chromium.org/luci/auth/client/authcli"
"go.chromium.org/luci/hardcoded/chromeinfra"
+ "go.fuchsia.dev/tools/artifacts"
)
const (
diff --git a/cmd/bloatalyzer/main.go b/cmd/bloatalyzer/main.go
index 8502c8d..a573c25 100644
--- a/cmd/bloatalyzer/main.go
+++ b/cmd/bloatalyzer/main.go
@@ -14,8 +14,8 @@
"runtime"
"strings"
- "fuchsia.googlesource.com/tools/bloaty"
- "fuchsia.googlesource.com/tools/logger"
+ "go.fuchsia.dev/tools/bloaty"
+ "go.fuchsia.dev/tools/logger"
)
type Format int
diff --git a/cmd/botanist/main.go b/cmd/botanist/main.go
index 906c04d..c2fc2d5 100644
--- a/cmd/botanist/main.go
+++ b/cmd/botanist/main.go
@@ -11,9 +11,9 @@
"github.com/google/subcommands"
- "fuchsia.googlesource.com/tools/color"
- "fuchsia.googlesource.com/tools/command"
- "fuchsia.googlesource.com/tools/logger"
+ "go.fuchsia.dev/tools/color"
+ "go.fuchsia.dev/tools/command"
+ "go.fuchsia.dev/tools/logger"
)
var (
diff --git a/cmd/botanist/qemu.go b/cmd/botanist/qemu.go
index c8b5590..aa54507 100644
--- a/cmd/botanist/qemu.go
+++ b/cmd/botanist/qemu.go
@@ -9,11 +9,11 @@
"flag"
"fmt"
- "fuchsia.googlesource.com/tools/botanist/target"
- "fuchsia.googlesource.com/tools/build"
- "fuchsia.googlesource.com/tools/logger"
- "fuchsia.googlesource.com/tools/secrets"
"github.com/google/subcommands"
+ "go.fuchsia.dev/tools/botanist/target"
+ "go.fuchsia.dev/tools/build"
+ "go.fuchsia.dev/tools/logger"
+ "go.fuchsia.dev/tools/secrets"
)
// QEMUBinPrefix is the prefix of the QEMU binary name, which is of the form
diff --git a/cmd/botanist/run.go b/cmd/botanist/run.go
index 60a425d..0778a93 100644
--- a/cmd/botanist/run.go
+++ b/cmd/botanist/run.go
@@ -14,13 +14,13 @@
"os"
"time"
- "fuchsia.googlesource.com/tools/botanist"
- "fuchsia.googlesource.com/tools/botanist/target"
- "fuchsia.googlesource.com/tools/build"
- "fuchsia.googlesource.com/tools/command"
- "fuchsia.googlesource.com/tools/logger"
- "fuchsia.googlesource.com/tools/runner"
- "fuchsia.googlesource.com/tools/sshutil"
+ "go.fuchsia.dev/tools/botanist"
+ "go.fuchsia.dev/tools/botanist/target"
+ "go.fuchsia.dev/tools/build"
+ "go.fuchsia.dev/tools/command"
+ "go.fuchsia.dev/tools/logger"
+ "go.fuchsia.dev/tools/runner"
+ "go.fuchsia.dev/tools/sshutil"
"github.com/google/subcommands"
)
@@ -200,8 +200,8 @@
}
opts := target.Options{
- Netboot: r.netboot,
- SSHKey: r.sshKey,
+ Netboot: r.netboot,
+ SSHKey: r.sshKey,
}
data, err := ioutil.ReadFile(r.configFile)
diff --git a/cmd/botanist/zedboot.go b/cmd/botanist/zedboot.go
index 0b765f8..9e26b65 100644
--- a/cmd/botanist/zedboot.go
+++ b/cmd/botanist/zedboot.go
@@ -17,14 +17,14 @@
"strings"
"time"
- "fuchsia.googlesource.com/tools/botanist/target"
- "fuchsia.googlesource.com/tools/build"
- "fuchsia.googlesource.com/tools/command"
- "fuchsia.googlesource.com/tools/logger"
- "fuchsia.googlesource.com/tools/netutil"
- "fuchsia.googlesource.com/tools/runner"
- "fuchsia.googlesource.com/tools/runtests"
- "fuchsia.googlesource.com/tools/tarutil"
+ "go.fuchsia.dev/tools/botanist/target"
+ "go.fuchsia.dev/tools/build"
+ "go.fuchsia.dev/tools/command"
+ "go.fuchsia.dev/tools/logger"
+ "go.fuchsia.dev/tools/netutil"
+ "go.fuchsia.dev/tools/runner"
+ "go.fuchsia.dev/tools/runtests"
+ "go.fuchsia.dev/tools/tarutil"
"github.com/google/subcommands"
)
diff --git a/cmd/buildidtool/main.go b/cmd/buildidtool/main.go
index d18bd16..d3991d9 100644
--- a/cmd/buildidtool/main.go
+++ b/cmd/buildidtool/main.go
@@ -14,9 +14,9 @@
"path/filepath"
"strings"
- "fuchsia.googlesource.com/tools/color"
- "fuchsia.googlesource.com/tools/elflib"
- "fuchsia.googlesource.com/tools/logger"
+ "go.fuchsia.dev/tools/color"
+ "go.fuchsia.dev/tools/elflib"
+ "go.fuchsia.dev/tools/logger"
)
type entry struct {
diff --git a/cmd/covargs/main.go b/cmd/covargs/main.go
index f1d936b..96064c8 100644
--- a/cmd/covargs/main.go
+++ b/cmd/covargs/main.go
@@ -15,8 +15,8 @@
"os/exec"
"path/filepath"
- "fuchsia.googlesource.com/tools/elflib"
- "fuchsia.googlesource.com/tools/symbolize"
+ "go.fuchsia.dev/tools/elflib"
+ "go.fuchsia.dev/tools/symbolize"
)
var (
diff --git a/cmd/dev_finder/common.go b/cmd/dev_finder/common.go
index e74d408..5d1678c 100644
--- a/cmd/dev_finder/common.go
+++ b/cmd/dev_finder/common.go
@@ -17,7 +17,7 @@
"strings"
"time"
- "fuchsia.googlesource.com/tools/mdns"
+ "go.fuchsia.dev/tools/mdns"
)
type mDNSResponse struct {
diff --git a/cmd/dev_finder/dev_finder_test.go b/cmd/dev_finder/dev_finder_test.go
index 48518fc..953dbb5 100644
--- a/cmd/dev_finder/dev_finder_test.go
+++ b/cmd/dev_finder/dev_finder_test.go
@@ -10,7 +10,7 @@
"github.com/google/go-cmp/cmp"
- "fuchsia.googlesource.com/tools/mdns"
+ "go.fuchsia.dev/tools/mdns"
)
// fakeMDNS is a fake implementation of MDNS for testing.
diff --git a/cmd/dev_finder/list.go b/cmd/dev_finder/list.go
index 81c9e26..ebcd798 100644
--- a/cmd/dev_finder/list.go
+++ b/cmd/dev_finder/list.go
@@ -13,7 +13,7 @@
"github.com/google/subcommands"
- "fuchsia.googlesource.com/tools/mdns"
+ "go.fuchsia.dev/tools/mdns"
)
const (
diff --git a/cmd/dev_finder/resolve.go b/cmd/dev_finder/resolve.go
index c5f8796..d37470e 100644
--- a/cmd/dev_finder/resolve.go
+++ b/cmd/dev_finder/resolve.go
@@ -13,7 +13,7 @@
"github.com/google/subcommands"
- "fuchsia.googlesource.com/tools/mdns"
+ "go.fuchsia.dev/tools/mdns"
)
const (
diff --git a/cmd/dump_breakpad_symbols/main.go b/cmd/dump_breakpad_symbols/main.go
index 4224eb5..d6b05aa 100755
--- a/cmd/dump_breakpad_symbols/main.go
+++ b/cmd/dump_breakpad_symbols/main.go
@@ -14,9 +14,9 @@
"log"
"os"
- "fuchsia.googlesource.com/tools/breakpad/generator"
- "fuchsia.googlesource.com/tools/elflib"
- "fuchsia.googlesource.com/tools/tarutil"
+ "go.fuchsia.dev/tools/breakpad/generator"
+ "go.fuchsia.dev/tools/elflib"
+ "go.fuchsia.dev/tools/tarutil"
)
const usage = `usage: dump_breakpad_symbols [options] paths...
diff --git a/cmd/gndoc/main.go b/cmd/gndoc/main.go
index 7d27d38..37add2e 100644
--- a/cmd/gndoc/main.go
+++ b/cmd/gndoc/main.go
@@ -13,7 +13,7 @@
"path/filepath"
"strings"
- "fuchsia.googlesource.com/tools/gndoc"
+ "go.fuchsia.dev/tools/gndoc"
)
type stringsFlag []string
diff --git a/cmd/health_checker/main.go b/cmd/health_checker/main.go
index 1ba690e..f021997 100644
--- a/cmd/health_checker/main.go
+++ b/cmd/health_checker/main.go
@@ -14,8 +14,8 @@
"os/exec"
"time"
- "fuchsia.googlesource.com/tools/botanist/target"
- "fuchsia.googlesource.com/tools/netboot"
+ "go.fuchsia.dev/tools/botanist/target"
+ "go.fuchsia.dev/tools/netboot"
)
const usage = `usage: health_checker [options]
@@ -94,7 +94,7 @@
// First set the flags ...
flag.StringVar(&configFile, "config", "/etc/botanist/config.json",
- "The path of the json config file that contains the nodename of the device. Format is defined in https://fuchsia.googlesource.com/tools/+/master/botanist/common.go")
+ "The path of the json config file that contains the nodename of the device. Format is defined in https://go.fuchsia.dev/tools/+/master/botanist/common.go")
flag.DurationVar(&timeout, "timeout", 10*time.Second,
"The timeout for checking each device. The format should be a value acceptable to time.ParseDuration.")
flag.BoolVar(&rebootIfUnhealthy, "reboot", false, "If true, attempt to reboot the device if unhealthy.")
diff --git a/cmd/lkgb/main.go b/cmd/lkgb/main.go
index c492b6f..38c4c64 100644
--- a/cmd/lkgb/main.go
+++ b/cmd/lkgb/main.go
@@ -20,9 +20,9 @@
"log"
"os"
- "fuchsia.googlesource.com/tools/buildbucket"
"go.chromium.org/luci/auth/client/authcli"
"go.chromium.org/luci/hardcoded/chromeinfra"
+ "go.fuchsia.dev/tools/buildbucket"
"google.golang.org/genproto/protobuf/field_mask"
buildbucketpb "go.chromium.org/luci/buildbucket/proto"
diff --git a/cmd/mdnstool/main.go b/cmd/mdnstool/main.go
index e6f5762..02244c3 100644
--- a/cmd/mdnstool/main.go
+++ b/cmd/mdnstool/main.go
@@ -13,7 +13,7 @@
"os"
"time"
- "fuchsia.googlesource.com/tools/mdns"
+ "go.fuchsia.dev/tools/mdns"
)
// TODO(jakehehrlich): This doesn't retry or anything, it just times out. It would
diff --git a/cmd/ninjatrace/ninjatrace.go b/cmd/ninjatrace/ninjatrace.go
index adff26f..54409c4 100644
--- a/cmd/ninjatrace/ninjatrace.go
+++ b/cmd/ninjatrace/ninjatrace.go
@@ -20,7 +20,7 @@
"path/filepath"
"runtime/pprof"
- "fuchsia.googlesource.com/tools/ninjalog"
+ "go.fuchsia.dev/tools/ninjalog"
)
var (
diff --git a/cmd/serial_mapper/main.go b/cmd/serial_mapper/main.go
index 1cd7531..1465c22 100644
--- a/cmd/serial_mapper/main.go
+++ b/cmd/serial_mapper/main.go
@@ -19,8 +19,8 @@
"regexp"
"time"
- "fuchsia.googlesource.com/tools/logger"
- "fuchsia.googlesource.com/tools/serial"
+ "go.fuchsia.dev/tools/logger"
+ "go.fuchsia.dev/tools/serial"
)
const (
diff --git a/cmd/seriallistener/main.go b/cmd/seriallistener/main.go
index a7c0a62..9f57056 100644
--- a/cmd/seriallistener/main.go
+++ b/cmd/seriallistener/main.go
@@ -31,9 +31,9 @@
"strings"
"time"
- "fuchsia.googlesource.com/tools/color"
- "fuchsia.googlesource.com/tools/logger"
- "fuchsia.googlesource.com/tools/retry"
+ "go.fuchsia.dev/tools/color"
+ "go.fuchsia.dev/tools/logger"
+ "go.fuchsia.dev/tools/retry"
)
var (
diff --git a/cmd/symbolize/main.go b/cmd/symbolize/main.go
index 8887c1e..2e13555 100644
--- a/cmd/symbolize/main.go
+++ b/cmd/symbolize/main.go
@@ -12,9 +12,9 @@
"io"
"os"
- "fuchsia.googlesource.com/tools/color"
- "fuchsia.googlesource.com/tools/logger"
- "fuchsia.googlesource.com/tools/symbolize"
+ "go.fuchsia.dev/tools/color"
+ "go.fuchsia.dev/tools/logger"
+ "go.fuchsia.dev/tools/symbolize"
)
type argList []string
diff --git a/cmd/testrunner/main.go b/cmd/testrunner/main.go
index a9ab054..f700077 100644
--- a/cmd/testrunner/main.go
+++ b/cmd/testrunner/main.go
@@ -15,9 +15,9 @@
"os"
"time"
- "fuchsia.googlesource.com/tools/runtests"
- "fuchsia.googlesource.com/tools/testrunner"
- "fuchsia.googlesource.com/tools/testsharder"
+ "go.fuchsia.dev/tools/runtests"
+ "go.fuchsia.dev/tools/testrunner"
+ "go.fuchsia.dev/tools/testsharder"
)
const (
diff --git a/cmd/testrunner/output.go b/cmd/testrunner/output.go
index cbeb1ac..71fac0e 100644
--- a/cmd/testrunner/output.go
+++ b/cmd/testrunner/output.go
@@ -10,9 +10,9 @@
"io"
"os"
- "fuchsia.googlesource.com/tools/cmd/testrunner/outputs"
- "fuchsia.googlesource.com/tools/runtests"
- "fuchsia.googlesource.com/tools/testrunner"
+ "go.fuchsia.dev/tools/cmd/testrunner/outputs"
+ "go.fuchsia.dev/tools/runtests"
+ "go.fuchsia.dev/tools/testrunner"
)
// Output manages the test runner's output drivers. Upon completion, if tar output is
diff --git a/cmd/testrunner/outputs/summary.go b/cmd/testrunner/outputs/summary.go
index 4648120..3ba3194 100644
--- a/cmd/testrunner/outputs/summary.go
+++ b/cmd/testrunner/outputs/summary.go
@@ -8,8 +8,8 @@
"path"
"strings"
- "fuchsia.googlesource.com/tools/runtests"
- "fuchsia.googlesource.com/tools/testrunner"
+ "go.fuchsia.dev/tools/runtests"
+ "go.fuchsia.dev/tools/testrunner"
)
// SummaryOutput records test results in a TestSummary object.
diff --git a/cmd/testrunner/outputs/summary_test.go b/cmd/testrunner/outputs/summary_test.go
index 75ec6cf..f3c6ed3 100644
--- a/cmd/testrunner/outputs/summary_test.go
+++ b/cmd/testrunner/outputs/summary_test.go
@@ -8,9 +8,9 @@
"reflect"
"testing"
- "fuchsia.googlesource.com/tools/cmd/testrunner/outputs"
- "fuchsia.googlesource.com/tools/runtests"
- "fuchsia.googlesource.com/tools/testrunner"
+ "go.fuchsia.dev/tools/cmd/testrunner/outputs"
+ "go.fuchsia.dev/tools/runtests"
+ "go.fuchsia.dev/tools/testrunner"
)
func TestSummaryOutput(t *testing.T) {
diff --git a/cmd/testrunner/outputs/tap.go b/cmd/testrunner/outputs/tap.go
index 7f4114e..08e3f4a 100644
--- a/cmd/testrunner/outputs/tap.go
+++ b/cmd/testrunner/outputs/tap.go
@@ -8,9 +8,9 @@
"fmt"
"io"
- "fuchsia.googlesource.com/tools/runtests"
- "fuchsia.googlesource.com/tools/tap"
- "fuchsia.googlesource.com/tools/testrunner"
+ "go.fuchsia.dev/tools/runtests"
+ "go.fuchsia.dev/tools/tap"
+ "go.fuchsia.dev/tools/testrunner"
)
// TAPOutput records test results as a TAP output stream.
diff --git a/cmd/testrunner/outputs/tap_test.go b/cmd/testrunner/outputs/tap_test.go
index 8ea616f..e01459f 100644
--- a/cmd/testrunner/outputs/tap_test.go
+++ b/cmd/testrunner/outputs/tap_test.go
@@ -7,26 +7,26 @@
import (
"bytes"
"strings"
- "time"
"testing"
+ "time"
- "fuchsia.googlesource.com/tools/cmd/testrunner/outputs"
- "fuchsia.googlesource.com/tools/runtests"
- "fuchsia.googlesource.com/tools/testrunner"
+ "go.fuchsia.dev/tools/cmd/testrunner/outputs"
+ "go.fuchsia.dev/tools/runtests"
+ "go.fuchsia.dev/tools/testrunner"
)
func TestTapOutput(t *testing.T) {
s := time.Unix(0, 0)
inputs := []testrunner.TestResult{{
- Name: "test_a",
- Result: runtests.TestSuccess,
+ Name: "test_a",
+ Result: runtests.TestSuccess,
StartTime: s,
- EndTime: s.Add(time.Second * 2),
+ EndTime: s.Add(time.Second * 2),
}, {
- Name: "test_b",
- Result: runtests.TestFailure,
+ Name: "test_b",
+ Result: runtests.TestFailure,
StartTime: s.Add(time.Minute * 1),
- EndTime: s.Add(time.Minute * 2),
+ EndTime: s.Add(time.Minute * 2),
}}
var buf bytes.Buffer
diff --git a/cmd/testrunner/outputs/tar.go b/cmd/testrunner/outputs/tar.go
index 194168e..4535ae4 100644
--- a/cmd/testrunner/outputs/tar.go
+++ b/cmd/testrunner/outputs/tar.go
@@ -10,9 +10,9 @@
"io"
"path"
- "fuchsia.googlesource.com/tools/tarutil"
- "fuchsia.googlesource.com/tools/runtests"
- "fuchsia.googlesource.com/tools/testrunner"
+ "go.fuchsia.dev/tools/runtests"
+ "go.fuchsia.dev/tools/tarutil"
+ "go.fuchsia.dev/tools/testrunner"
)
// TarOutput records test stdout and stderr streams in a TAR archive.
diff --git a/cmd/testrunner/outputs/tar_test.go b/cmd/testrunner/outputs/tar_test.go
index 668424c..c8a9a1b 100644
--- a/cmd/testrunner/outputs/tar_test.go
+++ b/cmd/testrunner/outputs/tar_test.go
@@ -10,9 +10,9 @@
"io"
"testing"
- "fuchsia.googlesource.com/tools/cmd/testrunner/outputs"
- "fuchsia.googlesource.com/tools/runtests"
- "fuchsia.googlesource.com/tools/testrunner"
+ "go.fuchsia.dev/tools/cmd/testrunner/outputs"
+ "go.fuchsia.dev/tools/runtests"
+ "go.fuchsia.dev/tools/testrunner"
)
func TestTarOutput(t *testing.T) {
diff --git a/cmd/testrunner/tester.go b/cmd/testrunner/tester.go
index ec8748a..95024ca 100644
--- a/cmd/testrunner/tester.go
+++ b/cmd/testrunner/tester.go
@@ -10,10 +10,10 @@
"io"
"path"
- "fuchsia.googlesource.com/tools/logger"
- "fuchsia.googlesource.com/tools/runner"
- "fuchsia.googlesource.com/tools/sshutil"
- "fuchsia.googlesource.com/tools/testsharder"
+ "go.fuchsia.dev/tools/logger"
+ "go.fuchsia.dev/tools/runner"
+ "go.fuchsia.dev/tools/sshutil"
+ "go.fuchsia.dev/tools/testsharder"
"golang.org/x/crypto/ssh"
)
diff --git a/cmd/testrunner/tester_test.go b/cmd/testrunner/tester_test.go
index abe295c..19cdb27 100644
--- a/cmd/testrunner/tester_test.go
+++ b/cmd/testrunner/tester_test.go
@@ -13,8 +13,8 @@
"strings"
"testing"
- "fuchsia.googlesource.com/tools/sshutil"
- "fuchsia.googlesource.com/tools/testsharder"
+ "go.fuchsia.dev/tools/sshutil"
+ "go.fuchsia.dev/tools/testsharder"
"golang.org/x/crypto/ssh"
)
diff --git a/cmd/testsharder/main.go b/cmd/testsharder/main.go
index adbec03..81a7cda 100644
--- a/cmd/testsharder/main.go
+++ b/cmd/testsharder/main.go
@@ -10,8 +10,8 @@
"log"
"os"
- "fuchsia.googlesource.com/tools/command"
- "fuchsia.googlesource.com/tools/testsharder"
+ "go.fuchsia.dev/tools/command"
+ "go.fuchsia.dev/tools/testsharder"
)
var (
@@ -39,7 +39,7 @@
Shards tests produced by a build.
For more information on the modes in which the testsharder may be run, see
-See https://fuchsia.googlesource.com/tools/+/master/testsharder/mode.go.
+See https://go.fuchsia.dev/tools/+/master/testsharder/mode.go.
`)
}
diff --git a/cmd/upload_debug_symbols/gcs_bucket.go b/cmd/upload_debug_symbols/gcs_bucket.go
index 96b22fe..319059a 100644
--- a/cmd/upload_debug_symbols/gcs_bucket.go
+++ b/cmd/upload_debug_symbols/gcs_bucket.go
@@ -11,8 +11,8 @@
"strings"
"cloud.google.com/go/storage"
- "fuchsia.googlesource.com/tools/gcs"
"go.chromium.org/luci/auth"
+ "go.fuchsia.dev/tools/gcs"
)
// GCSBucket provides access to a cloud storage bucket.
diff --git a/cmd/upload_debug_symbols/job.go b/cmd/upload_debug_symbols/job.go
index 8f2555d..5ef9783 100644
--- a/cmd/upload_debug_symbols/job.go
+++ b/cmd/upload_debug_symbols/job.go
@@ -9,7 +9,7 @@
"fmt"
"os"
- "fuchsia.googlesource.com/tools/elflib"
+ "go.fuchsia.dev/tools/elflib"
)
// job is a description of some BinaryFileRef to upload to GCS. The object's name in GCS
diff --git a/cmd/upload_debug_symbols/main.go b/cmd/upload_debug_symbols/main.go
index 0d350c7..c4ccc11 100644
--- a/cmd/upload_debug_symbols/main.go
+++ b/cmd/upload_debug_symbols/main.go
@@ -20,9 +20,9 @@
"sync"
"cloud.google.com/go/storage"
- "fuchsia.googlesource.com/tools/elflib"
"go.chromium.org/luci/auth/client/authcli"
"go.chromium.org/luci/hardcoded/chromeinfra"
+ "go.fuchsia.dev/tools/elflib"
)
const (
diff --git a/color/color.go b/color/color.go
index 168bc7e..31f0249 100644
--- a/color/color.go
+++ b/color/color.go
@@ -8,7 +8,7 @@
"fmt"
"os"
- "fuchsia.googlesource.com/tools/isatty"
+ "go.fuchsia.dev/tools/isatty"
)
type Colorfn func(format string, a ...interface{}) string
diff --git a/command/cancelable_test.go b/command/cancelable_test.go
index 2008d18..5a155c3 100644
--- a/command/cancelable_test.go
+++ b/command/cancelable_test.go
@@ -10,8 +10,8 @@
"testing"
"time"
- "fuchsia.googlesource.com/tools/command"
"github.com/google/subcommands"
+ "go.fuchsia.dev/tools/command"
)
func TestCancelableExecute(t *testing.T) {
diff --git a/go.mod b/go.mod
index c84c6b0..cfb8a31 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module fuchsia.googlesource.com/tools
+module go.fuchsia.dev/tools
require (
cloud.google.com/go v0.40.0
diff --git a/logger/logger.go b/logger/logger.go
index 8dfb6e1..03cd7df 100644
--- a/logger/logger.go
+++ b/logger/logger.go
@@ -11,7 +11,7 @@
goLog "log"
"os"
- "fuchsia.googlesource.com/tools/color"
+ "go.fuchsia.dev/tools/color"
)
type globalLoggerKeyType struct{}
diff --git a/logger/logger_test.go b/logger/logger_test.go
index daad642..f2e87fd 100644
--- a/logger/logger_test.go
+++ b/logger/logger_test.go
@@ -6,7 +6,7 @@
"os"
"testing"
- "fuchsia.googlesource.com/tools/color"
+ "go.fuchsia.dev/tools/color"
)
func TestWithContext(t *testing.T) {
diff --git a/manifest b/manifest
index f90c298..32733a1 100644
--- a/manifest
+++ b/manifest
@@ -2,7 +2,7 @@
<manifest>
<projects>
<project name="tools"
- path="go/src/fuchsia.googlesource.com/tools"
+ path="go/src/go.fuchsia.dev/tools"
remote="https://fuchsia.googlesource.com/tools"
gerrithost="https://fuchsia-review.googlesource.com"/>
</projects>
diff --git a/netutil/netutil.go b/netutil/netutil.go
index 6394cee..2d60996 100644
--- a/netutil/netutil.go
+++ b/netutil/netutil.go
@@ -10,8 +10,8 @@
"net"
"time"
- "fuchsia.googlesource.com/tools/netboot"
- "fuchsia.googlesource.com/tools/retry"
+ "go.fuchsia.dev/tools/netboot"
+ "go.fuchsia.dev/tools/retry"
)
// GetNodeAddress returns the UDP address corresponding to a given node, specifically
diff --git a/resultstore/upload_client_test.go b/resultstore/upload_client_test.go
index 8e831c5..aad692a 100644
--- a/resultstore/upload_client_test.go
+++ b/resultstore/upload_client_test.go
@@ -10,8 +10,8 @@
"testing"
"time"
- "fuchsia.googlesource.com/tools/resultstore/mocks"
"github.com/golang/mock/gomock"
+ "go.fuchsia.dev/tools/resultstore/mocks"
api "google.golang.org/genproto/googleapis/devtools/resultstore/v2"
"google.golang.org/genproto/protobuf/field_mask"
)
diff --git a/runner/subprocess_runner.go b/runner/subprocess_runner.go
index e4417e7..ced7cd1 100644
--- a/runner/subprocess_runner.go
+++ b/runner/subprocess_runner.go
@@ -10,7 +10,7 @@
"os/exec"
"syscall"
- "fuchsia.googlesource.com/tools/logger"
+ "go.fuchsia.dev/tools/logger"
)
// SubprocessRunner is a Runner that runs commands as local subprocesses.
diff --git a/runtests/poll.go b/runtests/poll.go
index f251374..af9e534 100644
--- a/runtests/poll.go
+++ b/runtests/poll.go
@@ -16,11 +16,11 @@
"path/filepath"
"time"
- "fuchsia.googlesource.com/tools/botanist"
- "fuchsia.googlesource.com/tools/logger"
- "fuchsia.googlesource.com/tools/retry"
- "fuchsia.googlesource.com/tools/tarutil"
- "fuchsia.googlesource.com/tools/tftp"
+ "go.fuchsia.dev/tools/botanist"
+ "go.fuchsia.dev/tools/logger"
+ "go.fuchsia.dev/tools/retry"
+ "go.fuchsia.dev/tools/tarutil"
+ "go.fuchsia.dev/tools/tftp"
)
// PollForSummary polls a node waiting for a summary.json to be written; this relies on
diff --git a/sshutil/sshutil.go b/sshutil/sshutil.go
index 271c923..bbbbc7f 100644
--- a/sshutil/sshutil.go
+++ b/sshutil/sshutil.go
@@ -14,8 +14,8 @@
"net"
"time"
- "fuchsia.googlesource.com/tools/netutil"
- "fuchsia.googlesource.com/tools/retry"
+ "go.fuchsia.dev/tools/netutil"
+ "go.fuchsia.dev/tools/retry"
"golang.org/x/crypto/ssh"
)
diff --git a/symbolize/demuxer.go b/symbolize/demuxer.go
index b4dfd4e..73625da 100644
--- a/symbolize/demuxer.go
+++ b/symbolize/demuxer.go
@@ -8,7 +8,7 @@
"context"
"fmt"
- "fuchsia.googlesource.com/tools/logger"
+ "go.fuchsia.dev/tools/logger"
)
// TODO (jakehehrlich): Make as much of this private as possible.
diff --git a/symbolize/filter.go b/symbolize/filter.go
index d73a51b..b1f1cf5 100644
--- a/symbolize/filter.go
+++ b/symbolize/filter.go
@@ -8,7 +8,7 @@
"context"
"fmt"
- "fuchsia.googlesource.com/tools/logger"
+ "go.fuchsia.dev/tools/logger"
)
// TODO (jakehehrlich): LineSource is now a part of the public interface. This is needed to
diff --git a/symbolize/mock_elf.go b/symbolize/mock_elf.go
index afa72d9..9b8c9e2 100644
--- a/symbolize/mock_elf.go
+++ b/symbolize/mock_elf.go
@@ -7,7 +7,7 @@
import (
"fmt"
- "fuchsia.googlesource.com/tools/elflib"
+ "go.fuchsia.dev/tools/elflib"
)
type mockSource []elflib.BinaryFileRef
diff --git a/symbolize/repo.go b/symbolize/repo.go
index 94efe25..6a38b1c 100644
--- a/symbolize/repo.go
+++ b/symbolize/repo.go
@@ -10,7 +10,7 @@
"path/filepath"
"sync"
- "fuchsia.googlesource.com/tools/elflib"
+ "go.fuchsia.dev/tools/elflib"
)
// idsSource is a BinaryFileSource parsed from ids.txt
diff --git a/symbolize/repo_test.go b/symbolize/repo_test.go
index a2b1836..8bf9a79 100644
--- a/symbolize/repo_test.go
+++ b/symbolize/repo_test.go
@@ -10,7 +10,7 @@
"os"
"testing"
- "fuchsia.googlesource.com/tools/elflib"
+ "go.fuchsia.dev/tools/elflib"
)
func hexEqual(a []byte, b string) bool {
diff --git a/symbolize/symbolizer.go b/symbolize/symbolizer.go
index 911a1e2..ab5e2d7 100644
--- a/symbolize/symbolizer.go
+++ b/symbolize/symbolizer.go
@@ -13,8 +13,8 @@
"strconv"
"strings"
- "fuchsia.googlesource.com/tools/cache"
- "fuchsia.googlesource.com/tools/elflib"
+ "go.fuchsia.dev/tools/cache"
+ "go.fuchsia.dev/tools/elflib"
)
// Symbolizer is an interface to an object that maps addresses in a bianry to source locations
diff --git a/tap/parser.go b/tap/parser.go
index 82e5feb..043de40 100644
--- a/tap/parser.go
+++ b/tap/parser.go
@@ -11,7 +11,7 @@
"strconv"
"strings"
- "fuchsia.googlesource.com/tools/tap/tokenizer"
+ "go.fuchsia.dev/tools/tap/tokenizer"
)
// Parse parses the given input string into a Document. The input is allowed to contain
diff --git a/tap/producer_test.go b/tap/producer_test.go
index e5a5632..8ea3137 100644
--- a/tap/producer_test.go
+++ b/tap/producer_test.go
@@ -8,7 +8,7 @@
"os"
"time"
- "fuchsia.googlesource.com/tools/tap"
+ "go.fuchsia.dev/tools/tap"
"gopkg.in/yaml.v2"
)
diff --git a/tarutil/tar_test.go b/tarutil/tar_test.go
index eb66d30..7c828f4 100644
--- a/tarutil/tar_test.go
+++ b/tarutil/tar_test.go
@@ -12,7 +12,7 @@
"reflect"
"testing"
- "fuchsia.googlesource.com/tools/tarutil"
+ "go.fuchsia.dev/tools/tarutil"
)
func TestTarBuffer(t *testing.T) {
diff --git a/testrunner/result.go b/testrunner/result.go
index 66a7acf..efb1891 100644
--- a/testrunner/result.go
+++ b/testrunner/result.go
@@ -7,7 +7,7 @@
import (
"time"
- "fuchsia.googlesource.com/tools/runtests"
+ "go.fuchsia.dev/tools/runtests"
)
// TestResult is the result of executing a test.
diff --git a/testsharder/environment.go b/testsharder/environment.go
index 83851e5..6d3df53 100644
--- a/testsharder/environment.go
+++ b/testsharder/environment.go
@@ -10,7 +10,7 @@
"path/filepath"
"strings"
- "fuchsia.googlesource.com/tools/build"
+ "go.fuchsia.dev/tools/build"
)
// Environment describes the full environment a test requires.
diff --git a/testsharder/test_spec.go b/testsharder/test_spec.go
index 087ae10..af133b1 100644
--- a/testsharder/test_spec.go
+++ b/testsharder/test_spec.go
@@ -11,7 +11,7 @@
"os"
"path/filepath"
- "fuchsia.googlesource.com/tools/build"
+ "go.fuchsia.dev/tools/build"
)
// OS is an operating system that a test may run in.
diff --git a/testsharder/test_spec_test.go b/testsharder/test_spec_test.go
index f62a7f6..98b16c3 100644
--- a/testsharder/test_spec_test.go
+++ b/testsharder/test_spec_test.go
@@ -13,7 +13,7 @@
"sort"
"testing"
- "fuchsia.googlesource.com/tools/build"
+ "go.fuchsia.dev/tools/build"
)
var qemuPlatform = DimensionSet{