Skip to content

Commit

Permalink
Updated project for new github org.
Browse files Browse the repository at this point in the history
  • Loading branch information
oubiwann committed Aug 30, 2021
1 parent 455886a commit 7578360
Show file tree
Hide file tree
Showing 20 changed files with 52 additions and 50 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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]

Expand All @@ -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
14 changes: 7 additions & 7 deletions cmd/midiserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/geomyidia/midiserver
module github.com/ut-proj/midiserver

go 1.12

Expand Down
4 changes: 2 additions & 2 deletions internal/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions pkg/commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 ...
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/devices.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package commands
import (
"fmt"

"github.com/geomyidia/midiserver/pkg/midi"
"github.com/ut-proj/midiserver/pkg/midi"
)

func ListDevices() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkg/erl/datatypes/datatypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
4 changes: 2 additions & 2 deletions pkg/erl/messages/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions pkg/erl/messages/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/erl/messages/midi.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
8 changes: 4 additions & 4 deletions pkg/erl/messages/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkg/erl/messages/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkg/erl/opts.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package erl

import (
"github.com/geomyidia/midiserver/pkg/types"
"github.com/ut-proj/midiserver/pkg/types"
)

func Continue() types.Result {
Expand Down
2 changes: 1 addition & 1 deletion pkg/erl/packets/packets.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/midi/midi.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
12 changes: 6 additions & 6 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/text/text.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
9 changes: 4 additions & 5 deletions test/erl/messages_midi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -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() {
Expand Down

0 comments on commit 7578360

Please sign in to comment.