Skip to content

Commit

Permalink
Use new wrstat-server repo in place on in-repo server code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkw31 committed Aug 22, 2024
1 parent 48a5907 commit 3c4d647
Show file tree
Hide file tree
Showing 65 changed files with 19 additions and 37,790 deletions.
2 changes: 1 addition & 1 deletion cmd/dbinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ import (
"log/slog"

"github.com/spf13/cobra"
"github.com/wtsi-hgi/wrstat-server/v4/server"
"github.com/wtsi-ssg/wrstat/v4/basedirs"
"github.com/wtsi-ssg/wrstat/v4/dgut"
"github.com/wtsi-ssg/wrstat/v4/server"
)

// dbinfoCmd represents the server command.
Expand Down
349 changes: 0 additions & 349 deletions cmd/server.go

This file was deleted.

15 changes: 8 additions & 7 deletions cmd/where.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,21 @@ import (
"github.com/olekukonko/tablewriter"
"github.com/spf13/cobra"
gas "github.com/wtsi-hgi/go-authserver"
"github.com/wtsi-ssg/wrstat/v4/server"
"github.com/wtsi-hgi/wrstat-server/v4/server"
)

type Error string

func (e Error) Error() string { return string(e) }

const (
defaultWhereSplits = 2
defaultSize = "50M"
hoursPerDay = 24
jwtBasename = ".wrstat.jwt"
errBadGroupArea = Error("unknown group area")
privatePerms os.FileMode = 0600
defaultWhereSplits = 2
defaultSize = "50M"
hoursPerDay = 24
jwtBasename = ".wrstat.jwt"
errBadGroupArea = Error("unknown group area")
privatePerms os.FileMode = 0600
serverTokenBasename = ".wrstat.servertoken"
)

// options for this cmd.
Expand Down
Loading

0 comments on commit 3c4d647

Please sign in to comment.