Skip to content
This repository was archived by the owner on Mar 29, 2018. It is now read-only.

Commit 46287c0

Browse files
committed
add copyright headers
1 parent 23e53b7 commit 46287c0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+1240
-9
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Contributing to doit
1+
# Contributing to doctl
22

33
**First:** if you're unsure or afraid of _anything_, just ask
44
or submit the issue or pull request anyways. You won't be yelled at for
55
giving your best effort. The worst that can happen is that you'll be
66
politely asked to change something. We appreciate any sort of contributions,
77
and don't want a wall of rules to get in the way of that.
88

9-
However, for those individuals who want a bit more guidance on the
9+
However, for those people who want a bit more guidance on the
1010
best way to contribute to the project, read on. This document will cover
1111
what we're looking for. By addressing all the points we're looking for,
1212
it raises the chances we can quickly merge or address your contributions.
@@ -22,14 +22,14 @@ it raises the chances we can quickly merge or address your contributions.
2222
of the *entire* generated crash log for us to look at. Double check
2323
no sensitive items were in the log.
2424

25-
* Respond as promptly as possible to any questions made by the _doit_
25+
* Respond as promptly as possible to any questions made by the _doctl_
2626
team to your issue. Stale issues will be closed.
2727

2828
### Issue Lifecycle
2929

3030
1. The issue is reported.
3131

32-
2. The issue is verified and categorized by a _doit_ collaborator.
32+
2. The issue is verified and categorized by a _doctl_ collaborator.
3333
Categorization is done via tags. For example, bugs are marked as "bugs".
3434

3535
3. Unless it is critical, the issue is left for a period of time (sometimes
@@ -43,13 +43,13 @@ it raises the chances we can quickly merge or address your contributions.
4343
the issue tracker clean. The issue is still indexed and available for
4444
future viewers, or can be re-opened if necessary.
4545

46-
## Setting up Go to work on doit
46+
## Setting up Go to work on doctl
4747

4848
If you have never worked with Go before, you will have to complete the
49-
following steps in order to be able to compile and test doit.
49+
following steps in order to be able to compile and test doctl.
5050

51-
1. Install Go. Make sure the Go version is at least Go 1.4.
52-
Go 1.4. On a Mac, you can `brew install go` to install Go 1.4.
51+
1. Install Go. Make sure the Go version is at least Go 1.6.
52+
On Mac OS X, you can `brew install go` to install Go 1.6.
5353

5454
1. Set and export the `GOPATH` environment variable and update your `PATH`.
5555
For example, you can add to your `.bash_profile`.
@@ -59,7 +59,7 @@ following steps in order to be able to compile and test doit.
5959
export PATH=$PATH:$GOPATH/bin
6060
```
6161
62-
1. Make your changes to the doit source, being sure to run the basic
62+
1. Make your changes to the doctl source, being sure to run the basic
6363
tests.
6464
6565
1. If everything works well and the tests pass, run `go fmt` on your code

args.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
Copyright 2016 The Doctl Authors All rights reserved.
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
Unless required by applicable law or agreed to in writing, software
8+
distributed under the License is distributed on an "AS IS" BASIS,
9+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
See the License for the specific language governing permissions and
11+
limitations under the License.
12+
*/
13+
114
package doit
215

316
const (

cmd/doctl-gen-doc/main.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
2+
/*
3+
Copyright 2016 The Doctl Authors All rights reserved.
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
Unless required by applicable law or agreed to in writing, software
9+
distributed under the License is distributed on an "AS IS" BASIS,
10+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
See the License for the specific language governing permissions and
12+
limitations under the License.
13+
*/
14+
115
package main
216

317
import (

cmd/doctl/main.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
2+
/*
3+
Copyright 2016 The Doctl Authors All rights reserved.
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
Unless required by applicable law or agreed to in writing, software
9+
distributed under the License is distributed on an "AS IS" BASIS,
10+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
See the License for the specific language governing permissions and
12+
limitations under the License.
13+
*/
14+
115
package main
216

317
import (

cmd/install-doctl/main.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
2+
/*
3+
Copyright 2016 The Doctl Authors All rights reserved.
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
Unless required by applicable law or agreed to in writing, software
9+
distributed under the License is distributed on an "AS IS" BASIS,
10+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
See the License for the specific language governing permissions and
12+
limitations under the License.
13+
*/
14+
115
package main
216

317
import (

cmd/release-doctl/main.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
2+
/*
3+
Copyright 2016 The Doctl Authors All rights reserved.
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
Unless required by applicable law or agreed to in writing, software
9+
distributed under the License is distributed on an "AS IS" BASIS,
10+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
See the License for the specific language governing permissions and
12+
limitations under the License.
13+
*/
14+
115
package main
216

317
import (

command.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
Copyright 2016 The Doctl Authors All rights reserved.
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
Unless required by applicable law or agreed to in writing, software
8+
distributed under the License is distributed on an "AS IS" BASIS,
9+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
See the License for the specific language governing permissions and
11+
limitations under the License.
12+
*/
13+
114
package doit
215

316
import (

commands/account.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
Copyright 2016 The Doctl Authors All rights reserved.
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
Unless required by applicable law or agreed to in writing, software
8+
distributed under the License is distributed on an "AS IS" BASIS,
9+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
See the License for the specific language governing permissions and
11+
limitations under the License.
12+
*/
13+
114
package commands
215

316
import "github.com/spf13/cobra"

commands/account_test.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
Copyright 2016 The Doctl Authors All rights reserved.
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
Unless required by applicable law or agreed to in writing, software
8+
distributed under the License is distributed on an "AS IS" BASIS,
9+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
See the License for the specific language governing permissions and
11+
limitations under the License.
12+
*/
13+
114
package commands
215

316
import (

commands/actions.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
Copyright 2016 The Doctl Authors All rights reserved.
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
Unless required by applicable law or agreed to in writing, software
8+
distributed under the License is distributed on an "AS IS" BASIS,
9+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
See the License for the specific language governing permissions and
11+
limitations under the License.
12+
*/
13+
114
package commands
215

316
import (

0 commit comments

Comments
 (0)