Skip to content

Commit 5c1dfa7

Browse files
committed
chore(pkg): change deis to drycc
1 parent 777f37a commit 5c1dfa7

15 files changed

Lines changed: 57 additions & 57 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# How to Contribute
22

3-
This project is part of Hephy. You can find the latest contribution
4-
guidelines [at the Hephy project](https://github.com/teamhephy/deis/blob/master/CONTRIBUTING.md).
3+
This project is part of Drycc. You can find the latest contribution
4+
guidelines [at the Drycc project](https://github.com/drycc/drycc/blob/master/CONTRIBUTING.md).

MAINTAINERS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Hephy Maintainers
1+
# Drycc Maintainers
22

3-
This project is part of Hephy. The official maintainers documentation is
4-
located [in the main project](https://github.com/teamhephy/deis/blob/master/MAINTAINERS.md).
3+
This project is part of Drycc. The official maintainers documentation is
4+
located [in the main project](https://github.com/drycc/drycc/blob/master/MAINTAINERS.md).

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# Hephy Pkg
1+
# Drycc Pkg
22

3-
[![Build Status](https://travis-ci.org/deis/pkg.svg?branch=master)](https://travis-ci.org/deis/pkg)
4-
[![Go Report Card](https://goreportcard.com/badge/github.com/teamhephy/pkg)](https://goreportcard.com/report/github.com/teamhephy/pkg)
5-
[![GoDoc](https://godoc.org/github.com/teamhephy/pkg?status.svg)](https://godoc.org/github.com/teamhephy/pkg)
3+
[![Build Status](https://travis-ci.org/drycc/pkg.svg?branch=master)](https://travis-ci.org/drycc/pkg)
4+
[![Go Report Card](https://goreportcard.com/badge/github.com/drycc/pkg)](https://goreportcard.com/report/github.com/drycc/pkg)
5+
[![GoDoc](https://godoc.org/github.com/drycc/pkg?status.svg)](https://godoc.org/github.com/drycc/pkg)
66

7-
The Hephy Pkg project contains shared Go libraries that are used by
8-
several Hephy projects.
7+
The Drycc Pkg project contains shared Go libraries that are used by
8+
several Drycc projects.
99

1010
## Usage
1111

1212
Add this project to your `vendor/` directory using Godeps or
1313
[glide](https://github.com/Masterminds/glide):
1414

1515
```
16-
$ glide get --import github.com/teamhephy/pkg
16+
$ glide get --import github.com/drycc/pkg
1717
```
1818

1919
(The `--import` flag will get any additional dependencies.)

aboutme/aboutme.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func (me *Me) loadPod() (*v1.Pod, string, error) {
185185
//
186186
// The selector must be a label selector.
187187
func (me *Me) findPodInNamespaces(selector string) (*v1.Pod, string, error) {
188-
// Get the deis namespace. If it does not exist, get the default namespce.
188+
// Get the drycc namespace. If it does not exist, get the default namespce.
189189
s, err := labels.Parse(selector)
190190
if err == nil {
191191
ns, err := me.c.CoreV1().Namespaces().List(metav1.ListOptions{LabelSelector: s.String()})

env/envvar_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
func TestGet(t *testing.T) {
1212
reg, router, cxt := cookoo.Cookoo()
1313

14-
drink := "DEIS_DRINK_OF_CHOICE"
15-
cookies := "DEIS_FAVORITE_COOKIES"
16-
snack := "DEIS_SNACK_TIME"
14+
drink := "DRYCC_DRINK_OF_CHOICE"
15+
cookies := "DRYCC_FAVORITE_COOKIES"
16+
snack := "DRYCC_SNACK_TIME"
1717
snackVal := fmt.Sprintf("$%s and $%s cookies", drink, cookies)
1818

1919
// Set drink, but not cookies.
@@ -102,7 +102,7 @@ func TestGetInterpolation(t *testing.T) {
102102
t.Error(err)
103103
}
104104

105-
if os.Getenv("TEST_ENV2") != "deis" {
106-
t.Errorf("Expected 'deis', got '%s'", os.Getenv("TEST_ENV2"))
105+
if os.Getenv("TEST_ENV2") != "drycc" {
106+
t.Errorf("Expected 'drycc', got '%s'", os.Getenv("TEST_ENV2"))
107107
}
108108
}

etcd/discovery/discovery.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88
"github.com/Masterminds/cookoo"
99
)
1010

11-
var TokenFile = "/var/run/secrets/deis/etcd/discovery/token"
11+
var TokenFile = "/var/run/secrets/drycc/etcd/discovery/token"
1212

13-
const ClusterDiscoveryURL = "http://%s:%s/v2/keys/deis/discovery/%s"
14-
const ClusterSizeKey = "deis/discovery/%s/_config/size"
15-
const ClusterStatusKey = "deis/status/%s/%s"
13+
const ClusterDiscoveryURL = "http://%s:%s/v2/keys/drycc/discovery/%s"
14+
const ClusterSizeKey = "drycc/discovery/%s/_config/size"
15+
const ClusterStatusKey = "drycc/status/%s/%s"
1616

1717
// Token reads the discovery token from the TokenFile and returns it.
1818
func Token() ([]byte, error) {

etcd/etcd.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func FindSSHUser(c cookoo.Context, p *cookoo.Params) (interface{}, cookoo.Interr
172172

173173
k := client.NewKeysAPI(cli)
174174

175-
res, err := k.Get(dctx(), "/deis/builder/users", &client.GetOptions{Recursive: true})
175+
res, err := k.Get(dctx(), "/drycc/builder/users", &client.GetOptions{Recursive: true})
176176
if err != nil {
177177
log.Warnf(c, "Error querying etcd: %s", err)
178178
return "", err
@@ -209,7 +209,7 @@ func StoreHostKeys(c cookoo.Context, p *cookoo.Params) (interface{}, cookoo.Inte
209209
defaultCiphers := []string{"rsa", "dsa", "ecdsa", "ed25519"}
210210
cli := p.Get("client", nil).(client.Client)
211211
ciphers := p.Get("ciphers", defaultCiphers).([]string)
212-
basepath := p.Get("basepath", "/deis/builder").(string)
212+
basepath := p.Get("basepath", "/drycc/builder").(string)
213213

214214
k := client.NewKeysAPI(cli)
215215
res, err := k.Get(dctx(), "sshHostKey", &client.GetOptions{})
@@ -408,8 +408,8 @@ func MakeDir(c cookoo.Context, p *cookoo.Params) (interface{}, cookoo.Interrupt)
408408
// - path (string): The path to watch
409409
func Watch(c cookoo.Context, p *cookoo.Params) (interface{}, cookoo.Interrupt) {
410410

411-
// etcdctl -C $ETCD watch --recursive /deis/services
412-
path := p.Get("path", "/deis/services").(string)
411+
// etcdctl -C $ETCD watch --recursive /drycc/services
412+
path := p.Get("path", "/drycc/services").(string)
413413
cli := p.Get("client", nil).(client.Client)
414414
k := client.NewKeysAPI(cli)
415415

etcd/members.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func RemoveMemberByName(c cookoo.Context, p *cookoo.Params) (interface{}, cookoo
9292
// - namespace (string): The namespace we're operating in
9393
func RemoveStaleMembers(c cookoo.Context, p *cookoo.Params) (interface{}, cookoo.Interrupt) {
9494
eclient := p.Get("client", nil).(client.Client)
95-
label := p.Get("label", "name=deis-etcd-1").(string)
95+
label := p.Get("label", "name=drycc-etcd-1").(string)
9696
ns := p.Get("namespace", "default").(string)
9797

9898
// Should probably pass in the client from the context.

glide.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package: github.com/teamhephy/pkg
1+
package: github.com/drycc/pkg
22
ignore:
33
- appengine
44
import:

log/doc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Package log provides functionality to output human readable, colorful test to STDOUT and STDERR. It's best used for programs, such as CLI apps, that write output to people rather than machines. It is not intended for logging to log aggregators or other systems. It takes advantage of the github.com/teamhephy/pkg/prettyprint to provide colorful output.
1+
// Package log provides functionality to output human readable, colorful test to STDOUT and STDERR. It's best used for programs, such as CLI apps, that write output to people rather than machines. It is not intended for logging to log aggregators or other systems. It takes advantage of the github.com/drycc/pkg/prettyprint to provide colorful output.
22
//
33
// This package provides global functions for use as well as a 'Logger' struct that you can instantiate at-will for customized logging. All global funcs operate on a DefaultLogger, which is pre-configured to log to os.Stdout and os.Stderr, with debug logs turned off.
44
//
55
// Example usage of global functions:
66
//
7-
// import "github.com/teamhephy/pkg/log"
7+
// import "github.com/drycc/pkg/log"
88
// log.Info("Hello Gophers!") // equivalent of log.DefaultLogger.Info("hello gophers!")
99
// log.Debug("log.DefaultLogger initializes with debug logs turned off, so you can't see me!")
1010
// log.DefaultLogger.SetDebug(true)

0 commit comments

Comments
 (0)