Skip to content

Commit

Permalink
Update GOPKG_VERS, etc. to v8
Browse files Browse the repository at this point in the history
  • Loading branch information
douglaswth committed Mar 19, 2020
1 parent 7448857 commit b79fa24
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ NAME=rsc
BUCKET=rightscale-binaries
ACL=public-read
# version for gopkg.in, e.g. v1, v2, ...
GOPKG_VERS=v7
GOPKG_VERS=v8
GLIDE_VERSION?=v0.13.3
GOOS=$(shell go env GOOS)
GOARCH=$(shell go env GOARCH)
Expand Down
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
Master
[![Build Status](https://travis-ci.org/rightscale/rsc.svg?branch=master)](https://travis-ci.org/rightscale/rsc)

v7.0.0
[![Build Status](https://travis-ci.org/rightscale/rsc.svg?branch=v7.0.0)](https://travis-ci.org/rightscale/rsc)
v8.0.0
[![Build Status](https://travis-ci.org/rightscale/rsc.svg?branch=v8.0.0)](https://travis-ci.org/rightscale/rsc)

`rsc` provides both a command line tool and a go package for interacting with the RightScale APIs.
The currently supported APIs are the RightScale Cloud Management API 1.5 and 1.6 APIs, the
Expand All @@ -32,26 +32,26 @@ no dependency on any runtime library. Just download the correct version for your
architecture and you're good to go.

The latest stable versions can be download from:
- MacOS X: `https://binaries.rightscale.com/rsbin/rsc/v7/rsc-darwin-amd64.tgz`
- Windows: `https://binaries.rightscale.com/rsbin/rsc/v7/rsc-windows-amd64.zip`
- Linux: `https://binaries.rightscale.com/rsbin/rsc/v7/rsc-linux-amd64.tgz`
- ODroid/RasPi/armhf: `https://binaries.rightscale.com/rsbin/rsc/v7/rsc-linux-arm.tgz`
- MacOS X: `https://binaries.rightscale.com/rsbin/rsc/v8/rsc-darwin-amd64.tgz`
- Windows: `https://binaries.rightscale.com/rsbin/rsc/v8/rsc-windows-amd64.zip`
- Linux: `https://binaries.rightscale.com/rsbin/rsc/v8/rsc-linux-amd64.tgz`
- ODroid/RasPi/armhf: `https://binaries.rightscale.com/rsbin/rsc/v8/rsc-linux-arm.tgz`

As an example the following downloads and runs the MacOS X version:
```
$ curl https://binaries.rightscale.com/rsbin/rsc/v7/rsc-darwin-amd64.tgz | tar -zxf - -O rsc/rsc > rsc
$ curl https://binaries.rightscale.com/rsbin/rsc/v8/rsc-darwin-amd64.tgz | tar -zxf - -O rsc/rsc > rsc
$ chmod +x ./rsc
$ ./rsc --version
rsc v7.0.0 - 2017-07-19 00:34:20 - 308f4fcbf12da4b94d6fd683c25dd86deb35237e
rsc v8.0.0 - 2017-07-19 00:34:20 - 308f4fcbf12da4b94d6fd683c25dd86deb35237e
```

#### Versioning

- To download the latest stable use the links with 'v7' in them.
- To download a specific version, replace the 'v7' by the exact version, such as 'v7.0.0'.
- All versions with the same major number (e.g. 'v7') are intended to be "upward" compatible.
- The 'v7' links download a specific version, so `rsc --version` will print something like 'v7.0.0'
and not 'v7'.
- To download the latest stable use the links with 'v8' in them.
- To download a specific version, replace the 'v8' by the exact version, such as 'v8.0.0'.
- All versions with the same major number (e.g. 'v8') are intended to be "upward" compatible.
- The 'v8' links download a specific version, so `rsc --version` will print something like 'v8.0.0'
and not 'v8'.
- The latest dev version is 'master'.

### Command Line
Expand Down Expand Up @@ -320,11 +320,11 @@ sub-package: package `cm15` for CM API 1.5, package `cm16`for CM API
`rsc` uses gopkg.in for versioning, this means that you can download the released `rsc` packages
as follows:
```
go get gopkg.in/rightscale/rsc.v7
go get gopkg.in/rightscale/rsc.v8
```
and import then in your code with:
```go
import "gopkg.in/rightscale/rsc.v7"
import "gopkg.in/rightscale/rsc.v8"
```
If you intend on contributing, just want to play around with the code or feel adventurous you can
download and use the beelding edge version from github which corresponds to the master branch:
Expand Down Expand Up @@ -523,16 +523,16 @@ The following make targets are useful:
#### Your own build of the latest release version
The simple option is `go get gopkg.in/rightscale/rsc.v7`, this will use the checked-in
The simple option is `go get gopkg.in/rightscale/rsc.v8`, this will use the checked-in
code-generated files.
The more involved option is:
```
mkdir -p $GOPATH/src/gopkg.in/rightscale
cd $GOPATH/src/gopkg.in/rightscale
git clone https://github.com/rightscale/rsc.git rsc.v7
cd rsc.v7
git checkout v7.0.0
git clone https://github.com/rightscale/rsc.git rsc.v8
cd rsc.v8
git checkout v8.0.0
make depend
make
```
Expand Down
6 changes: 3 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ after releasing.
Once the release branch has been pushed and the CI job completes:
* Download the binary, run `rsc --version` and make sure the correct version is displayed, on Linux:
```
curl https://binaries.rightscale.com/rsbin/rsc/v7/rsc-linux-amd64.tgz | tar -zxf - -O rsc/rsc > rsc
curl https://binaries.rightscale.com/rsbin/rsc/v8/rsc-linux-amd64.tgz | tar -zxf - -O rsc/rsc > rsc
chmod +x ./rsc
./rsc --version
```
Expand All @@ -39,8 +39,8 @@ chmod +x ./rsc
mkdir tmp
export SAVED_GOPATH=$GOPATH
export GOPATH=`pwd`/tmp
go get gopkg.in/rightscale/rsc.v7
cd tmp/src/gopkg.in/rightscale/rsc.v7
go get gopkg.in/rightscale/rsc.v8
cd tmp/src/gopkg.in/rightscale/rsc.v8
git log -2
export GOPATH=$SAVED_GOPATH
cd ../../../../..
Expand Down

0 comments on commit b79fa24

Please sign in to comment.