Skip to content

Commit c4aff45

Browse files
authored
Merge pull request #46 from servian/Servianify
Branding updated to servian, tested against Postgres 10.7 for AWS Aurora serverless support
2 parents b86e85b + 0af0e6b commit c4aff45

File tree

16 files changed

+49
-49
lines changed

16 files changed

+49
-49
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,10 @@ jobs:
149149
150150
if [ -z "${prerelease}" ]; then
151151
echo "No pre-release in version, creating release"
152-
ghr -u vibrato ${version} output
152+
ghr -u servian ${version} output
153153
else
154154
echo "Found pre-release in version, creating pre-release"
155-
ghr -u vibrato -prerelease ${version} output
155+
ghr -u servian -prerelease ${version} output
156156
fi
157157
fi
158158

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe
4646

4747
### Enforcement
4848

49-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at info@vibrato.com.au. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
49+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at thomas.winsnes@servian.com. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
5050

5151
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
5252

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright © 2018 Servian
3+
Copyright © 2020 Servian
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
-21.4 KB
Binary file not shown.

assets/images/servian_logo.png

5.79 KB
Loading

cmd/root.go

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright © 2018 Servian
1+
// Copyright © 2020 Servian
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal
@@ -21,66 +21,66 @@
2121
package cmd
2222

2323
import (
24-
"fmt"
25-
"os"
24+
"fmt"
25+
"os"
2626

27-
"github.com/servian/TechTestApp/config"
28-
"github.com/servian/TechTestApp/daemon"
29-
"github.com/spf13/cobra"
27+
"github.com/servian/TechTestApp/config"
28+
"github.com/servian/TechTestApp/daemon"
29+
"github.com/spf13/cobra"
3030
)
3131

3232
var cfgFile string
3333
var cfg *daemon.Config
3434

3535
// rootCmd represents the base command when called without any subcommands
3636
var rootCmd = &cobra.Command{
37-
Use: "TechTestApp",
38-
Short: "Application used to test potential candidates at Servian",
39-
Long: `
40-
.:ooooool, .:odddddl;. .;ooooc. .l, ;c. ::. 'coddddoc' ,looooooc.
37+
Use: "TechTestApp",
38+
Short: "Application used to test potential candidates at Servian",
39+
Long: `
40+
.:ooooool, .:odddddl;. .;ooooc. .l, ;c. ::. 'coddddoc' ,looooooc.
4141
'kk;....';, .lOx:'...,cxkc. .dOc.... .xO' ,0d. .kk. ,xko;....;okx, .xkl,....;dOl.
4242
:Xl .xO, :0d. ;Kl ,0o .dO' .kk. :0d. .d0: .xO' lK:
4343
.oOxc,. lKl...........oK: :Kc l0; :Kc .kk. .Ok. .kO. '0d '0d
4444
.;ldddo;. oXkdddddddddddxx, :Kc .kk. .Ox. .kk. '0d d0' '0d '0d
45-
.cOk. lKc :Kc :0l o0; .kk. .Ok. .k0' '0d '0d
46-
cXc .xO; .. :Kc .d0' ;0o .kk. :0d. .dN0' '0d '0d
45+
.cOk. lKc :Kc :0l o0; .kk. .Ok. .k0' '0d '0d
46+
cXc .xO; .. :Kc .d0' ;0o .kk. :0d. .dN0' '0d '0d
4747
,c,....'cOx. .lOxc,...':dkc. :Kc 'Ox',kk. .kk. ,xko;'..';okk00, '0d '0d ';;;;;;;;;;,.
4848
'looooool;. .;ldddddo:. 'l' .lool. :: 'coddddoc'.;l. .l; .c; .cxxxxxxxxxxo.
4949
5050
This application is used as part of testing potential candiates at Sevian.
5151
5252
Please visit http://Servian.com for more details`,
53-
Version: "0.5.0",
53+
Version: "0.6.0",
5454
}
5555

5656
// Execute adds all child commands to the root command and sets flags appropriately.
5757
// This is called by main.main(). It only needs to happen once to the rootCmd.
5858
func Execute() {
59-
if err := rootCmd.Execute(); err != nil {
60-
fmt.Println(err)
61-
os.Exit(1)
62-
}
59+
if err := rootCmd.Execute(); err != nil {
60+
fmt.Println(err)
61+
os.Exit(1)
62+
}
6363
}
6464

6565
func init() {
66-
cobra.OnInitialize(initConfig)
66+
cobra.OnInitialize(initConfig)
6767
}
6868

6969
// initConfig reads in config file and ENV variables if set.
7070
func initConfig() {
71-
conf, err := config.LoadConfig()
71+
conf, err := config.LoadConfig()
7272

73-
if err != nil {
74-
fmt.Print(err)
75-
os.Exit(1)
76-
}
73+
if err != nil {
74+
fmt.Print(err)
75+
os.Exit(1)
76+
}
7777

78-
cfg = &daemon.Config{}
79-
cfg.UI.DB.DbName = conf.DbName
80-
cfg.UI.DB.DbPassword = conf.DbPassword
81-
cfg.UI.DB.DbUser = conf.DbUser
82-
cfg.UI.DB.DbHost = conf.DbHost
83-
cfg.UI.DB.DbPort = conf.DbPort
84-
cfg.ListenSpec = conf.ListenHost + ":" + conf.ListenPort
78+
cfg = &daemon.Config{}
79+
cfg.UI.DB.DbName = conf.DbName
80+
cfg.UI.DB.DbPassword = conf.DbPassword
81+
cfg.UI.DB.DbUser = conf.DbUser
82+
cfg.UI.DB.DbHost = conf.DbHost
83+
cfg.UI.DB.DbPort = conf.DbPort
84+
cfg.ListenSpec = conf.ListenHost + ":" + conf.ListenPort
8585

8686
}

cmd/serve.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright © 2018 Servian
1+
// Copyright © 2020 Servian
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal

cmd/updatedb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright © 2018 Servian
1+
// Copyright © 2020 Servian
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright © 2018 Servian
1+
// Copyright © 2020 Servian
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal

daemon/deamon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright © 2018 Servian
1+
// Copyright © 2020 Servian
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)