moving to codeberg

This commit is contained in:
2025-12-02 20:18:27 +01:00
parent a1b3fe6f25
commit a9b4f94986
36 changed files with 225 additions and 128 deletions

View File

@@ -38,7 +38,7 @@ ifdef HAVE_LINT
endif
buildlocal:
go build -ldflags "-X 'github.com/tlinden/ephemerup/upctl/cfg.VERSION=$(VERSION)'"
go build -ldflags "-X 'codeberg.org/scip/ephemerup/upctl/cfg.VERSION=$(VERSION)'"
release:
./mkrel.sh $(tool) $(version)
@@ -56,7 +56,7 @@ test:
singletest:
@echo "Call like this: ''make singletest TEST=TestX1 MOD=lib"
go test -run $(TEST) github.com/tlinden/upctl/$(MOD)
go test -run $(TEST) codeberg.org/scip/upctl/$(MOD)
cover-report:
go test ./... -cover -coverprofile=coverage.out

View File

@@ -20,9 +20,9 @@ import (
//"errors"
"errors"
"github.com/spf13/cobra"
"github.com/tlinden/ephemerup/common"
"github.com/tlinden/ephemerup/upctl/cfg"
"github.com/tlinden/ephemerup/upctl/lib"
"codeberg.org/scip/ephemerup/common"
"codeberg.org/scip/ephemerup/upctl/cfg"
"codeberg.org/scip/ephemerup/upctl/lib"
"os"
)

View File

@@ -19,9 +19,9 @@ package cmd
import (
"errors"
"github.com/spf13/cobra"
"github.com/tlinden/ephemerup/common"
"github.com/tlinden/ephemerup/upctl/cfg"
"github.com/tlinden/ephemerup/upctl/lib"
"codeberg.org/scip/ephemerup/common"
"codeberg.org/scip/ephemerup/upctl/cfg"
"codeberg.org/scip/ephemerup/upctl/lib"
"os"
)

View File

@@ -22,7 +22,7 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"github.com/spf13/viper"
"github.com/tlinden/ephemerup/upctl/cfg"
"codeberg.org/scip/ephemerup/upctl/cfg"
"os"
"strings"
)

View File

@@ -1,4 +1,4 @@
module github.com/tlinden/ephemerup/upctl
module codeberg.org/scip/ephemerup/upctl
go 1.18
@@ -10,7 +10,7 @@ require (
github.com/spf13/cobra v1.6.1
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.15.0
github.com/tlinden/ephemerup/common v0.0.0-00010101000000-000000000000
codeberg.org/scip/ephemerup/common v0.0.0-00010101000000-000000000000
)
require (
@@ -51,4 +51,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)
replace github.com/tlinden/ephemerup/common => ../common
replace codeberg.org/scip/ephemerup/common => ../common

View File

@@ -24,8 +24,8 @@ import (
"github.com/imroc/req/v3"
"github.com/jarcoal/httpmock"
"github.com/schollz/progressbar/v3"
"github.com/tlinden/ephemerup/common"
"github.com/tlinden/ephemerup/upctl/cfg"
"codeberg.org/scip/ephemerup/common"
"codeberg.org/scip/ephemerup/upctl/cfg"
"io"
"mime"
"os"

View File

@@ -21,8 +21,8 @@ import (
"bytes"
"fmt"
"github.com/jarcoal/httpmock"
"github.com/tlinden/ephemerup/common"
"github.com/tlinden/ephemerup/upctl/cfg"
"codeberg.org/scip/ephemerup/common"
"codeberg.org/scip/ephemerup/upctl/cfg"
"io/ioutil"
"net/http"
"os"

View File

@@ -23,7 +23,7 @@ import (
//"github.com/alecthomas/repr"
"github.com/imroc/req/v3"
"github.com/olekukonko/tablewriter"
"github.com/tlinden/ephemerup/common"
"codeberg.org/scip/ephemerup/common"
"io"
"sort"
"strings"

View File

@@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
package main
import (
"github.com/tlinden/ephemerup/upctl/cmd"
"codeberg.org/scip/ephemerup/upctl/cmd"
)
func main() {