diff --git a/Makefile b/Makefile index eeb2304..965455d 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ BIN_APP = bin/$(APP) CMD_APP = cmd/$(APP) DVCS_HOST = github.com -ORG = geomyidia +ORG = ut-proj PROJ = $(APP) FQ_PROJ = $(DVCS_HOST)/$(ORG)/$(PROJ) diff --git a/README.md b/README.md index 9d4eeb0..4594c01 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # midiserver [![Build Status][gh-actions-badge]][gh-actions] +[![Go Versions][go badge]][go] [![LFE Versions][lfe badge]][lfe] -[![Erlang Versions][erlang badge]][versions] +[![Erlang Versions][erlang badge]][erlang] [![][logo]][logo-large] @@ -20,10 +21,12 @@ Copyright © 2020-2021, Duncan McGreggor [logo]: assets/images/logo-v1-x250.png [logo-large]: assets/images/logo-v1-x1000.png -[github]: https://github.com/geomyidia/midiserver -[gh-actions-badge]: https://github.com/geomyidia/midiserver/workflows/ci%2Fcd/badge.svg -[gh-actions]: https://github.com/geomyidia/midiserver/actions -[lfe]: https://github.com/rvirding/lfe +[github]: https://github.com/ut-proj/midiserver +[gh-actions-badge]: https://github.com/ut-proj/midiserver/workflows/ci%2Fcd/badge.svg +[gh-actions]: https://github.com/ut-proj/midiserver/actions +[go]: https://golang.org/ +[go badge]: https://img.shields.io/badge/go-1.16-blue.svg +[lfe]: https://github.com/lfe/lfe [lfe badge]: https://img.shields.io/badge/lfe-2.0-blue.svg [erlang badge]: https://img.shields.io/badge/erlang-21%20to%2024-blue.svg -[versions]: https://github.com/geomyidia/midiserver/blob/master/.github/workflows/cicd.yml +[erlang]: https://github.com/ut-proj/midiserver/blob/master/.github/workflows/cicd.yml diff --git a/cmd/midiserver/main.go b/cmd/midiserver/main.go index dbf772b..c1c915f 100644 --- a/cmd/midiserver/main.go +++ b/cmd/midiserver/main.go @@ -5,13 +5,13 @@ import ( log "github.com/sirupsen/logrus" - "github.com/geomyidia/midiserver/internal/app" - "github.com/geomyidia/midiserver/internal/cli" - "github.com/geomyidia/midiserver/pkg/commands" - "github.com/geomyidia/midiserver/pkg/midi" - "github.com/geomyidia/midiserver/pkg/server" - "github.com/geomyidia/midiserver/pkg/types" - "github.com/geomyidia/midiserver/pkg/version" + "github.com/ut-proj/midiserver/internal/app" + "github.com/ut-proj/midiserver/internal/cli" + "github.com/ut-proj/midiserver/pkg/commands" + "github.com/ut-proj/midiserver/pkg/midi" + "github.com/ut-proj/midiserver/pkg/server" + "github.com/ut-proj/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/version" ) func main() { diff --git a/go.mod b/go.mod index 7bd5440..f6b187d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/geomyidia/midiserver +module github.com/ut-proj/midiserver go 1.12 diff --git a/internal/cli/cli.go b/internal/cli/cli.go index eda9c7c..f42d9ef 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -5,8 +5,8 @@ import ( "fmt" "os" - "github.com/geomyidia/midiserver/pkg/types" - "github.com/geomyidia/midiserver/pkg/version" + "github.com/ut-proj/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/version" ) const ( diff --git a/pkg/commands/commands.go b/pkg/commands/commands.go index 9a7c2f3..56cf8c7 100644 --- a/pkg/commands/commands.go +++ b/pkg/commands/commands.go @@ -7,10 +7,10 @@ import ( log "github.com/sirupsen/logrus" - "github.com/geomyidia/midiserver/pkg/erl/messages" - "github.com/geomyidia/midiserver/pkg/text" - "github.com/geomyidia/midiserver/pkg/types" - "github.com/geomyidia/midiserver/pkg/version" + "github.com/ut-proj/midiserver/pkg/erl/messages" + "github.com/ut-proj/midiserver/pkg/text" + "github.com/ut-proj/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/version" ) // Dispatch ... diff --git a/pkg/commands/devices.go b/pkg/commands/devices.go index 738837c..b81438b 100644 --- a/pkg/commands/devices.go +++ b/pkg/commands/devices.go @@ -3,7 +3,7 @@ package commands import ( "fmt" - "github.com/geomyidia/midiserver/pkg/midi" + "github.com/ut-proj/midiserver/pkg/midi" ) func ListDevices() { diff --git a/pkg/commands/example.go b/pkg/commands/example.go index ae1abca..11b84a9 100644 --- a/pkg/commands/example.go +++ b/pkg/commands/example.go @@ -7,7 +7,7 @@ import ( "gitlab.com/gomidi/midi/writer" driver "gitlab.com/gomidi/rtmididrv" - "github.com/geomyidia/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/types" ) type Opts struct { diff --git a/pkg/erl/datatypes/datatypes.go b/pkg/erl/datatypes/datatypes.go index 7a644cd..9c54401 100644 --- a/pkg/erl/datatypes/datatypes.go +++ b/pkg/erl/datatypes/datatypes.go @@ -7,7 +7,7 @@ import ( erlang "github.com/okeuday/erlang_go/v2/erlang" log "github.com/sirupsen/logrus" - "github.com/geomyidia/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/types" ) const ( diff --git a/pkg/erl/messages/command.go b/pkg/erl/messages/command.go index 682551c..27814e6 100644 --- a/pkg/erl/messages/command.go +++ b/pkg/erl/messages/command.go @@ -5,8 +5,8 @@ import ( erlang "github.com/okeuday/erlang_go/v2/erlang" - "github.com/geomyidia/midiserver/pkg/erl/datatypes" - "github.com/geomyidia/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/erl/datatypes" + "github.com/ut-proj/midiserver/pkg/types" ) type CommandMessage struct { diff --git a/pkg/erl/messages/handlers.go b/pkg/erl/messages/handlers.go index 0657dcd..8ac9a18 100644 --- a/pkg/erl/messages/handlers.go +++ b/pkg/erl/messages/handlers.go @@ -4,8 +4,8 @@ import ( erlang "github.com/okeuday/erlang_go/v2/erlang" log "github.com/sirupsen/logrus" - "github.com/geomyidia/midiserver/pkg/erl/datatypes" - "github.com/geomyidia/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/erl/datatypes" + "github.com/ut-proj/midiserver/pkg/types" ) func handleTuple(tuple erlang.OtpErlangTuple) (*CommandMessage, error) { diff --git a/pkg/erl/messages/midi.go b/pkg/erl/messages/midi.go index 40367a4..175c9e8 100644 --- a/pkg/erl/messages/midi.go +++ b/pkg/erl/messages/midi.go @@ -8,8 +8,8 @@ import ( erlang "github.com/okeuday/erlang_go/v2/erlang" log "github.com/sirupsen/logrus" - "github.com/geomyidia/midiserver/pkg/erl/datatypes" - "github.com/geomyidia/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/erl/datatypes" + "github.com/ut-proj/midiserver/pkg/types" ) type MidiCallGroup struct { diff --git a/pkg/erl/messages/processor.go b/pkg/erl/messages/processor.go index 1740fef..4b79f79 100644 --- a/pkg/erl/messages/processor.go +++ b/pkg/erl/messages/processor.go @@ -3,10 +3,10 @@ package messages import ( log "github.com/sirupsen/logrus" - "github.com/geomyidia/midiserver/pkg/erl" - "github.com/geomyidia/midiserver/pkg/erl/datatypes" - "github.com/geomyidia/midiserver/pkg/erl/packets" - "github.com/geomyidia/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/erl" + "github.com/ut-proj/midiserver/pkg/erl/datatypes" + "github.com/ut-proj/midiserver/pkg/erl/packets" + "github.com/ut-proj/midiserver/pkg/types" ) type MessageProcessor struct { diff --git a/pkg/erl/messages/response.go b/pkg/erl/messages/response.go index 4a06843..8d44b38 100644 --- a/pkg/erl/messages/response.go +++ b/pkg/erl/messages/response.go @@ -6,7 +6,7 @@ import ( erlang "github.com/okeuday/erlang_go/v2/erlang" log "github.com/sirupsen/logrus" - "github.com/geomyidia/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/types" ) type Response struct { diff --git a/pkg/erl/opts.go b/pkg/erl/opts.go index 7c8db47..a86b866 100644 --- a/pkg/erl/opts.go +++ b/pkg/erl/opts.go @@ -1,7 +1,7 @@ package erl import ( - "github.com/geomyidia/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/types" ) func Continue() types.Result { diff --git a/pkg/erl/packets/packets.go b/pkg/erl/packets/packets.go index e7c0235..6155e08 100644 --- a/pkg/erl/packets/packets.go +++ b/pkg/erl/packets/packets.go @@ -10,7 +10,7 @@ import ( erlang "github.com/okeuday/erlang_go/v2/erlang" log "github.com/sirupsen/logrus" - "github.com/geomyidia/midiserver/pkg/erl" + "github.com/ut-proj/midiserver/pkg/erl" ) // Constants diff --git a/pkg/midi/midi.go b/pkg/midi/midi.go index 454931d..c278f3c 100644 --- a/pkg/midi/midi.go +++ b/pkg/midi/midi.go @@ -11,7 +11,7 @@ import ( "gitlab.com/gomidi/midi/writer" "gitlab.com/gomidi/rtmididrv" - "github.com/geomyidia/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/types" ) type System struct { diff --git a/pkg/server/server.go b/pkg/server/server.go index 9a4fbfb..1d516d5 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -7,12 +7,12 @@ import ( log "github.com/sirupsen/logrus" - "github.com/geomyidia/midiserver/internal/util" - "github.com/geomyidia/midiserver/pkg/commands" - "github.com/geomyidia/midiserver/pkg/erl" - "github.com/geomyidia/midiserver/pkg/erl/messages" - "github.com/geomyidia/midiserver/pkg/midi" - "github.com/geomyidia/midiserver/pkg/types" + "github.com/ut-proj/midiserver/internal/util" + "github.com/ut-proj/midiserver/pkg/commands" + "github.com/ut-proj/midiserver/pkg/erl" + "github.com/ut-proj/midiserver/pkg/erl/messages" + "github.com/ut-proj/midiserver/pkg/midi" + "github.com/ut-proj/midiserver/pkg/types" ) func Serve(ctx context.Context, midiSys *midi.System, flags *types.Flags) { diff --git a/pkg/text/text.go b/pkg/text/text.go index 4e182c9..7d2b6df 100644 --- a/pkg/text/text.go +++ b/pkg/text/text.go @@ -3,7 +3,7 @@ package text import ( log "github.com/sirupsen/logrus" - "github.com/geomyidia/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/types" ) type Response struct { diff --git a/test/erl/messages_midi_test.go b/test/erl/messages_midi_test.go index 5b850b6..ff6579e 100644 --- a/test/erl/messages_midi_test.go +++ b/test/erl/messages_midi_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/suite" - "github.com/geomyidia/midiserver/pkg/erl" - "github.com/geomyidia/midiserver/pkg/erl/messages" - "github.com/geomyidia/midiserver/pkg/erl/packets" - "github.com/geomyidia/midiserver/pkg/types" + "github.com/ut-proj/midiserver/pkg/erl" + "github.com/ut-proj/midiserver/pkg/erl/messages" + "github.com/ut-proj/midiserver/pkg/erl/packets" + "github.com/ut-proj/midiserver/pkg/types" ) const ( @@ -36,7 +36,6 @@ func (suite *MidiMessageTestSuite) SetupTest() { suite.device, _ = dPkt.Term() nPkt, _ := packets.NewPacket(noteOnBytes, opts) suite.noteOn, _ = nPkt.Term() - } func (suite *MidiMessageTestSuite) TestConvertDevice() {