From 144a8547bcb5003f9e2664e5fdbcb0b090142761 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sat, 2 Feb 2019 21:24:29 +0000 Subject: [PATCH] Move upstream to code.dumpstack.io --- README.md | 8 ++++---- debug.go | 5 +++-- gen.go | 3 ++- kernel.go | 2 +- main.go | 2 +- pew.go | 4 ++-- qemu/README.md | 10 +++++----- 7 files changed, 18 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index ff5732c..343a71e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![Build Status](https://travis-ci.org/jollheef/out-of-tree.svg?branch=master)](https://travis-ci.org/jollheef/out-of-tree) -[![Go Report Card](https://goreportcard.com/badge/github.com/jollheef/out-of-tree)](https://goreportcard.com/report/github.com/jollheef/out-of-tree) +[![Go Report Card](https://goreportcard.com/badge/code.dumpstack.io/tools/out-of-tree)](https://goreportcard.com/report/code.dumpstack.io/tools/out-of-tree) # [out-of-tree](https://out-of-tree.io) @@ -34,12 +34,12 @@ Also check out [docker post-installation steps](https://docs.docker.com/install/ ## Build from source - $ go get -u github.com/jollheef/out-of-tree + $ go get -u code.dumpstack.io/tools/out-of-tree $ out-of-tree bootstrap Then you can check it on kernel module example: - $ cd $GOPATH/src/github.com/jollheef/out-of-tree/examples/kernel-module + $ cd $GOPATH/src/code.dumpstack.io/tools/out-of-tree/examples/kernel-module $ out-of-tree kernel autogen # generate kernels based on .out-of-tree.toml $ out-of-tree pew @@ -83,6 +83,6 @@ Read [Qemu API](qemu/README.md). ### Generate images - $ cd $GOPATH/src/github.com/jollheef/out-of-tree/tools/qemu-debian-img/ + $ cd $GOPATH/src/code.dumpstack.io/tools/out-of-tree/tools/qemu-debian-img/ $ docker run --privileged -v $(pwd):/shared -e IMAGE=/shared/ubuntu1404.img -e RELEASE=trusty -t gen-ubuntu1804-image $ docker run --privileged -v $(pwd):/shared -e IMAGE=/shared/ubuntu1604.img -e RELEASE=xenial -t gen-ubuntu1804-image diff --git a/debug.go b/debug.go index 5cd35c7..42afd88 100644 --- a/debug.go +++ b/debug.go @@ -13,9 +13,10 @@ import ( "strings" "time" - "github.com/jollheef/out-of-tree/config" - qemu "github.com/jollheef/out-of-tree/qemu" "github.com/logrusorgru/aurora" + + "code.dumpstack.io/tools/out-of-tree/config" + "code.dumpstack.io/tools/out-of-tree/qemu" ) func firstSupported(kcfg config.KernelConfig, ka config.Artifact, diff --git a/gen.go b/gen.go index 6d687ae..54baddf 100644 --- a/gen.go +++ b/gen.go @@ -7,8 +7,9 @@ package main import ( "fmt" - "github.com/jollheef/out-of-tree/config" "github.com/naoina/toml" + + "code.dumpstack.io/tools/out-of-tree/config" ) func genConfig(at config.ArtifactType) (err error) { diff --git a/kernel.go b/kernel.go index 5e5a37f..df73f2e 100644 --- a/kernel.go +++ b/kernel.go @@ -16,7 +16,7 @@ import ( "strings" "time" - "github.com/jollheef/out-of-tree/config" + "code.dumpstack.io/tools/out-of-tree/config" "github.com/naoina/toml" ) diff --git a/main.go b/main.go index 896a971..61932ed 100644 --- a/main.go +++ b/main.go @@ -14,7 +14,7 @@ import ( kingpin "gopkg.in/alecthomas/kingpin.v2" - "github.com/jollheef/out-of-tree/config" + "code.dumpstack.io/tools/out-of-tree/config" ) func findFallback(kcfg config.KernelConfig, ki config.KernelInfo) (rootfs string) { diff --git a/pew.go b/pew.go index a701316..4817e45 100644 --- a/pew.go +++ b/pew.go @@ -20,8 +20,8 @@ import ( "github.com/otiai10/copy" "github.com/remeh/sizedwaitgroup" - "github.com/jollheef/out-of-tree/config" - qemu "github.com/jollheef/out-of-tree/qemu" + "code.dumpstack.io/tools/out-of-tree/config" + "code.dumpstack.io/tools/out-of-tree/qemu" ) var somethingFailed = false diff --git a/qemu/README.md b/qemu/README.md index 60c7587..ff53d32 100644 --- a/qemu/README.md +++ b/qemu/README.md @@ -9,7 +9,7 @@ Features: ## Installation - $ go get github.com/jollheef/out-of-tree/qemu + $ go get code.dumpstack.io/tools/out-of-tree/qemu ### Generate root image @@ -30,12 +30,12 @@ Note: qemu on macOS since v2.12 (24 April 2018) supports Hypervisor.framework. #### Generate image - $ cd $GOPATH/src/github.com/jollheef/out-of-tree/tools/qemu-debian-img + $ cd $GOPATH/src/code.dumpstack.io/tools/out-of-tree/tools/qemu-debian-img $ ./bootstrap.sh ### Fill configuration file - $ $EDITOR $GOPATH/src/github.com/jollheef/out-of-tree/qemu/test.config.go + $ $EDITOR $GOPATH/src/code.dumpstack.io/tools/out-of-tree/qemu/test.config.go ### Run tests @@ -43,7 +43,7 @@ Note: qemu on macOS since v2.12 (24 April 2018) supports Hypervisor.framework. ## Usage - $ go get github.com/jollheef/out-of-tree/qemu + $ go get code.dumpstack.io/tools/out-of-tree/qemu Minimal example: @@ -71,4 +71,4 @@ Minimal example: More information and list of all functions see at go documentation project, or just run locally: - $ godoc github.com/jollheef/out-of-tree/qemu + $ godoc code.dumpstack.io/tools/out-of-tree/qemu