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) <noreply@anthropic.com>
This commit is contained in:
Victor Abrell 2026-06-12 14:41:20 +02:00
parent 7140397a13
commit 47bb2d3a69
14 changed files with 45 additions and 20 deletions

21
LICENSE Normal file
View File

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

View File

@ -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). field, a `fetchX` command, a message type, and a panel).
Ideas: ECS/EKS context, VPN state, kubectl context, disk space, brew outdated. Ideas: ECS/EKS context, VPN state, kubectl context, disk space, brew outdated.
## License
MIT — see [LICENSE](LICENSE).

View File

@ -5,9 +5,9 @@ import (
"fmt" "fmt"
"os" "os"
"mydev/internal/checks" "git.abrell.se/victor/mydev/internal/checks"
"mydev/internal/config" "git.abrell.se/victor/mydev/internal/config"
"mydev/internal/run" "git.abrell.se/victor/mydev/internal/run"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"os" "os"
"mydev/internal/config" "git.abrell.se/victor/mydev/internal/config"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -8,9 +8,9 @@ import (
"strings" "strings"
"time" "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/textinput"
"github.com/charmbracelet/bubbles/viewport" "github.com/charmbracelet/bubbles/viewport"

View File

@ -6,7 +6,7 @@ import (
"testing" "testing"
"time" "time"
"mydev/internal/checks" "git.abrell.se/victor/mydev/internal/checks"
tea "github.com/charmbracelet/bubbletea" tea "github.com/charmbracelet/bubbletea"
) )

View File

@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"os" "os"
"mydev/internal/config" "git.abrell.se/victor/mydev/internal/config"
"mydev/internal/run" "git.abrell.se/victor/mydev/internal/run"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"os" "os"
"mydev/internal/config" "git.abrell.se/victor/mydev/internal/config"
"mydev/internal/run" "git.abrell.se/victor/mydev/internal/run"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -7,9 +7,9 @@ import (
"sort" "sort"
"text/tabwriter" "text/tabwriter"
"mydev/internal/checks" "git.abrell.se/victor/mydev/internal/checks"
"mydev/internal/config" "git.abrell.se/victor/mydev/internal/config"
"mydev/internal/run" "git.abrell.se/victor/mydev/internal/run"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -6,7 +6,7 @@ import (
"os" "os"
"text/tabwriter" "text/tabwriter"
"mydev/internal/checks" "git.abrell.se/victor/mydev/internal/checks"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"os" "os"
"mydev/internal/run" "git.abrell.se/victor/mydev/internal/run"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -6,8 +6,8 @@ import (
"os" "os"
"text/tabwriter" "text/tabwriter"
"mydev/internal/checks" "git.abrell.se/victor/mydev/internal/checks"
"mydev/internal/config" "git.abrell.se/victor/mydev/internal/config"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

2
go.mod
View File

@ -1,4 +1,4 @@
module mydev module git.abrell.se/victor/mydev
go 1.25.1 go 1.25.1

View File

@ -1,6 +1,6 @@
package main package main
import "mydev/cmd" import "git.abrell.se/victor/mydev/cmd"
func main() { func main() {
cmd.Execute() cmd.Execute()