move to sr.ht

This commit is contained in:
Motiejus Jakštys 2021-05-24 00:11:58 +03:00
parent e188935655
commit a688450fb8
12 changed files with 14 additions and 14 deletions

2
BUILD
View File

@ -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",

View File

@ -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",

View File

@ -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"

View File

@ -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"],
)

View File

@ -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",

View File

@ -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"

View File

@ -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"],
)

View File

@ -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"],
)

View File

@ -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"
)

View File

@ -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() {

View File

@ -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"],
)

View File

@ -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"
)