Update pkg references

This commit is contained in:
2022-04-21 22:27:20 +02:00
parent 835231cd42
commit 55de3ee25d
15 changed files with 24 additions and 24 deletions

View File

@@ -5,4 +5,4 @@ name = "go"
enabled = true
[analyzers.meta]
import_root = "github.com/speedrunsh/speedrun"
import_root = "github.com/dpogorzelski/speedrun"

View File

@@ -10,7 +10,7 @@ builds:
- amd64
- arm64
ldflags:
- -s -w -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.version={{.Version}} -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.commit={{.ShortCommit}} -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.date={{.Date}}
- -s -w -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.version={{.Version}} -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.commit={{.ShortCommit}} -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.date={{.Date}}
- id: portal
main: ./cmd/portal
binary: portal

View File

@@ -16,18 +16,18 @@ requirements:
@go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
speedrun-linux-amd64: requirements
GOOS=linux GOARCH=amd64 go build -o $(DIST)/speedrun-linux-amd64 -ldflags "-X github.com/speedrunsh/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
GOOS=linux GOARCH=amd64 go build -o $(DIST)/speedrun-linux-amd64 -ldflags "-X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
speedrun-linux-arm64: requirements
GOOS=linux GOARCH=arm64 go build -o $(DIST)/speedrun-linux-arm64 -ldflags "-X github.com/speedrunsh/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
GOOS=linux GOARCH=arm64 go build -o $(DIST)/speedrun-linux-arm64 -ldflags "-X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
speedrun-linux: speedrun-linux-amd64 speedrun-linux-arm64
speedrun-darwin-amd64: requirements
GOOS=darwin GOARCH=amd64 go build -o $(DIST)/speedrun-darwin-amd64 -ldflags "-X github.com/speedrunsh/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
GOOS=darwin GOARCH=amd64 go build -o $(DIST)/speedrun-darwin-amd64 -ldflags "-X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
speedrun-darwin-arm64: requirements
GOOS=darwin GOARCH=arm64 go build -o $(DIST)/speedrun-darwin-arm64 -ldflags "-X github.com/speedrunsh/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/speedrunsh/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
GOOS=darwin GOARCH=arm64 go build -o $(DIST)/speedrun-darwin-arm64 -ldflags "-X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.version=$(VERSION) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.commit=$(GITCOMMIT) -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.date=$(DATE)" ./cmd/speedrun
speedrun-darwin: speedrun-darwin-amd64 speedrun-darwin-arm64

View File

@@ -6,9 +6,9 @@
# Speedrun
[![license](https://img.shields.io/badge/license-MPL2-blue.svg)](https://github.com/speedrunsh/speedrun/blob/master/LICENSE)
[![Go Report Card](https://goreportcard.com/badge/github.com/speedrunsh/speedrun)](https://goreportcard.com/report/github.com/speedrunsh/speedrun)
[![Go](https://github.com/speedrunsh/speedrun/actions/workflows/go.yml/badge.svg)](https://github.com/speedrunsh/speedrun/actions/workflows/go.yml)
[![license](https://img.shields.io/badge/license-MPL2-blue.svg)](https://github.com/dpogorzelski/speedrun/blob/master/LICENSE)
[![Go Report Card](https://goreportcard.com/badge/github.com/dpogorzelski/speedrun)](https://goreportcard.com/report/github.com/dpogorzelski/speedrun)
[![Go](https://github.com/dpogorzelski/speedrun/actions/workflows/go.yml/badge.svg)](https://github.com/dpogorzelski/speedrun/actions/workflows/go.yml)
Speedrun helps you control your compute fleet with minimal effort.

View File

@@ -10,9 +10,9 @@ import (
"github.com/apex/log"
jsonhandler "github.com/apex/log/handlers/json"
texthandler "github.com/apex/log/handlers/text"
"github.com/speedrunsh/speedrun/pkg/common/cryptoutil"
"github.com/speedrunsh/speedrun/pkg/portal"
portalpb "github.com/speedrunsh/speedrun/proto/portal"
"github.com/dpogorzelski/speedrun/pkg/common/cryptoutil"
"github.com/dpogorzelski/speedrun/pkg/portal"
portalpb "github.com/dpogorzelski/speedrun/proto/portal"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"storj.io/drpc/drpcmux"

View File

@@ -1,7 +1,7 @@
package main
import (
"github.com/speedrunsh/speedrun/cmd/portal/cli"
"github.com/dpogorzelski/speedrun/cmd/portal/cli"
)
func main() {

View File

@@ -8,8 +8,8 @@ import (
"time"
"github.com/alitto/pond"
"github.com/speedrunsh/speedrun/pkg/speedrun/cloud"
portalpb "github.com/speedrunsh/speedrun/proto/portal"
"github.com/dpogorzelski/speedrun/pkg/speedrun/cloud"
portalpb "github.com/dpogorzelski/speedrun/proto/portal"
"storj.io/drpc/drpcconn"
"github.com/apex/log"

View File

@@ -9,8 +9,8 @@ import (
"github.com/alitto/pond"
"github.com/apex/log"
"github.com/speedrunsh/speedrun/pkg/speedrun/cloud"
portalpb "github.com/speedrunsh/speedrun/proto/portal"
"github.com/dpogorzelski/speedrun/pkg/speedrun/cloud"
portalpb "github.com/dpogorzelski/speedrun/proto/portal"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"storj.io/drpc/drpcconn"

View File

@@ -1,7 +1,7 @@
package main
import (
"github.com/speedrunsh/speedrun/cmd/speedrun/cli"
"github.com/dpogorzelski/speedrun/cmd/speedrun/cli"
)
func main() {

2
go.mod
View File

@@ -1,4 +1,4 @@
module github.com/speedrunsh/speedrun
module github.com/dpogorzelski/speedrun
go 1.17

View File

@@ -7,7 +7,7 @@ import (
"github.com/apex/log"
"github.com/speedrunsh/speedrun/proto/portal"
"github.com/dpogorzelski/speedrun/proto/portal"
)
func (s *Server) RunCommand(ctx context.Context, in *portal.CommandRequest) (*portal.CommandResponse, error) {

View File

@@ -1,6 +1,6 @@
package portal
import "github.com/speedrunsh/speedrun/proto/portal"
import "github.com/dpogorzelski/speedrun/proto/portal"
type Server struct {
portal.DRPCPortalUnimplementedServer

View File

@@ -7,7 +7,7 @@ import (
"github.com/apex/log"
"github.com/coreos/go-systemd/v22/dbus"
"github.com/speedrunsh/speedrun/proto/portal"
"github.com/dpogorzelski/speedrun/proto/portal"
)
func (s *Server) ServiceRestart(ctx context.Context, service *portal.ServiceRequest) (*portal.ServiceResponse, error) {

View File

@@ -6,8 +6,8 @@ import (
"github.com/antonmedv/expr"
"github.com/apex/log"
"github.com/dpogorzelski/speedrun/pkg/common/cryptoutil"
"github.com/pkg/errors"
"github.com/speedrunsh/speedrun/pkg/common/cryptoutil"
"github.com/spf13/viper"
)

View File

@@ -1,5 +1,5 @@
syntax = "proto3";
option go_package = "github.com/speedrunsh/speedrun/proto/portal";
option go_package = "github.com/dpogorzelski/speedrun/proto/portal";
package portal;
enum State {