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(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
srcs = ["main.go"],
|
srcs = ["main.go"],
|
||||||
importpath = "github.com/motiejus/code/undocker",
|
importpath = "git.sr.ht/~motiejus/code/undocker",
|
||||||
visibility = ["//visibility:private"],
|
visibility = ["//visibility:private"],
|
||||||
deps = [
|
deps = [
|
||||||
"//src/undocker/internal/cmdlxcconfig:go_default_library",
|
"//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(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
srcs = ["cmdlxcconfig.go"],
|
srcs = ["cmdlxcconfig.go"],
|
||||||
importpath = "github.com/motiejus/code/undocker/internal/cmdlxcconfig",
|
importpath = "git.sr.ht/~motiejus/code/undocker/internal/cmdlxcconfig",
|
||||||
visibility = ["//src/undocker:__subpackages__"],
|
visibility = ["//src/undocker:__subpackages__"],
|
||||||
deps = [
|
deps = [
|
||||||
"//src/undocker/lxcconfig:go_default_library",
|
"//src/undocker/lxcconfig:go_default_library",
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
goflags "github.com/jessevdk/go-flags"
|
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"
|
const _description = "Create an LXC-compatible container configuration"
|
||||||
|
@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|||||||
go_library(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
srcs = ["cmdmanpage.go"],
|
srcs = ["cmdmanpage.go"],
|
||||||
importpath = "github.com/motiejus/code/undocker/internal/cmdmanpage",
|
importpath = "git.sr.ht/~motiejus/code/undocker/internal/cmdmanpage",
|
||||||
visibility = ["//src/undocker:__subpackages__"],
|
visibility = ["//src/undocker:__subpackages__"],
|
||||||
deps = ["@com_github_jessevdk_go_flags//:go_default_library"],
|
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(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
srcs = ["cmdrootfs.go"],
|
srcs = ["cmdrootfs.go"],
|
||||||
importpath = "github.com/motiejus/code/undocker/internal/cmdrootfs",
|
importpath = "git.sr.ht/~motiejus/code/undocker/internal/cmdrootfs",
|
||||||
visibility = ["//src/undocker:__subpackages__"],
|
visibility = ["//src/undocker:__subpackages__"],
|
||||||
deps = [
|
deps = [
|
||||||
"//src/undocker/rootfs:go_default_library",
|
"//src/undocker/rootfs:go_default_library",
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
goflags "github.com/jessevdk/go-flags"
|
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"
|
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(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
srcs = ["tartest.go"],
|
srcs = ["tartest.go"],
|
||||||
importpath = "github.com/motiejus/code/undocker/internal/tartest",
|
importpath = "git.sr.ht/~motiejus/code/undocker/internal/tartest",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = ["@com_github_stretchr_testify//require:go_default_library"],
|
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(
|
go_library(
|
||||||
name = "go_default_library",
|
name = "go_default_library",
|
||||||
srcs = ["lxcconfig.go"],
|
srcs = ["lxcconfig.go"],
|
||||||
importpath = "github.com/motiejus/code/undocker/lxcconfig",
|
importpath = "git.sr.ht/~motiejus/code/undocker/lxcconfig",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"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/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
6
main.go
6
main.go
@ -4,9 +4,9 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
goflags "github.com/jessevdk/go-flags"
|
goflags "github.com/jessevdk/go-flags"
|
||||||
"github.com/motiejus/code/undocker/internal/cmdlxcconfig"
|
"git.sr.ht/~motiejus/code/undocker/internal/cmdlxcconfig"
|
||||||
"github.com/motiejus/code/undocker/internal/cmdmanpage"
|
"git.sr.ht/~motiejus/code/undocker/internal/cmdmanpage"
|
||||||
"github.com/motiejus/code/undocker/internal/cmdrootfs"
|
"git.sr.ht/~motiejus/code/undocker/internal/cmdrootfs"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -7,7 +7,7 @@ go_library(
|
|||||||
"rootfs.go",
|
"rootfs.go",
|
||||||
"tree.go",
|
"tree.go",
|
||||||
],
|
],
|
||||||
importpath = "github.com/motiejus/code/undocker/rootfs",
|
importpath = "git.sr.ht/~motiejus/code/undocker/rootfs",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"testing"
|
"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/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user