Skip to content

Commit bde1096

Browse files
authored
Merge pull request #140 from commander-cli/migrate-repository
Move commander from SimonBaeumer/commander to commander-cli/commander
2 parents 00f5f97 + e554d97 commit bde1096

36 files changed

+67
-68
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ Fixes #
33
## Checklist
44

55
- [ ] Added unit / integration tests for windows, macOS and Linux?
6-
- [ ] Added a changelog entry in [CHANGELOG.md](../CHANGELOG.md)?
7-
- [ ] Updated the documentation ([README.md](../README.md), [docs](../docs))?
6+
- [ ] Added a changelog entry in [CHANGELOG.md](https://github.com/commander-cli/commander/blob/master/CHANGELOG.md)?
7+
- [ ] Updated the documentation ([README.md](https://github.com/commander-cli/commander/blob/master/README.md), [docs](https://github.com/commander-cli/commander/blob/master/docs))?
88
- [ ] Does your change work on `Linux`, `Windows` and `macOS`?

.travis.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ language: go
33
env:
44
global:
55
- GO111MODULE=on
6-
- CC_TEST_REPORTER_ID=4015795135868ee4781bd8cad1d345c20e7d0c2ef6ad5b0f08ccb13da24e66a1
6+
- CC_TEST_REPORTER_ID=f97333d5fd390f3f77c129767cf8970cd288bf201bddee48e52197c86c7ce9c9
77

88
stages:
99
- test
@@ -20,7 +20,7 @@ services:
2020

2121
before_install:
2222
- go get -u golang.org/x/lint/golint
23-
- curl -L https://github.com/SimonBaeumer/commander/releases/download/v1.2.1/commander-linux-amd64 -o ~/bin/commander
23+
- curl -L https://github.com/commander-cli/commander/releases/download/v1.2.1/commander-linux-amd64 -o ~/bin/commander
2424
- chmod +x ~/bin/commander
2525

2626
jobs:
@@ -37,7 +37,7 @@ jobs:
3737
- name: macOS integration
3838
os: osx
3939
script:
40-
- curl -L https://github.com/SimonBaeumer/commander/releases/download/v0.3.0/commander-darwin-amd64 -o ~/bin/commander
40+
- curl -L https://github.com/commander-cli/commander/releases/download/v0.3.0/commander-darwin-amd64 -o ~/bin/commander
4141
- chmod +x ~/bin/commander
4242
- make integration-unix
4343

@@ -53,7 +53,7 @@ jobs:
5353
before_install:
5454
- choco install make
5555
- choco install curl
56-
- curl -L https://github.com/SimonBaeumer/commander/releases/download/v1.2.1/commander-windows-amd64 -o C:\Windows\system32\commander.exe
56+
- curl -L https://github.com/commander-cli/commander/releases/download/v1.2.1/commander-windows-amd64 -o C:\Windows\system32\commander.exe
5757
script:
5858
- make integration-windows
5959

@@ -83,8 +83,7 @@ jobs:
8383
deploy:
8484
provider: releases
8585
overwrite: true
86-
api_key:
87-
secure: MMpRaIevc54qXtRQeGa/tZk4wjoOWGg4wpBcBaBJUBFMr2/y9s+qmXH49BThg95/gE2TwSPwPpcKlcAuhuB1h8aABzaAqK4+yA7/0diH2KQOfWDJinEuJ/lgFMt7JRXy5euam5vVFfPRGj+hIqxq51wfJDUcb4I7iGV2zC3L3o0QDX//V3CK5/j2G5tZ3PlEScv3wfthRfxmFz8H3LYWeRct3U2VbB3WPDr2c4sGxYzerhrihEC930m+vVB2A7UuvDNhT+1Q7h5e+h9FWAl47SZMuciqbJ8VAurakthVCtyF1p6F6jQ0SP47uH3f+f+v9WWTrEz7k8ENjb/9Cisw3+pzrUAlcxolytK5QTFxiYa7ukdqLwZCiUJg8s+Q+8VowZ+vVvfa+sjwP1d+OYdUpbtOldJrHZqbOUjPSMdI1fNsdQAr68TrZwUSsaXEkRiy9HIoZ3QryeTCVsjJ8T/urJVeUzp/VpefbgnQeN4UlnVjXuqEUgSNYeBDWM6LQNu/8ucZ2cWykt+Z3eJu+Zzl2+nlA8x07dtsRFdrx+SlomNyYod+hAG4suvwwKEL90HbQLs01jo3E3hGi827+dSzT3SDHvMEpyhw5BbVyqSWaZrRDukwpEDgjsiuzywZUkzVbeZHVJZOCkEWth8VY0A/L2dnv5ewbko/WribfBjdCsc=
86+
api_key: $GITHUB_TOKEN
8887
file:
8988
- release/commander-linux-amd64
9089
- release/commander-linux-arm
@@ -95,5 +94,5 @@ jobs:
9594
- release/commander-windows-386.exe
9695
skip_cleanup: true
9796
on:
98-
repo: SimonBaeumer/commander
97+
repo: commander-cli/commander
9998
tags: true

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v2.2.0
2+
3+
- Move from `github.com/SimonBaeumer` to `github.com/commander-cli`
4+
15
# v2.1.0
26

37
- Add registry authentication for `docker` nodes

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
[![Build Status](https://travis-ci.org/SimonBaeumer/commander.svg?branch=master)](https://travis-ci.org/SimonBaeumer/commander)
2-
[![GoDoc](https://godoc.org/github.com/SimonBaeumer/commander?status.svg)](https://godoc.org/github.com/SimonBaeumer/commander)
3-
[![Go Report Card](https://goreportcard.com/badge/github.com/SimonBaeumer/commander)](https://goreportcard.com/report/github.com/SimonBaeumer/commander)
4-
[![Maintainability](https://api.codeclimate.com/v1/badges/cc848165784e0f809a51/maintainability)](https://codeclimate.com/github/SimonBaeumer/commander/maintainability)
5-
[![Test Coverage](https://api.codeclimate.com/v1/badges/cc848165784e0f809a51/test_coverage)](https://codeclimate.com/github/SimonBaeumer/commander/test_coverage)
6-
[![Github All Releases](https://img.shields.io/github/downloads/SimonBaeumer/commander/total.svg)](https://github.com/SimonBaeumer/commander/releases)
1+
[![Build Status](https://travis-ci.org/commander-cli/commander.svg?branch=master)](https://travis-ci.org/commander-cli/commander)
2+
[![GoDoc](https://godoc.org/github.com/commander-cli/commander?status.svg)](https://godoc.org/github.com/commander-cli/commander)
3+
[![Go Report Card](https://goreportcard.com/badge/github.com/commander-cli/commander)](https://goreportcard.com/report/github.com/SimonBaeumer/commander)
4+
[![Maintainability](https://api.codeclimate.com/v1/badges/cc848165784e0f809a51/maintainability)](https://codeclimate.com/github/commander-cli/commander/maintainability)
5+
[![Test Coverage](https://api.codeclimate.com/v1/badges/cc848165784e0f809a51/test_coverage)](https://codeclimate.com/github/commander-cli/commander/test_coverage)
6+
[![Github All Releases](https://img.shields.io/github/downloads/commander-cli/commander/total.svg)](https://github.com/commander-cli/commander/releases)
77

88
# Commander
99

@@ -63,23 +63,23 @@ For more information take a look at the [quick start](#quick-start), the [exampl
6363
Probably the easiest way to install `commander` is by using `go get` to download and install it in one simple command:
6464

6565
```bash
66-
go get github.com/SimonBaeumer/commander/cmd/commander
66+
go get github.com/commander-cli/commander/cmd/commander
6767
```
6868

6969
This works on any OS, as long as go is installed. If go is not installed on your system, follow one of the methods below.
7070

7171
### Linux & osx
7272

73-
Visit the [release](https://github.com/SimonBaeumer/commander/releases) page to get the binary for you system.
73+
Visit the [release](https://github.com/commander-cli/commander/releases) page to get the binary for you system.
7474

7575
```bash
76-
curl -L https://github.com/SimonBaeumer/commander/releases/download/v1.2.2/commander-linux-amd64 -o commander
76+
curl -L https://github.com/commander-cli/commander/releases/download/v1.2.2/commander-linux-amd64 -o commander
7777
chmod +x commander
7878
```
7979

8080
### Windows
8181

82-
- Download the current [release](https://github.com/SimonBaeumer/commander/releases/latest)
82+
- Download the current [release](https://github.com/commander-cli/commander/releases/latest)
8383
- Add the path to your [path](https://docs.alfresco.com/4.2/tasks/fot-addpath.html) environment variable
8484
- Test it: `commander --version`
8585

cmd/commander/commander.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"path"
99
"strings"
1010

11-
"github.com/SimonBaeumer/commander/pkg/app"
11+
"github.com/commander-cli/commander/pkg/app"
1212
"github.com/urfave/cli"
1313
)
1414

docs/development.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,12 @@ The idea behind this it to add support for other formats like `json`, `toml` or
239239
$ make test
240240
INFO: Starting build test
241241
go test ./...
242-
ok github.com/SimonBaeumer/commander/cmd/commander 0.011s
243-
ok github.com/SimonBaeumer/commander/pkg/app 0.014s
244-
ok github.com/SimonBaeumer/commander/pkg/matcher (cached)
245-
ok github.com/SimonBaeumer/commander/pkg/output (cached)
246-
ok github.com/SimonBaeumer/commander/pkg/runtime 0.229s
247-
ok github.com/SimonBaeumer/commander/pkg/suite 0.008s
242+
ok github.com/commander-cli/commander/cmd/commander 0.011s
243+
ok github.com/commander-cli/commander/pkg/app 0.014s
244+
ok github.com/commander-cli/commander/pkg/matcher (cached)
245+
ok github.com/commander-cli/commander/pkg/output (cached)
246+
ok github.com/commander-cli/commander/pkg/runtime 0.229s
247+
ok github.com/commander-cli/commander/pkg/suite 0.008s
248248
```
249249

250250
**7. Learning by doing**

go.mod

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
module github.com/SimonBaeumer/commander
1+
module github.com/commander-cli/commander
22

33
require (
44
github.com/Microsoft/go-winio v0.4.14 // indirect
5-
github.com/SimonBaeumer/cmd v1.2.3
5+
github.com/SimonBaeumer/commander v1.3.0 // indirect
66
github.com/antchfx/xmlquery v1.1.0
77
github.com/antchfx/xpath v1.1.0 // indirect
8+
github.com/commander-cli/cmd v1.3.0
89
github.com/docker/distribution v2.7.1+incompatible // indirect
910
github.com/docker/docker v1.13.1
1011
github.com/docker/go-connections v0.4.0 // indirect
1112
github.com/docker/go-units v0.4.0 // indirect
1213
github.com/kr/pretty v0.2.0 // indirect
1314
github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e
14-
github.com/magiconair/properties v1.8.1 // indirect
1515
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
1616
github.com/pkg/errors v0.9.1 // indirect
1717
github.com/pmezard/go-difflib v1.0.0
18-
github.com/stretchr/objx v0.2.0 // indirect
1918
github.com/stretchr/testify v1.4.0
2019
github.com/tidwall/gjson v1.3.2
2120
github.com/urfave/cli v1.20.0

go.sum

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ github.com/Microsoft/go-winio v0.4.14 h1:+hMXMk01us9KgxGb7ftKQt2Xpf5hH/yky+TDA+q
22
github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA=
33
github.com/SimonBaeumer/cmd v1.1.0 h1:tr5dUMlly/8bLiC5B0J1AcE4ISru8POEfzAirWnUJnY=
44
github.com/SimonBaeumer/cmd v1.1.0/go.mod h1:4mc/LDXDWNbkeooqHP83yx3JXtInPHjJkF8zhzqqmZE=
5-
github.com/SimonBaeumer/cmd v1.2.3 h1:Q9/FMZntNPlnbCPzXTCBzx+kRhVX9j3NAh2MCYvnMTA=
6-
github.com/SimonBaeumer/cmd v1.2.3/go.mod h1:4mc/LDXDWNbkeooqHP83yx3JXtInPHjJkF8zhzqqmZE=
7-
github.com/antchfx/jsonquery v1.0.0 h1:1Yhk496SrCoY6fJkFZqpXEqbwOw5sFtLns9la4NoK3I=
8-
github.com/antchfx/jsonquery v1.0.0/go.mod h1:h7950pvPrUZzJIflNqsELgDQovTpPNa0rAHf8NwjegY=
5+
github.com/SimonBaeumer/commander v1.3.0 h1:QwZ7sTYFrmkOAccZwu8LZltDC08kIEcFjBBOkpjdZIg=
6+
github.com/SimonBaeumer/commander v1.3.0/go.mod h1:sNvvvwudBa2kQcSO7G1PttZHcBUnS5LmtJAjDS1Yh+U=
97
github.com/antchfx/xmlquery v1.1.0 h1:vj0kZ1y3Q6my4AV+a9xbWrMYzubw+84zuiKgvfV8vb8=
108
github.com/antchfx/xmlquery v1.1.0/go.mod h1:/+CnyD/DzHRnv2eRxrVbieRU/FIF6N0C+7oTtyUtCKk=
119
github.com/antchfx/xpath v1.1.0 h1:mJTvYpiHvxNQRD4Lbfin/FodHVCHh2a5KrOFr4ZxMOI=
1210
github.com/antchfx/xpath v1.1.0/go.mod h1:Yee4kTMuNiPYJ7nSNorELQMr1J33uOpXDMByNYhvtNk=
11+
github.com/commander-cli/cmd v1.3.0 h1:9h3OKDKgTXGx+m9ulSjMgE5zmiXtDHMlIe7Nwt/NZPI=
12+
github.com/commander-cli/cmd v1.3.0/go.mod h1:0cuDhCU4dmkhdAp1AFMKeQhes11x0f2+5DJhw/QQnFs=
1313
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
1414
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1515
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
@@ -30,8 +30,6 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
3030
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
3131
github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e h1:9MlwzLdW7QSDrhDjFlsEYmxpFyIoXmYRon3dt0io31k=
3232
github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4=
33-
github.com/magiconair/properties v1.8.1 h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4=
34-
github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
3533
github.com/opencontainers/go-digest v1.0.0-rc1 h1:WzifXhOVOEOuFYOJAW6aQqW0TooG2iki3E3Ii+WN7gQ=
3634
github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
3735
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
@@ -44,7 +42,6 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
4442
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
4543
github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
4644
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
47-
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
4845
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
4946
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
5047
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
set -e
33

4-
LATEST=$(curl -s https://api.github.com/repos/SimonBaeumer/commander/releases/latest | jq -r .tag_name)
4+
LATEST=$(curl -s https://api.github.com/repos/commander-cli/commander/releases/latest | jq -r .tag_name)
55

66
if [ -z "$COMMANDER_VER" ]; then
77
COMMANDER_VER=${COMMANDER_VER:-$LATEST}
@@ -19,7 +19,7 @@ else
1919
arch="386"
2020
fi
2121

22-
url="https://github.com/SimonBaeumer/commander/releases/download/$COMMANDER_VER/commander-linux-$arch"
22+
url="https://github.com/commander-cli/commander/releases/download/$COMMANDER_VER/commander-linux-$arch"
2323

2424
echo "Downloading $url"
2525
curl -L "$url" -o "$INSTALL_LOC"

pkg/app/add_command.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package app
22

33
import (
4-
"github.com/SimonBaeumer/cmd"
5-
"github.com/SimonBaeumer/commander/pkg/runtime"
6-
"github.com/SimonBaeumer/commander/pkg/suite"
4+
"github.com/commander-cli/cmd"
5+
"github.com/commander-cli/commander/pkg/runtime"
6+
"github.com/commander-cli/commander/pkg/suite"
77
"gopkg.in/yaml.v2"
88
"strings"
99
)

0 commit comments

Comments
 (0)