From 8bd26d1bb198ab39e2e3dfbacfc7df86e4ff728f Mon Sep 17 00:00:00 2001 From: KitsuneSemCalda Date: Thu, 1 Oct 2026 21:25:29 -0300 Subject: [PATCH 1/3] Compile every top-level QML file on CI's Qt 6.4 Main, Viewer, TerminalViewer, ThemeScrim and Icon were never loaded by a test, so a construct only newer Qt accepts (a variable named long) would pass CI and break the app on Qt 6.4. tst_compile.qml compiles them with the real DisplayView/TerminalView types registered, which also catches a property the viewers set that the C++ type doesn't have. --- CLAUDE.md | 2 +- gui/tests/qml/tst_compile.qml | 20 ++++++++++++++++++++ gui/tests/qml_test.cpp | 6 ++++++ gui/tests/qml_test.pro | 10 +++++++--- 4 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 gui/tests/qml/tst_compile.qml diff --git a/CLAUDE.md b/CLAUDE.md index 6b8f2bf..df41f4d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -160,7 +160,7 @@ omavm status radic --json OmaVM é **Omarchy-first**. Integração com o host é feature central, não avançada. Tratar como capacidades de primeira classe (quando aplicável ao backend): clipboard, compartilhamento de diretórios, project folders, Wayland, áudio, microfone, notificações, resolução dinâmica, SSH, execução de comandos, transferência de arquivos, GPU acceleration. A UI expõe capacidades/intenções, não os mecanismos internos usados para implementá-las. -Implementado até agora: frontend Qt Quick/QML com toast in-app; entrada `.desktop` + ícone (`data/`) para o `omavm-gui` aparecer no launcher/taskbar com app-id próprio; sincronização direta com o tema Omarchy ativo (dark/light, background, foreground, accent e selection), acompanhando trocas em runtime. A aplicação apenas consome `colors.toml`; não mantém tema próprio. Consumir não significa repassar cegamente: texto precisa de 7:1 (WCAG 2.2 AAA 1.4.6) sobre as duas superfícies, então `Backend::loadTheme` ajusta `foreground`/`muted` (`readableTextColor`) e as cores de estado usadas como texto — verde, vermelho e `themeAccentText` — com `accessibleColor`, que mantém o tom e só clareia ou escurece o necessário; o accent cru fica para os controles do Material. `everyThemeTextMeetsAAA` confere isso em todos os temas instalados. A acessibilidade é auditada pela árvore que o Qt entrega ao AT-SPI (`tst_accessibility.qml`): controle visível sem nome ou inalcançável por teclado falha o teste. Com a acessibilidade ativa, o Qt ignora `Accessible.checked` escrito à mão e anuncia o estado do próprio controle — seleção tem que ser um controle `checkable` de verdade, e uma escolha exclusiva (as cores) leva `Accessible.role: Accessible.RadioButton`, sem o qual o Qt 6.4 não a declara marcável. Os testes consultam a `QAccessibleInterface` (`accessibilityProblems`, `accessibleState`), nunca a propriedade anexada do QML, que diverge entre versões; o CI roda o Qt 6.4 do Ubuntu 24.04 e o desenvolvimento o Qt do Arch, e os dois precisam passar. +Implementado até agora: frontend Qt Quick/QML com toast in-app; entrada `.desktop` + ícone (`data/`) para o `omavm-gui` aparecer no launcher/taskbar com app-id próprio; sincronização direta com o tema Omarchy ativo (dark/light, background, foreground, accent e selection), acompanhando trocas em runtime. A aplicação apenas consome `colors.toml`; não mantém tema próprio. Consumir não significa repassar cegamente: texto precisa de 7:1 (WCAG 2.2 AAA 1.4.6) sobre as duas superfícies, então `Backend::loadTheme` ajusta `foreground`/`muted` (`readableTextColor`) e as cores de estado usadas como texto — verde, vermelho e `themeAccentText` — com `accessibleColor`, que mantém o tom e só clareia ou escurece o necessário; o accent cru fica para os controles do Material. `everyThemeTextMeetsAAA` confere isso em todos os temas instalados. A acessibilidade é auditada pela árvore que o Qt entrega ao AT-SPI (`tst_accessibility.qml`): controle visível sem nome ou inalcançável por teclado falha o teste. Com a acessibilidade ativa, o Qt ignora `Accessible.checked` escrito à mão e anuncia o estado do próprio controle — seleção tem que ser um controle `checkable` de verdade, e uma escolha exclusiva (as cores) leva `Accessible.role: Accessible.RadioButton`, sem o qual o Qt 6.4 não a declara marcável. Os testes consultam a `QAccessibleInterface` (`accessibilityProblems`, `accessibleState`), nunca a propriedade anexada do QML, que diverge entre versões; o CI roda o Qt 6.4 do Ubuntu 24.04 e o desenvolvimento o Qt do Arch, e os dois precisam passar. Todo QML de nível superior que nenhum teste carrega entra em `tst_compile.qml`, que só o compila (com os tipos C++ reais registrados): foi assim que um `const long` (reservado no 6.4) passou despercebido até cair num arquivo de teste. A GUI roda ações de ambientes diferentes ao mesmo tempo (`Backend::busyEnvironments`, desde 2026-09-29): o Core já serializa cada ambiente pelo lock dele, então a GUI só recusa uma segunda ação no **mesmo** ambiente. Como OMAcut/OMAwrite, a janela principal é tiled por padrão; não adicione regra Hyprland para fazê-la flutuar. OMAcalc é uma exceção compacta explicitamente marcada como floating, não um precedente para a OmaVM. diff --git a/gui/tests/qml/tst_compile.qml b/gui/tests/qml/tst_compile.qml new file mode 100644 index 0000000..41b8ed3 --- /dev/null +++ b/gui/tests/qml/tst_compile.qml @@ -0,0 +1,20 @@ +import QtQuick +import QtTest + +// Compiles the top-level QML files no other test loads, without creating +// them: CI runs Qt 6.4, development runs Arch's Qt, and a construct only +// the newer one accepts (a variable named long) must fail here, not on a +// user's machine. The dialogs and cards are compiled by their own tests. +TestCase { + name: "Compile" + + function test_compiles_data() { + return ["Main.qml", "Viewer.qml", "TerminalViewer.qml", "ThemeScrim.qml", "Icon.qml"] + .map(file => ({ tag: file, file: file })) + } + + function test_compiles(data) { + const component = Qt.createComponent("qrc:/" + data.file) + compare(component.status, Component.Ready, component.errorString()) + } +} diff --git a/gui/tests/qml_test.cpp b/gui/tests/qml_test.cpp index 2f0f362..86da5ac 100644 --- a/gui/tests/qml_test.cpp +++ b/gui/tests/qml_test.cpp @@ -7,6 +7,9 @@ #include #include +#include "../displayview.h" +#include "../terminalview.h" + // Stand-in for the C++ Backend context property: the properties the // components read, and the actions they call recorded in lastCall (name // followed by the arguments) instead of running the CLI. @@ -148,6 +151,9 @@ public slots: QQuickStyle::setStyle(QStringLiteral("Material")); // Builds the accessibility tree a screen reader would see. QAccessible::setActive(true); + // Registered as gui/main.cpp does, for the viewers tst_compile.qml loads. + qmlRegisterType("OmaVM", 1, 0, "DisplayView"); + qmlRegisterType("OmaVM", 1, 0, "TerminalView"); } void qmlEngineAvailable(QQmlEngine *engine) { diff --git a/gui/tests/qml_test.pro b/gui/tests/qml_test.pro index c3655e7..1349e35 100644 --- a/gui/tests/qml_test.pro +++ b/gui/tests/qml_test.pro @@ -1,7 +1,11 @@ -QT += core gui qml quick quickcontrols2 qmltest -CONFIG += console testcase c++17 +QT += core gui qml quick quickcontrols2 qmltest opengl +CONFIG += console testcase c++17 link_pkgconfig +# The C++ types the viewers import (OmaVM 1.0), so tst_compile.qml checks +# every property they use. +PKGCONFIG += gio-2.0 gio-unix-2.0 egl TEMPLATE = app TARGET = qml_test -SOURCES += qml_test.cpp +SOURCES += qml_test.cpp ../displayview.cpp ../displayclient.cpp ../terminal.cpp ../terminalview.cpp ../colorstoml.cpp +HEADERS += ../displayview.h ../displayclient.h ../keymap.h ../terminal.h ../terminalview.h ../colorstoml.h RESOURCES += ../resources.qrc DEFINES += QUICK_TEST_SOURCE_DIR=\\\"$$PWD/qml\\\" From b5faa967b7489e3e28b0f5a13ea8f9188edb3d92 Mon Sep 17 00:00:00 2001 From: KitsuneSemCalda Date: Thu, 1 Oct 2026 21:25:29 -0300 Subject: [PATCH 2/3] omavm version: report the version a release was built from make dist and the PKGBUILD stamp it with -X main.version; go install falls back to the module version, a local build to Go's VCS stamp. --- Makefile | 2 +- cmd/omavm/main.go | 24 ++++++++++++++++++++++++ cmd/omavm/main_test.go | 14 ++++++++++++++ packaging/omavm/PKGBUILD | 2 +- 4 files changed, 40 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4597a58..80f857f 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ DIST_NAME = omavm-$(VERSION)-x86_64-linux dist: build-gui @test -n "$(VERSION)" || { echo "set VERSION=x.y.z"; exit 1; } - CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o bin/omavm ./cmd/omavm + CGO_ENABLED=0 go build -trimpath -ldflags="-s -w -X main.version=$(VERSION)" -o bin/omavm ./cmd/omavm rm -rf build/dist && mkdir -p build/dist/$(DIST_NAME) install -Dm755 bin/omavm build/dist/$(DIST_NAME)/bin/omavm install -Dm755 bin/omavm-gui build/dist/$(DIST_NAME)/bin/omavm-gui diff --git a/cmd/omavm/main.go b/cmd/omavm/main.go index fe0e9ea..2096b37 100644 --- a/cmd/omavm/main.go +++ b/cmd/omavm/main.go @@ -13,6 +13,7 @@ import ( "os" "os/exec" "os/signal" + "runtime/debug" "strings" "syscall" "time" @@ -65,11 +66,33 @@ func notifyError(err error) { _ = exec.Command(path, "--app-name=OmaVM", "--icon=dev.omavm.app", "OmaVM", err.Error()).Run() } +// version is set at release time (make dist, the PKGBUILD) with +// -ldflags "-X main.version=x.y.z". +var version string + +// versionString is version, or what the Go toolchain recorded (go install +// ...@vX.Y.Z), or "dev" for a plain local build. +func versionString() string { + if version != "" { + return version + } + if info, ok := debug.ReadBuildInfo(); ok && info.Main.Version != "" && info.Main.Version != "(devel)" { + return strings.TrimPrefix(info.Main.Version, "v") + } + return "dev" +} + func run(args []string) error { if len(args) == 0 { printUsage() return usagef("no command given") } + // Before any backend or store is set up: answers even on a host where + // those fail. + if args[0] == "version" || args[0] == "--version" { + fmt.Println("omavm", versionString()) + return nil + } qemuBackend, err := qemu.New() if err != nil { @@ -825,6 +848,7 @@ commands: update NAME [--progress] update a Box's installed software (distrobox upgrade) rm NAME remove an environment list [--status] [--json] list known environments, with their state + version print this omavm's version exit codes: 0 ok, 1 failure, 2 invalid request, 3 not found, 4 name taken, 5 unsupported here, 6 busy; exec and ssh return their command's code. diff --git a/cmd/omavm/main_test.go b/cmd/omavm/main_test.go index 5d6dce3..8dbd364 100644 --- a/cmd/omavm/main_test.go +++ b/cmd/omavm/main_test.go @@ -166,3 +166,17 @@ func captureStdout(t *testing.T, fn func() error) []byte { } return out } + +// A release build reports the version it was stamped with, and version +// answers before the store or a backend is set up. +func TestVersion(t *testing.T) { + t.Setenv("XDG_STATE_HOME", "/nonexistent/omavm-version-test") + saved := version + version = "1.2.3" + t.Cleanup(func() { version = saved }) + for _, arg := range []string{"version", "--version"} { + if out := string(captureStdout(t, func() error { return run([]string{arg}) })); out != "omavm 1.2.3\n" { + t.Errorf("%s printed %q", arg, out) + } + } +} diff --git a/packaging/omavm/PKGBUILD b/packaging/omavm/PKGBUILD index a05b3b2..a90842d 100644 --- a/packaging/omavm/PKGBUILD +++ b/packaging/omavm/PKGBUILD @@ -20,7 +20,7 @@ sha256sums=('8420c9bc34008db0e27babeb0ff36a50742683107374d93b685be0855e15710e') build() { cd "OmaVM-$pkgver" - go build -ldflags="-s -w" -buildvcs=false -trimpath -o bin/omavm ./cmd/omavm + go build -ldflags="-s -w -X main.version=$pkgver" -buildvcs=false -trimpath -o bin/omavm ./cmd/omavm mkdir -p build/gui cd build/gui qmake6 ../../omavm-gui.pro From 858145ab50b9fceaee788a230406b698f79da364 Mon Sep 17 00:00:00 2001 From: KitsuneSemCalda Date: Fri, 2 Oct 2026 20:54:56 -0300 Subject: [PATCH 3/3] Update repository paths after transfer to KitsuneForgering --- README.md | 6 +++--- cmd/omavm/errors.go | 2 +- cmd/omavm/errors_test.go | 2 +- cmd/omavm/main.go | 14 +++++++------- go.mod | 2 +- internal/applog/applog.go | 2 +- internal/backend/box/box.go | 2 +- internal/backend/box/box_test.go | 2 +- internal/backend/box/container/container.go | 2 +- internal/backend/box/container/container_test.go | 2 +- internal/backend/box/distrobox/apps.go | 2 +- internal/backend/box/distrobox/apps_test.go | 2 +- internal/backend/box/distrobox/distrobox.go | 2 +- internal/backend/box/distrobox/distrobox_test.go | 2 +- internal/backend/box/distrobox/pull.go | 2 +- internal/backend/box/distrobox/pull_test.go | 2 +- internal/backend/box/distrobox/travel.go | 4 ++-- internal/backend/box/distrobox/travel_test.go | 4 ++-- internal/backend/box/distrobox/upgrade_test.go | 2 +- internal/backend/machine/qemu/applied.go | 2 +- internal/backend/machine/qemu/applied_test.go | 2 +- internal/backend/machine/qemu/clone_test.go | 2 +- internal/backend/machine/qemu/disk_test.go | 2 +- internal/backend/machine/qemu/display_test.go | 2 +- internal/backend/machine/qemu/ephemeral_test.go | 2 +- internal/backend/machine/qemu/guestcaps.go | 2 +- internal/backend/machine/qemu/guestcaps_test.go | 2 +- internal/backend/machine/qemu/hostcaps.go | 2 +- internal/backend/machine/qemu/hostlink.go | 4 ++-- internal/backend/machine/qemu/hostlink_test.go | 2 +- internal/backend/machine/qemu/iso_test.go | 2 +- internal/backend/machine/qemu/lifecycle_test.go | 4 ++-- internal/backend/machine/qemu/qemu.go | 4 ++-- internal/backend/machine/qemu/qemu_test.go | 2 +- internal/backend/machine/qemu/qga_test.go | 2 +- internal/backend/machine/qemu/qmp_test.go | 2 +- internal/backend/machine/qemu/space_test.go | 2 +- internal/backend/machine/qemu/statedir_test.go | 2 +- internal/backend/machine/qemu/virtiofs_test.go | 2 +- internal/backend/machine/qemu/vsock.go | 2 +- internal/backend/machine/qemu/vsock_test.go | 2 +- internal/core/clipboard_test.go | 2 +- internal/core/clone_test.go | 2 +- internal/core/concurrency_test.go | 2 +- internal/core/ephemeral_test.go | 2 +- internal/core/errors_test.go | 2 +- internal/core/run_test.go | 2 +- internal/core/service_test.go | 2 +- internal/core/snapshotgone_test.go | 2 +- internal/core/status_test.go | 2 +- internal/core/store_test.go | 2 +- internal/desktop/desktop.go | 2 +- internal/desktop/desktop_test.go | 2 +- packaging/omavm/PKGBUILD | 2 +- 54 files changed, 67 insertions(+), 67 deletions(-) diff --git a/README.md b/README.md index e2ed2b6..fcc7034 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@

- CI + CI License: MIT Go 1.27.1+

@@ -143,7 +143,7 @@ into `omavm-gui`. See [Machines](#machines) below for what that gets you. ## Quick start ```bash -git clone https://github.com/KitsuneSemCalda/OmaVM.git +git clone https://github.com/KitsuneForgering/OmaVM.git cd OmaVM make check # build, vet, test everything make install # omavm + omavm-gui on PATH, .desktop entry, no root needed @@ -480,7 +480,7 @@ confirmation (`CONFIRM=1` skips the prompt for scripted use). OmaVM is listed in OmaStore through [`omastore.toml`](omastore.toml): ```bash -omastore install KitsuneSemCalda/OmaVM +omastore install KitsuneForgering/OmaVM ``` The store installs the release tarball under your home directory and puts diff --git a/cmd/omavm/errors.go b/cmd/omavm/errors.go index 9e05e83..4fcfc56 100644 --- a/cmd/omavm/errors.go +++ b/cmd/omavm/errors.go @@ -7,7 +7,7 @@ import ( "io" "os/exec" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // Exit codes are a contract with scripts and agents: they say what the diff --git a/cmd/omavm/errors_test.go b/cmd/omavm/errors_test.go index fa19506..4b65e2d 100644 --- a/cmd/omavm/errors_test.go +++ b/cmd/omavm/errors_test.go @@ -8,7 +8,7 @@ import ( "os/exec" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestErrorClassesHaveStableExitCodes(t *testing.T) { diff --git a/cmd/omavm/main.go b/cmd/omavm/main.go index 2096b37..91c85a8 100644 --- a/cmd/omavm/main.go +++ b/cmd/omavm/main.go @@ -18,13 +18,13 @@ import ( "syscall" "time" - "github.com/KitsuneSemCalda/OmaVM/internal/applog" - "github.com/KitsuneSemCalda/OmaVM/internal/backend/box" - "github.com/KitsuneSemCalda/OmaVM/internal/backend/box/container" - "github.com/KitsuneSemCalda/OmaVM/internal/backend/box/distrobox" - "github.com/KitsuneSemCalda/OmaVM/internal/backend/machine/qemu" - "github.com/KitsuneSemCalda/OmaVM/internal/core" - "github.com/KitsuneSemCalda/OmaVM/internal/desktop" + "github.com/KitsuneForgering/OmaVM/internal/applog" + "github.com/KitsuneForgering/OmaVM/internal/backend/box" + "github.com/KitsuneForgering/OmaVM/internal/backend/box/container" + "github.com/KitsuneForgering/OmaVM/internal/backend/box/distrobox" + "github.com/KitsuneForgering/OmaVM/internal/backend/machine/qemu" + "github.com/KitsuneForgering/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/desktop" ) func main() { diff --git a/go.mod b/go.mod index 3ca0036..2243054 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/KitsuneSemCalda/OmaVM +module github.com/KitsuneForgering/OmaVM go 1.27.1 diff --git a/internal/applog/applog.go b/internal/applog/applog.go index 658a9be..4e26a93 100644 --- a/internal/applog/applog.go +++ b/internal/applog/applog.go @@ -17,7 +17,7 @@ import ( "os" "path/filepath" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // SystemLogDir is the standard location Open prefers when writable. diff --git a/internal/backend/box/box.go b/internal/backend/box/box.go index 40b70c7..b22c5ba 100644 --- a/internal/backend/box/box.go +++ b/internal/backend/box/box.go @@ -5,7 +5,7 @@ package box import ( "context" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) type Backend struct { diff --git a/internal/backend/box/box_test.go b/internal/backend/box/box_test.go index 57864c1..f26002e 100644 --- a/internal/backend/box/box_test.go +++ b/internal/backend/box/box_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) type fakeBackend struct { diff --git a/internal/backend/box/container/container.go b/internal/backend/box/container/container.go index 1ae3d0a..af8198b 100644 --- a/internal/backend/box/container/container.go +++ b/internal/backend/box/container/container.go @@ -15,7 +15,7 @@ import ( "sync" "time" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // containerPrefix namespaces containers this engine manages so it never diff --git a/internal/backend/box/container/container_test.go b/internal/backend/box/container/container_test.go index 0685e8d..9d1a1fa 100644 --- a/internal/backend/box/container/container_test.go +++ b/internal/backend/box/container/container_test.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestNewFallsBackToDockerWhenPodmanIsUnhealthy(t *testing.T) { diff --git a/internal/backend/box/distrobox/apps.go b/internal/backend/box/distrobox/apps.go index 68009a7..327597e 100644 --- a/internal/backend/box/distrobox/apps.go +++ b/internal/backend/box/distrobox/apps.go @@ -7,7 +7,7 @@ import ( "path/filepath" "strings" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // listAppsScript enumerates .desktop launchers installed at the container diff --git a/internal/backend/box/distrobox/apps_test.go b/internal/backend/box/distrobox/apps_test.go index 9cc805e..ce9ad50 100644 --- a/internal/backend/box/distrobox/apps_test.go +++ b/internal/backend/box/distrobox/apps_test.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestListAppsParsesOutputAndDetectsExported(t *testing.T) { diff --git a/internal/backend/box/distrobox/distrobox.go b/internal/backend/box/distrobox/distrobox.go index 0ba44d2..b2b815d 100644 --- a/internal/backend/box/distrobox/distrobox.go +++ b/internal/backend/box/distrobox/distrobox.go @@ -13,7 +13,7 @@ import ( "strings" "unicode" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) type Backend struct{} diff --git a/internal/backend/box/distrobox/distrobox_test.go b/internal/backend/box/distrobox/distrobox_test.go index 38c34cd..ccda579 100644 --- a/internal/backend/box/distrobox/distrobox_test.go +++ b/internal/backend/box/distrobox/distrobox_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestCreateUsesStableUniqueDistroboxName(t *testing.T) { diff --git a/internal/backend/box/distrobox/pull.go b/internal/backend/box/distrobox/pull.go index 47d7a2f..6869a5b 100644 --- a/internal/backend/box/distrobox/pull.go +++ b/internal/backend/box/distrobox/pull.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // pullImage downloads a new Box's image before `distrobox create`, which diff --git a/internal/backend/box/distrobox/pull_test.go b/internal/backend/box/distrobox/pull_test.go index 3895b12..ca58a17 100644 --- a/internal/backend/box/distrobox/pull_test.go +++ b/internal/backend/box/distrobox/pull_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestPullStagesFollowLayersWithoutPercentages(t *testing.T) { diff --git a/internal/backend/box/distrobox/travel.go b/internal/backend/box/distrobox/travel.go index 7411e1e..46598d4 100644 --- a/internal/backend/box/distrobox/travel.go +++ b/internal/backend/box/distrobox/travel.go @@ -8,8 +8,8 @@ import ( "strconv" "strings" - "github.com/KitsuneSemCalda/OmaVM/internal/core" - "github.com/KitsuneSemCalda/OmaVM/internal/power" + "github.com/KitsuneForgering/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/power" ) // hostCPUs is overridable in tests. diff --git a/internal/backend/box/distrobox/travel_test.go b/internal/backend/box/distrobox/travel_test.go index e629511..b84cfef 100644 --- a/internal/backend/box/distrobox/travel_test.go +++ b/internal/backend/box/distrobox/travel_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" - "github.com/KitsuneSemCalda/OmaVM/internal/power" + "github.com/KitsuneForgering/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/power" ) // travelHost fakes a host with 8 CPUs, the given power state and a podman diff --git a/internal/backend/box/distrobox/upgrade_test.go b/internal/backend/box/distrobox/upgrade_test.go index 00eaa4d..380737a 100644 --- a/internal/backend/box/distrobox/upgrade_test.go +++ b/internal/backend/box/distrobox/upgrade_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func fakeDistroboxUpgrade(t *testing.T, script string) { diff --git a/internal/backend/machine/qemu/applied.go b/internal/backend/machine/qemu/applied.go index 5e4b11a..9488e07 100644 --- a/internal/backend/machine/qemu/applied.go +++ b/internal/backend/machine/qemu/applied.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // applied is what a running QEMU was started with, read back from its diff --git a/internal/backend/machine/qemu/applied_test.go b/internal/backend/machine/qemu/applied_test.go index e819ffb..4c219f2 100644 --- a/internal/backend/machine/qemu/applied_test.go +++ b/internal/backend/machine/qemu/applied_test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestParseApplied(t *testing.T) { diff --git a/internal/backend/machine/qemu/clone_test.go b/internal/backend/machine/qemu/clone_test.go index 295ad1b..df9aeaa 100644 --- a/internal/backend/machine/qemu/clone_test.go +++ b/internal/backend/machine/qemu/clone_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestCloneCopiesTheDiskOfAStoppedMachine(t *testing.T) { diff --git a/internal/backend/machine/qemu/disk_test.go b/internal/backend/machine/qemu/disk_test.go index 9f5ab67..373f852 100644 --- a/internal/backend/machine/qemu/disk_test.go +++ b/internal/backend/machine/qemu/disk_test.go @@ -5,7 +5,7 @@ import ( "os/exec" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func virtualSize(t *testing.T, disk string) int64 { diff --git a/internal/backend/machine/qemu/display_test.go b/internal/backend/machine/qemu/display_test.go index dc6c67f..d76baf2 100644 --- a/internal/backend/machine/qemu/display_test.go +++ b/internal/backend/machine/qemu/display_test.go @@ -10,7 +10,7 @@ import ( "syscall" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // fakeQMP accepts one session, answers the handshake and records each diff --git a/internal/backend/machine/qemu/ephemeral_test.go b/internal/backend/machine/qemu/ephemeral_test.go index 27ffef8..11951ea 100644 --- a/internal/backend/machine/qemu/ephemeral_test.go +++ b/internal/backend/machine/qemu/ephemeral_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestEphemeralStartDiscardsWritesNextToTheDisk(t *testing.T) { diff --git a/internal/backend/machine/qemu/guestcaps.go b/internal/backend/machine/qemu/guestcaps.go index 447b93a..2595ccd 100644 --- a/internal/backend/machine/qemu/guestcaps.go +++ b/internal/backend/machine/qemu/guestcaps.go @@ -5,7 +5,7 @@ import ( "encoding/json" "fmt" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) const mountHint = "In a Linux guest: sudo mkdir -p /mnt/omavm-share && sudo mount -t virtiofs omavm-share /mnt/omavm-share" diff --git a/internal/backend/machine/qemu/guestcaps_test.go b/internal/backend/machine/qemu/guestcaps_test.go index fcdbafc..200168b 100644 --- a/internal/backend/machine/qemu/guestcaps_test.go +++ b/internal/backend/machine/qemu/guestcaps_test.go @@ -3,7 +3,7 @@ package qemu import ( "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestGuestCapabilities(t *testing.T) { diff --git a/internal/backend/machine/qemu/hostcaps.go b/internal/backend/machine/qemu/hostcaps.go index d36eafe..18d4c88 100644 --- a/internal/backend/machine/qemu/hostcaps.go +++ b/internal/backend/machine/qemu/hostcaps.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strings" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // Host paths, overridable in tests like power.SupplyDir. diff --git a/internal/backend/machine/qemu/hostlink.go b/internal/backend/machine/qemu/hostlink.go index c21d319..014975d 100644 --- a/internal/backend/machine/qemu/hostlink.go +++ b/internal/backend/machine/qemu/hostlink.go @@ -9,8 +9,8 @@ import ( "os/exec" "path/filepath" - "github.com/KitsuneSemCalda/OmaVM/internal/core" - "github.com/KitsuneSemCalda/OmaVM/internal/desktop" + "github.com/KitsuneForgering/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/desktop" ) // hostLinkDir is ~/OmaVM, the directory OmaVM exposes Machine disks diff --git a/internal/backend/machine/qemu/hostlink_test.go b/internal/backend/machine/qemu/hostlink_test.go index 309e09d..eb02611 100644 --- a/internal/backend/machine/qemu/hostlink_test.go +++ b/internal/backend/machine/qemu/hostlink_test.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestLinkCreatesAndUpdatesSymlink(t *testing.T) { diff --git a/internal/backend/machine/qemu/iso_test.go b/internal/backend/machine/qemu/iso_test.go index 43977a4..4b8ac96 100644 --- a/internal/backend/machine/qemu/iso_test.go +++ b/internal/backend/machine/qemu/iso_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // Regression: an installed Machine whose ISO was deleted, moved or was on diff --git a/internal/backend/machine/qemu/lifecycle_test.go b/internal/backend/machine/qemu/lifecycle_test.go index 077fb44..b372263 100644 --- a/internal/backend/machine/qemu/lifecycle_test.go +++ b/internal/backend/machine/qemu/lifecycle_test.go @@ -14,8 +14,8 @@ import ( "testing" "time" - "github.com/KitsuneSemCalda/OmaVM/internal/core" - "github.com/KitsuneSemCalda/OmaVM/internal/power" + "github.com/KitsuneForgering/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/power" ) func TestSlowShutdownNeverSendsQuit(t *testing.T) { diff --git a/internal/backend/machine/qemu/qemu.go b/internal/backend/machine/qemu/qemu.go index d44e51d..4a685e0 100644 --- a/internal/backend/machine/qemu/qemu.go +++ b/internal/backend/machine/qemu/qemu.go @@ -22,8 +22,8 @@ import ( "syscall" "time" - "github.com/KitsuneSemCalda/OmaVM/internal/core" - "github.com/KitsuneSemCalda/OmaVM/internal/power" + "github.com/KitsuneForgering/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/power" ) // diskSize is the virtual size of every Machine's disk: 1 TiB. The qcow2 diff --git a/internal/backend/machine/qemu/qemu_test.go b/internal/backend/machine/qemu/qemu_test.go index bfb7d4c..ac5a2d6 100644 --- a/internal/backend/machine/qemu/qemu_test.go +++ b/internal/backend/machine/qemu/qemu_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestStatusFromQMP(t *testing.T) { diff --git a/internal/backend/machine/qemu/qga_test.go b/internal/backend/machine/qemu/qga_test.go index 3bb5f7c..1465e1b 100644 --- a/internal/backend/machine/qemu/qga_test.go +++ b/internal/backend/machine/qemu/qga_test.go @@ -6,7 +6,7 @@ import ( "net" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestQGAPing(t *testing.T) { diff --git a/internal/backend/machine/qemu/qmp_test.go b/internal/backend/machine/qemu/qmp_test.go index 6ec24ba..78f9f0d 100644 --- a/internal/backend/machine/qemu/qmp_test.go +++ b/internal/backend/machine/qemu/qmp_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // scriptedQMP answers each connection's greeting and handshake, then hands diff --git a/internal/backend/machine/qemu/space_test.go b/internal/backend/machine/qemu/space_test.go index 2e5bf11..923904e 100644 --- a/internal/backend/machine/qemu/space_test.go +++ b/internal/backend/machine/qemu/space_test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestSpaceWarning(t *testing.T) { diff --git a/internal/backend/machine/qemu/statedir_test.go b/internal/backend/machine/qemu/statedir_test.go index 7062c71..838dbfa 100644 --- a/internal/backend/machine/qemu/statedir_test.go +++ b/internal/backend/machine/qemu/statedir_test.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func legacyMachine(t *testing.T, b *Backend, env core.Environment) { diff --git a/internal/backend/machine/qemu/virtiofs_test.go b/internal/backend/machine/qemu/virtiofs_test.go index 59beb71..eb83080 100644 --- a/internal/backend/machine/qemu/virtiofs_test.go +++ b/internal/backend/machine/qemu/virtiofs_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // fakeVirtiofsd points virtiofsdPath at a shell script and returns a file diff --git a/internal/backend/machine/qemu/vsock.go b/internal/backend/machine/qemu/vsock.go index b9caf03..d4057b6 100644 --- a/internal/backend/machine/qemu/vsock.go +++ b/internal/backend/machine/qemu/vsock.go @@ -14,7 +14,7 @@ import ( "strconv" "strings" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // SSH into a Machine goes over AF_VSOCK, a host↔guest socket that needs no diff --git a/internal/backend/machine/qemu/vsock_test.go b/internal/backend/machine/qemu/vsock_test.go index 37d73e3..076ddce 100644 --- a/internal/backend/machine/qemu/vsock_test.go +++ b/internal/backend/machine/qemu/vsock_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestParseCID(t *testing.T) { diff --git a/internal/core/clipboard_test.go b/internal/core/clipboard_test.go index cb04600..392e4bf 100644 --- a/internal/core/clipboard_test.go +++ b/internal/core/clipboard_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestClipboardDirection(t *testing.T) { diff --git a/internal/core/clone_test.go b/internal/core/clone_test.go index c9fcee1..5a28772 100644 --- a/internal/core/clone_test.go +++ b/internal/core/clone_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) type fakeCloneBackend struct { diff --git a/internal/core/concurrency_test.go b/internal/core/concurrency_test.go index bf3941a..bb8669c 100644 --- a/internal/core/concurrency_test.go +++ b/internal/core/concurrency_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // slowBackend blocks Create of the environment named "slow" until diff --git a/internal/core/ephemeral_test.go b/internal/core/ephemeral_test.go index cf6816a..039229a 100644 --- a/internal/core/ephemeral_test.go +++ b/internal/core/ephemeral_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) type fakeEphemeralBackend struct { diff --git a/internal/core/errors_test.go b/internal/core/errors_test.go index 666ab05..aa48466 100644 --- a/internal/core/errors_test.go +++ b/internal/core/errors_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // Error messages reach people through the CLI and the GUI's toasts: the diff --git a/internal/core/run_test.go b/internal/core/run_test.go index 7c35afd..87fa924 100644 --- a/internal/core/run_test.go +++ b/internal/core/run_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // runBackend is a Machine whose guest powers off after a few status diff --git a/internal/core/service_test.go b/internal/core/service_test.go index 77aa67f..86053d0 100644 --- a/internal/core/service_test.go +++ b/internal/core/service_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // fakeBackend is an in-memory Backend used to test Service without diff --git a/internal/core/snapshotgone_test.go b/internal/core/snapshotgone_test.go index 7049a1f..0a193c4 100644 --- a/internal/core/snapshotgone_test.go +++ b/internal/core/snapshotgone_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // A snapshot the registry lists but the disk lost (deleted by hand) must diff --git a/internal/core/status_test.go b/internal/core/status_test.go index 8570e1b..f14bd9d 100644 --- a/internal/core/status_test.go +++ b/internal/core/status_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // batchBackend answers every status in one Statuses call and fails any diff --git a/internal/core/store_test.go b/internal/core/store_test.go index e63c247..6fbc324 100644 --- a/internal/core/store_test.go +++ b/internal/core/store_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func TestConcurrentCreatesPreserveRegistry(t *testing.T) { diff --git a/internal/desktop/desktop.go b/internal/desktop/desktop.go index d66e868..55ea36f 100644 --- a/internal/desktop/desktop.go +++ b/internal/desktop/desktop.go @@ -13,7 +13,7 @@ import ( "path/filepath" "strings" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) // dataDirs lists the XDG data directories in lookup order: the user's own diff --git a/internal/desktop/desktop_test.go b/internal/desktop/desktop_test.go index 7a28c9e..a376bad 100644 --- a/internal/desktop/desktop_test.go +++ b/internal/desktop/desktop_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/KitsuneSemCalda/OmaVM/internal/core" + "github.com/KitsuneForgering/OmaVM/internal/core" ) func testLauncher(t *testing.T) *Launcher { diff --git a/packaging/omavm/PKGBUILD b/packaging/omavm/PKGBUILD index a90842d..7bb1a6c 100644 --- a/packaging/omavm/PKGBUILD +++ b/packaging/omavm/PKGBUILD @@ -5,7 +5,7 @@ pkgver=0.4.0 pkgrel=1 pkgdesc="Create, run and manage Boxes and Machines on Omarchy" arch=('x86_64') -url="https://github.com/KitsuneSemCalda/OmaVM" +url="https://github.com/KitsuneForgering/OmaVM" license=('MIT') depends=('qt6-base' 'qt6-declarative' 'glib2' 'libglvnd' 'glibc' 'zlib') makedepends=('go')