Skip to content

Commit 8f03289

Browse files
committed
docs: release branch deprecation notice update
This is some followup for #754 ultimately in support of filecoin-project/lotus#12374
1 parent b684091 commit 8f03289

File tree

3 files changed

+14
-38
lines changed

3 files changed

+14
-38
lines changed

content/en/lotus/developers/local-network.md

+11-17
Original file line numberDiff line numberDiff line change
@@ -70,27 +70,21 @@ Filecoin local networks use slightly different binaries than those used in the F
7070
git checkout <latest-version>
7171
```
7272
73-
{{< alert >}}
74-
The `releases` branch has been deprecated. To get the latest version:\
75-
Lotus Node: `git tag -l 'v*' | sort -V -r | head -n 1`
76-
Lotus Miner: `git tag -l 'miner/v*' | sort -V -r | head -n 1`\
77-
If you need a specific release, specify a specific <tag_or_release>. For example: git checkout v1.28.1.\
78-
Reference: [Release Policy](https://github.com/filecoin-project/lotus/blob/master/LOTUS_RELEASE_FLOW.md#security-fix-policy)
79-
{{< /alert >}}
73+
The latest production release can be found on [GitHub](https://github.com/filecoin-project/lotus/releases) or via the [command line](https://github.com/filecoin-project/lotus/blob/master/LOTUS_RELEASE_FLOW.md#why-is-the-releases-branch-deprecated-and-what-are-alternatives).
8074
81-
1. Remove any existing repositories.
75+
2. Remove any existing repositories.
8276
8377
```shell
8478
rm -rf ~/.genesis-sectors
8579
```
8680
87-
1. Build the `2k` binary for Lotus:
81+
3. Build the `2k` binary for Lotus:
8882
8983
```shell
9084
make 2k
9185
```
9286
93-
1. Fetch the proving parameters for a 2048-byte sector size:
87+
4. Fetch the proving parameters for a 2048-byte sector size:
9488
9589
```shell
9690
./lotus fetch-params 2048
@@ -104,13 +98,13 @@ Filecoin local networks use slightly different binaries than those used in the F
10498
10599
This command may take several minutes to complete.
106100
107-
1. (**Local network with Fil+**) Build `lotus-shed`:
101+
5. (**Local network with Fil+**) Build `lotus-shed`:
108102
109103
```shell
110104
make lotus-shed
111105
```
112106
113-
1. (**Local network with Fil+**) Create a BLS-addresses to serve as the first root key holder:
107+
6. (**Local network with Fil+**) Create a BLS-addresses to serve as the first root key holder:
114108
115109
```shell
116110
./lotus-shed keyinfo new bls
@@ -122,7 +116,7 @@ Filecoin local networks use slightly different binaries than those used in the F
122116
123117
Make a note of this address `<root-key-1>`, as you will need it in a later step.
124118
125-
1. (**Local network with Fil+**) Create a BLS-addresses to serve as the second root key holder:
119+
7. (**Local network with Fil+**) Create a BLS-addresses to serve as the second root key holder:
126120
127121
```shell
128122
./lotus-shed keyinfo new bls
@@ -134,7 +128,7 @@ Filecoin local networks use slightly different binaries than those used in the F
134128
135129
Make a note of this address `<root-key-2>`, as you will need it in a later step.
136130
137-
1. Pre-seal 2 sectors for the genesis block:
131+
8. Pre-seal 2 sectors for the genesis block:
138132
139133
```shell
140134
./lotus-seed pre-seal --sector-size 2KiB --num-sectors 2
@@ -146,21 +140,21 @@ Filecoin local networks use slightly different binaries than those used in the F
146140
2021-02-23T10:59:36.937-0500 INFO preseal seed/seed.go:232 Writing preseal manifest to /home/user/.genesis-sectors/pre-seal-t01000.json
147141
```
148142
149-
1. Create the genesis block:
143+
9. Create the genesis block:
150144
151145
```shell
152146
./lotus-seed genesis new localnet.json
153147
```
154148
155149
This command doesn't output anything on success.
156150

157-
1. (**Local network with Fil+**) Using `<root-key-1>` and `<root-key-2>`, set the root key holders in the genesis block with a signature threshold of 2 for the f080 actor:
151+
10. (**Local network with Fil+**) Using `<root-key-1>` and `<root-key-2>`, set the root key holders in the genesis block with a signature threshold of 2 for the f080 actor:
158152

159153
```shell
160154
./lotus-seed genesis set-signers --threshold=2 --signers <root-key-1> --signers <root-key-2> localnet.json
161155
```
162156

163-
1. Create a pre-miner and an address with some funds:
157+
11. Create a pre-miner and an address with some funds:
164158

165159
```shell
166160
./lotus-seed genesis add-miner localnet.json ~/.genesis-sectors/pre-seal-t01000.json

content/en/lotus/install/linux.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,7 @@ Once all the dependencies are installed, you can build and install Lotus.
170170
git checkout $LATEST_RELEASE
171171
```
172172
173-
{{< alert >}}
174-
The `releases` branch has been deprecated. To get the latest version:\
175-
Lotus Node: `git tag -l 'v*' | sort -V -r | head -n 1`
176-
Lotus Miner: `git tag -l 'miner/v*' | sort -V -r | head -n 1`\
177-
If you need a specific release, specify a specific <tag_or_release>. For example: git checkout v1.28.1.\
178-
Reference: [Release Policy](https://github.com/filecoin-project/lotus/blob/master/LOTUS_RELEASE_FLOW.md#security-fix-policy)
179-
{{< /alert >}}
173+
The latest production release can be found on [GitHub](https://github.com/filecoin-project/lotus/releases) or via the [command line](https://github.com/filecoin-project/lotus/blob/master/LOTUS_RELEASE_FLOW.md#why-is-the-releases-branch-deprecated-and-what-are-alternatives).
180174
181175
182176
1. If you are in China, see "[Lotus: tips when running in China]({{< relref "" >}})".

content/en/lotus/install/macos.md

+2-14
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,7 @@ The installation instructions are different depending on which CPU is in your Ma
119119
git checkout $LATEST_RELEASE
120120
```
121121
122-
{{< alert >}}
123-
The `releases` branch has been deprecated. To get the latest version:\
124-
Lotus Node: `git tag -l 'v*' | sort -V -r | head -n 1`
125-
Lotus Miner: `git tag -l 'miner/v*' | sort -V -r | head -n 1`\
126-
If you need a specific release, specify a specific <tag_or_release>. For example: git checkout v1.28.1.\
127-
Reference: [Release Policy](https://github.com/filecoin-project/lotus/blob/master/LOTUS_RELEASE_FLOW.md#security-fix-policy)
128-
{{< /alert >}}
122+
The latest production release can be found on [GitHub](https://github.com/filecoin-project/lotus/releases) or via the [command line](https://github.com/filecoin-project/lotus/blob/master/LOTUS_RELEASE_FLOW.md#why-is-the-releases-branch-deprecated-and-what-are-alternatives).
129123
130124
1. Create the necessary environment variables to allow Lotus to run on M1 architecture:
131125
@@ -170,13 +164,7 @@ These instructions are for installing Lotus on an Intel Mac. If you have an M1-b
170164
git checkout $LATEST_RELEASE
171165
```
172166
173-
{{< alert >}}
174-
The `releases` branch has been deprecated. To get the latest version:\
175-
Lotus Node: `git tag -l 'v*' | sort -V -r | head -n 1`
176-
Lotus Miner: `git tag -l 'miner/v*' | sort -V -r | head -n 1`\
177-
If you need a specific release, specify a specific <tag_or_release>. For example: git checkout v1.28.1.\
178-
Reference: [Release Policy](https://github.com/filecoin-project/lotus/blob/master/LOTUS_RELEASE_FLOW.md#security-fix-policy)
179-
{{< /alert >}}
167+
The latest production release can be found on [GitHub](https://github.com/filecoin-project/lotus/releases) or via the [command line](https://github.com/filecoin-project/lotus/blob/master/LOTUS_RELEASE_FLOW.md#why-is-the-releases-branch-deprecated-and-what-are-alternatives).
180168
181169
1. If you are in China, take a look at some [tips for running Lotus in China]({{< relref "../../kb/nodes-in-china/" >}})".
182170

0 commit comments

Comments
 (0)