go-vise

Constrained Size Output Virtual Machine
Info | Log | Files | Refs | README | LICENSE

commit ca075a6a8bdc5c9117cc93792b80805b430a79ac
parent 85f85feb8fbb2c58bf6dc5273866d6206af6b6cc
Author: lash <dev@holbrook.no>
Date:   Thu, 20 Apr 2023 12:56:20 +0100

Amend import paths to specify git protocol

Diffstat:
Masm/asm.go | 2+-
Masm/asm_test.go | 2+-
Masm/log.go | 2+-
Masm/menu.go | 2+-
Masm/menu_test.go | 2+-
Mcache/log.go | 2+-
Mdev/asm/main.go | 2+-
Mdev/disasm/main.go | 2+-
Mdev/gendata/main.go | 2+-
Mdev/interactive/main.go | 2+-
Mengine/default.go | 6+++---
Mengine/engine.go | 10+++++-----
Mengine/engine_test.go | 8++++----
Mengine/log.go | 2+-
Mengine/loop_test.go | 6+++---
Mengine/persist.go | 4++--
Mengine/persist_test.go | 6+++---
Mexamples/profile/main.go | 8++++----
Mexamples/session/main.go | 8++++----
Mexamples/validate/main.go | 8++++----
Mpersist/fs.go | 4++--
Mpersist/fs_test.go | 6+++---
Mpersist/log.go | 2+-
Mpersist/persist.go | 4++--
Mrender/log.go | 2+-
Mrender/page.go | 4++--
Mrender/page_test.go | 2+-
Mrender/size_test.go | 6+++---
Mresource/log.go | 2+-
Mstate/log.go | 2+-
Mtestdata/testdata.go | 2+-
Mvm/input.go | 4++--
Mvm/log.go | 2+-
Mvm/runner.go | 8++++----
Mvm/runner_test.go | 8++++----
35 files changed, 72 insertions(+), 72 deletions(-)

diff --git a/asm/asm.go b/asm/asm.go @@ -13,7 +13,7 @@ import ( "github.com/alecthomas/participle/v2" "github.com/alecthomas/participle/v2/lexer" - "git.defalsify.org/vise/vm" + "git.defalsify.org/vise.git/vm" ) diff --git a/asm/asm_test.go b/asm/asm_test.go @@ -7,7 +7,7 @@ import ( "log" "testing" - "git.defalsify.org/vise/vm" + "git.defalsify.org/vise.git/vm" ) diff --git a/asm/log.go b/asm/log.go @@ -1,7 +1,7 @@ package asm import ( - "git.defalsify.org/vise/logging" + "git.defalsify.org/vise.git/logging" ) var ( diff --git a/asm/menu.go b/asm/menu.go @@ -3,7 +3,7 @@ package asm import ( "fmt" - "git.defalsify.org/vise/vm" + "git.defalsify.org/vise.git/vm" ) // BatchCode defines quasi-opcodes that expand to mulitple individual vm instructions. diff --git a/asm/menu_test.go b/asm/menu_test.go @@ -3,7 +3,7 @@ package asm import ( "testing" - "git.defalsify.org/vise/vm" + "git.defalsify.org/vise.git/vm" ) diff --git a/cache/log.go b/cache/log.go @@ -1,7 +1,7 @@ package cache import ( - "git.defalsify.org/vise/logging" + "git.defalsify.org/vise.git/logging" ) var ( diff --git a/dev/asm/main.go b/dev/asm/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - "git.defalsify.org/vise/asm" + "git.defalsify.org/vise.git/asm" ) func main() { diff --git a/dev/disasm/main.go b/dev/disasm/main.go @@ -5,7 +5,7 @@ import ( "os" "io/ioutil" - "git.defalsify.org/vise/vm" + "git.defalsify.org/vise.git/vm" ) func main() { diff --git a/dev/gendata/main.go b/dev/gendata/main.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "git.defalsify.org/vise/testdata" + "git.defalsify.org/vise.git/testdata" ) func main() { diff --git a/dev/interactive/main.go b/dev/interactive/main.go @@ -6,7 +6,7 @@ import ( "fmt" "os" - "git.defalsify.org/vise/engine" + "git.defalsify.org/vise.git/engine" ) func main() { diff --git a/engine/default.go b/engine/default.go @@ -3,9 +3,9 @@ package engine import ( "context" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/resource" - "git.defalsify.org/vise/state" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/resource" + "git.defalsify.org/vise.git/state" ) // NewDefaultEngine is a convenience function to instantiate a filesystem-backed engine with no output constraints. diff --git a/engine/engine.go b/engine/engine.go @@ -5,11 +5,11 @@ import ( "fmt" "io" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/render" - "git.defalsify.org/vise/resource" - "git.defalsify.org/vise/state" - "git.defalsify.org/vise/vm" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/render" + "git.defalsify.org/vise.git/resource" + "git.defalsify.org/vise.git/state" + "git.defalsify.org/vise.git/vm" ) // Config globally defines behavior of all components driven by the engine. diff --git a/engine/engine_test.go b/engine/engine_test.go @@ -8,10 +8,10 @@ import ( "path" "testing" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/resource" - "git.defalsify.org/vise/state" - "git.defalsify.org/vise/testdata" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/resource" + "git.defalsify.org/vise.git/state" + "git.defalsify.org/vise.git/testdata" ) var ( diff --git a/engine/log.go b/engine/log.go @@ -1,7 +1,7 @@ package engine import ( - "git.defalsify.org/vise/logging" + "git.defalsify.org/vise.git/logging" ) var ( diff --git a/engine/loop_test.go b/engine/loop_test.go @@ -8,9 +8,9 @@ import ( "strings" "testing" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/resource" - "git.defalsify.org/vise/state" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/resource" + "git.defalsify.org/vise.git/state" ) func TestLoopTop(t *testing.T) { diff --git a/engine/persist.go b/engine/persist.go @@ -4,8 +4,8 @@ import ( "context" "io" - "git.defalsify.org/vise/persist" - "git.defalsify.org/vise/resource" + "git.defalsify.org/vise.git/persist" + "git.defalsify.org/vise.git/resource" ) // RunPersisted performs a single vm execution from client input using a persisted state. diff --git a/engine/persist_test.go b/engine/persist_test.go @@ -6,9 +6,9 @@ import ( "os" "testing" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/persist" - "git.defalsify.org/vise/state" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/persist" + "git.defalsify.org/vise.git/state" ) func TestPersist(t *testing.T) { diff --git a/examples/profile/main.go b/examples/profile/main.go @@ -11,10 +11,10 @@ import ( testdataloader "github.com/peteole/testdata-loader" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/engine" - "git.defalsify.org/vise/resource" - "git.defalsify.org/vise/state" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/engine" + "git.defalsify.org/vise.git/resource" + "git.defalsify.org/vise.git/state" ) const ( diff --git a/examples/session/main.go b/examples/session/main.go @@ -11,10 +11,10 @@ import ( testdataloader "github.com/peteole/testdata-loader" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/engine" - "git.defalsify.org/vise/resource" - "git.defalsify.org/vise/state" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/engine" + "git.defalsify.org/vise.git/resource" + "git.defalsify.org/vise.git/state" ) var ( diff --git a/examples/validate/main.go b/examples/validate/main.go @@ -9,10 +9,10 @@ import ( testdataloader "github.com/peteole/testdata-loader" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/engine" - "git.defalsify.org/vise/resource" - "git.defalsify.org/vise/state" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/engine" + "git.defalsify.org/vise.git/resource" + "git.defalsify.org/vise.git/state" ) var ( diff --git a/persist/fs.go b/persist/fs.go @@ -6,8 +6,8 @@ import ( "path/filepath" "github.com/fxamacker/cbor/v2" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/state" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/state" ) // FsPersister is an implementation of Persister that saves state to the file system. diff --git a/persist/fs_test.go b/persist/fs_test.go @@ -6,9 +6,9 @@ import ( "reflect" "testing" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/state" - "git.defalsify.org/vise/vm" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/state" + "git.defalsify.org/vise.git/vm" ) func TestSerializeState(t *testing.T) { diff --git a/persist/log.go b/persist/log.go @@ -1,7 +1,7 @@ package persist import ( - "git.defalsify.org/vise/logging" + "git.defalsify.org/vise.git/logging" ) var ( diff --git a/persist/persist.go b/persist/persist.go @@ -1,8 +1,8 @@ package persist import ( - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/state" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/state" ) // Persister interface defines the methods needed for a component that can store the execution state to a storage location. diff --git a/render/log.go b/render/log.go @@ -1,7 +1,7 @@ package render import ( - "git.defalsify.org/vise/logging" + "git.defalsify.org/vise.git/logging" ) var ( diff --git a/render/page.go b/render/page.go @@ -6,8 +6,8 @@ import ( "strings" "text/template" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/resource" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/resource" ) // Page exectues output rendering into pages constrained by size. diff --git a/render/page_test.go b/render/page_test.go @@ -3,7 +3,7 @@ package render import ( "testing" - "git.defalsify.org/vise/cache" + "git.defalsify.org/vise.git/cache" ) diff --git a/render/size_test.go b/render/size_test.go @@ -5,9 +5,9 @@ import ( "fmt" "testing" - "git.defalsify.org/vise/state" - "git.defalsify.org/vise/resource" - "git.defalsify.org/vise/cache" + "git.defalsify.org/vise.git/state" + "git.defalsify.org/vise.git/resource" + "git.defalsify.org/vise.git/cache" ) type TestSizeResource struct { diff --git a/resource/log.go b/resource/log.go @@ -1,7 +1,7 @@ package resource import ( - "git.defalsify.org/vise/logging" + "git.defalsify.org/vise.git/logging" ) var ( diff --git a/state/log.go b/state/log.go @@ -1,7 +1,7 @@ package state import ( - "git.defalsify.org/vise/logging" + "git.defalsify.org/vise.git/logging" ) var ( diff --git a/testdata/testdata.go b/testdata/testdata.go @@ -8,7 +8,7 @@ import ( testdataloader "github.com/peteole/testdata-loader" - "git.defalsify.org/vise/vm" + "git.defalsify.org/vise.git/vm" ) type genFunc func() error diff --git a/vm/input.go b/vm/input.go @@ -5,8 +5,8 @@ import ( "fmt" "regexp" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/state" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/state" ) var ( diff --git a/vm/log.go b/vm/log.go @@ -1,7 +1,7 @@ package vm import ( - "git.defalsify.org/vise/logging" + "git.defalsify.org/vise.git/logging" ) var ( diff --git a/vm/runner.go b/vm/runner.go @@ -4,10 +4,10 @@ import ( "context" "fmt" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/render" - "git.defalsify.org/vise/resource" - "git.defalsify.org/vise/state" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/render" + "git.defalsify.org/vise.git/resource" + "git.defalsify.org/vise.git/state" ) // Vm holds sub-components mutated by the vm execution. diff --git a/vm/runner_test.go b/vm/runner_test.go @@ -7,10 +7,10 @@ import ( "log" "testing" - "git.defalsify.org/vise/cache" - "git.defalsify.org/vise/render" - "git.defalsify.org/vise/resource" - "git.defalsify.org/vise/state" + "git.defalsify.org/vise.git/cache" + "git.defalsify.org/vise.git/render" + "git.defalsify.org/vise.git/resource" + "git.defalsify.org/vise.git/state" ) var dynVal = "three"