Skip to content

Commit

Permalink
Merge pull request grpc#21891 from jtattermusch/remove_useless_releas…
Browse files Browse the repository at this point in the history
…e_links

get rid of the https://grpc.io/release plague
  • Loading branch information
jtattermusch authored Feb 13, 2020
2 parents da675e5 + 2151221 commit a28d67f
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 25 deletions.
11 changes: 5 additions & 6 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,24 +72,23 @@ To prepare for cmake + Microsoft Visual C++ compiler build
# Clone the repository (including submodules)

Before building, you need to clone the gRPC github repository and download submodules containing source code
for gRPC's dependencies (that's done by the `submodule` command or `--recursive` flag). The following commands will clone the gRPC
repository at the latest stable version.
for gRPC's dependencies (that's done by the `submodule` command or `--recursive` flag). Use following commands
to clone the gRPC repository at the [latest stable release tag](https://github.com/grpc/grpc/releases)

## Unix

```sh
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init
```

## Windows

```
> @rem You can also do just "git clone --recursive -b THE_BRANCH_YOU_WANT https://github.com/grpc/grpc"
> powershell git clone --recursive -b ((New-Object System.Net.WebClient).DownloadString(\"https://grpc.io/release\").Trim()) https://github.com/grpc/grpc
> git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc
> cd grpc
> @rem To update submodules at later time, run "git submodule update --init"
> git submodule update --init
```

NOTE: The `bazel` build tool uses a different model for dependencies. You only need to worry about downloading submodules if you're building
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/compression/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Make sure you have run the [hello world example](../helloworld) or understood th

### Get the tutorial source code

The example code for this and our other examples lives in the `examples` directory. Clone this repository to your local machine by running the following command:
The example code for this and our other examples lives in the `examples` directory. Clone this repository at the [latest stable release tag](https://github.com/grpc/grpc/releases) to your local machine by running the following command:


```sh
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc
```

Change your current directory to examples/cpp/compression
Expand Down
6 changes: 3 additions & 3 deletions examples/cpp/helloworld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Make sure you have installed gRPC on your system. Follow the
### Get the tutorial source code

The example code for this and our other examples lives in the `examples`
directory. Clone this repository to your local machine by running the
following command:
directory. Clone this repository at the [latest stable release tag](https://github.com/grpc/grpc/releases)
to your local machine by running the following command:


```sh
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc
```

Change your current directory to examples/cpp/helloworld
Expand Down
5 changes: 3 additions & 2 deletions examples/cpp/load_balancing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ Make sure you have run the [hello world example](../helloworld) or understood th

### Get the tutorial source code

The example code for this and our other examples lives in the `examples` directory. Clone this repository to your local machine by running the following command:
The example code for this and our other examples lives in the `examples` directory. Clone this repository
at the [latest stable release tag](https://github.com/grpc/grpc/releases) to your local machine by running the following command:


```sh
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc
```

Change your current directory to examples/cpp/load_balancing
Expand Down
5 changes: 3 additions & 2 deletions examples/cpp/metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md, with the
exception of binary headers, which don't have to be base64 encoded.

### Get the tutorial source code
The example code for this and our other examples lives in the `examples` directory. Clone this repository to your local machine by running the following command:
The example code for this and our other examples lives in the `examples` directory. Clone this repository
at the [latest stable release tag](https://github.com/grpc/grpc/releases) to your local machine by running the following command:
```sh
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc
```
Change your current directory to examples/cpp/metadata
```sh
Expand Down
2 changes: 1 addition & 1 deletion examples/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ INSTALL
```sh
$ # Get the gRPC repository
$ export REPO_ROOT=grpc # REPO root can be any directory of your choice
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc $REPO_ROOT
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc $REPO_ROOT
$ cd $REPO_ROOT

$ cd examples/node
Expand Down
4 changes: 2 additions & 2 deletions examples/objective-c/helloworld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Here's how to build and run the Objective-C implementation of the [Hello World](
example used in [Getting started](https://github.com/grpc/grpc/tree/master/examples).

The example code for this and our other examples lives in the `examples` directory. Clone
this repository to your local machine by running the following commands:
this repository at the [latest stable release tag](https://github.com/grpc/grpc/releases) to your local machine by running the following commands:


```sh
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init
```
Expand Down
2 changes: 1 addition & 1 deletion examples/php/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This requires `php` >= 5.5, `pecl`, `composer`
- Install the `protoc` compiler plugin `grpc_php_plugin`

```sh
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc
$ cd grpc
$ make grpc_php_plugin
```
Expand Down
8 changes: 4 additions & 4 deletions src/php/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ You can download the pre-compiled `grpc.dll` extension from the PECL

### Build from source

Clone this repository
Clone this repository at the [latest stable release tag](https://github.com/grpc/grpc/releases)

```sh
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc
```

#### Build and install the gRPC C core library
Expand Down Expand Up @@ -184,7 +184,7 @@ in the future.
You can also just build the `grpc_php_plugin` by running:

```sh
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init
$ make grpc_php_plugin
Expand Down Expand Up @@ -246,7 +246,7 @@ $ protoc -I=. echo.proto --php_out=. --grpc_out=. \
You will need the source code to run tests

```sh
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init
```
Expand Down
2 changes: 1 addition & 1 deletion src/python/grpcio/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ package named :code:`python-dev`).
::

$ export REPO_ROOT=grpc # REPO_ROOT can be any directory of your choice
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc $REPO_ROOT
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc $REPO_ROOT
$ cd $REPO_ROOT
$ git submodule update --init

Expand Down
2 changes: 1 addition & 1 deletion tools/distrib/python/grpcio_tools/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ GCC-like stuff, but you may end up having a bad time.
::

$ export REPO_ROOT=grpc # REPO_ROOT can be any directory of your choice
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc $REPO_ROOT
$ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc $REPO_ROOT
$ cd $REPO_ROOT
$ git submodule update --init

Expand Down

0 comments on commit a28d67f

Please sign in to comment.