move to sr.ht
This commit is contained in:
parent
e188935655
commit
a688450fb8
2
BUILD
2
BUILD
@ -5,7 +5,7 @@ load("@io_bazel_rules_docker//container:container.bzl", "container_bundle")
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = ["main.go"],
|
||||
importpath = "github.com/motiejus/code/undocker",
|
||||
importpath = "git.sr.ht/~motiejus/code/undocker",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//src/undocker/internal/cmdlxcconfig:go_default_library",
|
||||
|
@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = ["cmdlxcconfig.go"],
|
||||
importpath = "github.com/motiejus/code/undocker/internal/cmdlxcconfig",
|
||||
importpath = "git.sr.ht/~motiejus/code/undocker/internal/cmdlxcconfig",
|
||||
visibility = ["//src/undocker:__subpackages__"],
|
||||
deps = [
|
||||
"//src/undocker/lxcconfig:go_default_library",
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"os"
|
||||
|
||||
goflags "github.com/jessevdk/go-flags"
|
||||
"github.com/motiejus/code/undocker/lxcconfig"
|
||||
"git.sr.ht/~motiejus/code/undocker/lxcconfig"
|
||||
)
|
||||
|
||||
const _description = "Create an LXC-compatible container configuration"
|
||||
|
@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = ["cmdmanpage.go"],
|
||||
importpath = "github.com/motiejus/code/undocker/internal/cmdmanpage",
|
||||
importpath = "git.sr.ht/~motiejus/code/undocker/internal/cmdmanpage",
|
||||
visibility = ["//src/undocker:__subpackages__"],
|
||||
deps = ["@com_github_jessevdk_go_flags//:go_default_library"],
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = ["cmdrootfs.go"],
|
||||
importpath = "github.com/motiejus/code/undocker/internal/cmdrootfs",
|
||||
importpath = "git.sr.ht/~motiejus/code/undocker/internal/cmdrootfs",
|
||||
visibility = ["//src/undocker:__subpackages__"],
|
||||
deps = [
|
||||
"//src/undocker/rootfs:go_default_library",
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"os"
|
||||
|
||||
goflags "github.com/jessevdk/go-flags"
|
||||
"github.com/motiejus/code/undocker/rootfs"
|
||||
"git.sr.ht/~motiejus/code/undocker/rootfs"
|
||||
)
|
||||
|
||||
const _description = "Flatten a docker container image to a tarball"
|
||||
|
@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = ["tartest.go"],
|
||||
importpath = "github.com/motiejus/code/undocker/internal/tartest",
|
||||
importpath = "git.sr.ht/~motiejus/code/undocker/internal/tartest",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = ["@com_github_stretchr_testify//require:go_default_library"],
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = ["lxcconfig.go"],
|
||||
importpath = "github.com/motiejus/code/undocker/lxcconfig",
|
||||
importpath = "git.sr.ht/~motiejus/code/undocker/lxcconfig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/motiejus/code/undocker/internal/tartest"
|
||||
"git.sr.ht/~motiejus/code/undocker/internal/tartest"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
6
main.go
6
main.go
@ -4,9 +4,9 @@ import (
|
||||
"os"
|
||||
|
||||
goflags "github.com/jessevdk/go-flags"
|
||||
"github.com/motiejus/code/undocker/internal/cmdlxcconfig"
|
||||
"github.com/motiejus/code/undocker/internal/cmdmanpage"
|
||||
"github.com/motiejus/code/undocker/internal/cmdrootfs"
|
||||
"git.sr.ht/~motiejus/code/undocker/internal/cmdlxcconfig"
|
||||
"git.sr.ht/~motiejus/code/undocker/internal/cmdmanpage"
|
||||
"git.sr.ht/~motiejus/code/undocker/internal/cmdrootfs"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -7,7 +7,7 @@ go_library(
|
||||
"rootfs.go",
|
||||
"tree.go",
|
||||
],
|
||||
importpath = "github.com/motiejus/code/undocker/rootfs",
|
||||
importpath = "git.sr.ht/~motiejus/code/undocker/rootfs",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"encoding/json"
|
||||
"testing"
|
||||
|
||||
"github.com/motiejus/code/undocker/internal/tartest"
|
||||
"git.sr.ht/~motiejus/code/undocker/internal/tartest"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user