From 47bb2d3a69130b73df080567933e31fd4f728783 Mon Sep 17 00:00:00 2001 From: Victor Abrell Date: Fri, 12 Jun 2026 14:41:20 +0200 Subject: [PATCH] Use Gitea module path, add MIT license Set module to git.abrell.se/victor/mydev so it installs from the private Gitea host, and add an MIT LICENSE. Co-Authored-By: Claude Opus 4.8 (1M context) --- LICENSE | 21 +++++++++++++++++++++ README.md | 4 ++++ cmd/auth.go | 6 +++--- cmd/config.go | 2 +- cmd/dash.go | 4 ++-- cmd/dash_render_test.go | 2 +- cmd/data.go | 4 ++-- cmd/db.go | 4 ++-- cmd/dev.go | 6 +++--- cmd/docker.go | 2 +- cmd/port.go | 2 +- cmd/status.go | 4 ++-- go.mod | 2 +- main.go | 2 +- 14 files changed, 45 insertions(+), 20 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..6ac37c5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Victor Abrell + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 0dc7628..ea00648 100644 --- a/README.md +++ b/README.md @@ -138,3 +138,7 @@ for a one-shot subcommand, or wire it into `dashModel` in `cmd/dash.go` (add a field, a `fetchX` command, a message type, and a panel). Ideas: ECS/EKS context, VPN state, kubectl context, disk space, brew outdated. + +## License + +MIT — see [LICENSE](LICENSE). diff --git a/cmd/auth.go b/cmd/auth.go index 7245be0..6194569 100644 --- a/cmd/auth.go +++ b/cmd/auth.go @@ -5,9 +5,9 @@ import ( "fmt" "os" - "mydev/internal/checks" - "mydev/internal/config" - "mydev/internal/run" + "git.abrell.se/victor/mydev/internal/checks" + "git.abrell.se/victor/mydev/internal/config" + "git.abrell.se/victor/mydev/internal/run" "github.com/spf13/cobra" ) diff --git a/cmd/config.go b/cmd/config.go index f5b13d1..ae8cce5 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "mydev/internal/config" + "git.abrell.se/victor/mydev/internal/config" "github.com/spf13/cobra" ) diff --git a/cmd/dash.go b/cmd/dash.go index e80cfd3..415f908 100644 --- a/cmd/dash.go +++ b/cmd/dash.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "mydev/internal/checks" + "git.abrell.se/victor/mydev/internal/checks" - "mydev/internal/config" + "git.abrell.se/victor/mydev/internal/config" "github.com/charmbracelet/bubbles/textinput" "github.com/charmbracelet/bubbles/viewport" diff --git a/cmd/dash_render_test.go b/cmd/dash_render_test.go index 4fc4a2d..5fbcf55 100644 --- a/cmd/dash_render_test.go +++ b/cmd/dash_render_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "mydev/internal/checks" + "git.abrell.se/victor/mydev/internal/checks" tea "github.com/charmbracelet/bubbletea" ) diff --git a/cmd/data.go b/cmd/data.go index b24324d..25ea4ba 100644 --- a/cmd/data.go +++ b/cmd/data.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "mydev/internal/config" - "mydev/internal/run" + "git.abrell.se/victor/mydev/internal/config" + "git.abrell.se/victor/mydev/internal/run" "github.com/spf13/cobra" ) diff --git a/cmd/db.go b/cmd/db.go index 914bbe8..6c9d7f9 100644 --- a/cmd/db.go +++ b/cmd/db.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "mydev/internal/config" - "mydev/internal/run" + "git.abrell.se/victor/mydev/internal/config" + "git.abrell.se/victor/mydev/internal/run" "github.com/spf13/cobra" ) diff --git a/cmd/dev.go b/cmd/dev.go index e7b4f27..efe069e 100644 --- a/cmd/dev.go +++ b/cmd/dev.go @@ -7,9 +7,9 @@ import ( "sort" "text/tabwriter" - "mydev/internal/checks" - "mydev/internal/config" - "mydev/internal/run" + "git.abrell.se/victor/mydev/internal/checks" + "git.abrell.se/victor/mydev/internal/config" + "git.abrell.se/victor/mydev/internal/run" "github.com/spf13/cobra" ) diff --git a/cmd/docker.go b/cmd/docker.go index 016f4b1..6fe5479 100644 --- a/cmd/docker.go +++ b/cmd/docker.go @@ -6,7 +6,7 @@ import ( "os" "text/tabwriter" - "mydev/internal/checks" + "git.abrell.se/victor/mydev/internal/checks" "github.com/spf13/cobra" ) diff --git a/cmd/port.go b/cmd/port.go index 9920259..0f0c145 100644 --- a/cmd/port.go +++ b/cmd/port.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "mydev/internal/run" + "git.abrell.se/victor/mydev/internal/run" "github.com/spf13/cobra" ) diff --git a/cmd/status.go b/cmd/status.go index f1b9ec0..cd6d718 100644 --- a/cmd/status.go +++ b/cmd/status.go @@ -6,8 +6,8 @@ import ( "os" "text/tabwriter" - "mydev/internal/checks" - "mydev/internal/config" + "git.abrell.se/victor/mydev/internal/checks" + "git.abrell.se/victor/mydev/internal/config" "github.com/spf13/cobra" ) diff --git a/go.mod b/go.mod index 92948d1..848a7d2 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module mydev +module git.abrell.se/victor/mydev go 1.25.1 diff --git a/main.go b/main.go index 527a568..fb2e60c 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ package main -import "mydev/cmd" +import "git.abrell.se/victor/mydev/cmd" func main() { cmd.Execute()