Change (ocis,OCIS) to oCIS, unify GitHub branding

This commit is contained in:
Pascal Wengerter
2021-01-28 00:32:47 +00:00
parent 8dd28582cc
commit d7b1ecb3dc
27 changed files with 79 additions and 79 deletions
+1 -1
View File
@@ -65,4 +65,4 @@ func main() {
}
```
Run the above example with `RUNTIME_KEEP_ALIVE=true` and with no `RUNTIME_KEEP_ALIVE` set to see its behavior. It requires an [OCIS binary](https://github.com/owncloud/ocis/releases) present in your `$PATH` for it to work.
Run the above example with `RUNTIME_KEEP_ALIVE=true` and with no `RUNTIME_KEEP_ALIVE` set to see its behavior. It requires an [oCIS binary](https://github.com/owncloud/ocis/releases) present in your `$PATH` for it to work.
+2 -2
View File
@@ -15,8 +15,8 @@ var (
// RootCmd returns a configured root command.
func RootCmd(cfg *config.Config) *cobra.Command {
rootCmd.PersistentFlags().StringVarP(&cfg.Hostname, "hostname", "n", "localhost", "host with a running OCIS runtime.")
rootCmd.PersistentFlags().StringVarP(&cfg.Port, "port", "p", "10666", "port to send messages to the rpc OCIS runtime.")
rootCmd.PersistentFlags().StringVarP(&cfg.Hostname, "hostname", "n", "localhost", "host with a running oCIS runtime.")
rootCmd.PersistentFlags().StringVarP(&cfg.Port, "port", "p", "10666", "port to send messages to the rpc oCIS runtime.")
rootCmd.PersistentFlags().BoolVarP(&cfg.KeepAlive, "keep-alive", "k", false, "restart supervised processes that abruptly die.")
viper.BindPFlag("hostname", rootCmd.PersistentFlags().Lookup("hostname"))
+3 -3
View File
@@ -28,10 +28,10 @@ type Controller struct {
Store storage.Storage
// Bin is the OCIS single binary name.
// Bin is the oCIS single binary name.
Bin string
// BinPath is the OCIS single binary path withing the host machine.
// BinPath is the oCIS single binary path withing the host machine.
// The Controller needs to know the binary location in order to spawn new extensions.
BinPath string
@@ -70,7 +70,7 @@ func NewController(o ...Option) Controller {
// Get binary location from $PATH lookup. If not present, it uses arg[0] as entry point.
path, err := exec.LookPath(c.Bin)
if err != nil {
c.log.Debug().Msg("OCIS binary not present in PATH, using Args[0]")
c.log.Debug().Msg("oCIS binary not present in PATH, using Args[0]")
path = os.Args[0]
}
c.BinPath = path
+3 -3
View File
@@ -30,7 +30,7 @@ var (
"registry", // :8000
}
// Extensions are ocis extension services
// Extensions are oCIS extension services
Extensions = []string{
"glauth",
"konnectd",
@@ -70,7 +70,7 @@ type Runtime struct {
c *config.Config
}
// New creates a new ocis + micro runtime
// New creates a new oCIS + micro runtime
func New(cfg *config.Config) Runtime {
return Runtime{
c: cfg,
@@ -85,7 +85,7 @@ func (r *Runtime) Start() error {
)
}
// Launch ocis default ocis extensions.
// Launch oCIS default oCIS extensions.
func (r *Runtime) Launch() {
var client *rpc.Client
var err error