Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): update on new go ipfs automation #1121

Merged
merged 3 commits into from
Apr 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/update-on-new-ipfs-tag/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/usr/bin/env bash
set -eu

API_FILE=`pwd`/docs/reference/http/api.md
Expand Down
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ updates:
include: 'scope'
labels:
- 'dependencies'
- package-ecosystem: 'gomod'
directory: 'tools/http-api-docs/' # Location of go package manifests
open-pull-requests-limit: 0 # Disable dependabot for go deps, we want them rock solid
ignore:
dependency-name: "go-ipfs" # explicit ignore just in case, because this is handled by .github/workflows/update-on-new-ipfs-tag.yml
20 changes: 10 additions & 10 deletions docs/install/command-line.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Command-line
description: Using IPFS through the command-line allows you to do everything that IPFS Desktop can do, but at a more granular level since you can specify which commands to run. Learn how to install it here.
current-ipfs-version: v0.12.0
current-ipfs-version: v0.12.2
---

# Command-line
Expand All @@ -12,7 +12,7 @@ Installing IPFS through the command-line is handy if you plan on building applic

## System requirements

IPFS requires 512MiB of memory and can run an IPFS node on a Raspberry Pi. However, how much disk space your IPFS installation takes up depends on how much data you're sharing. A base installation takes up about 12MB of disk space. One can enable automatic garbage collection via [--enable-gc](/reference/cli/#ipfs-daemon) and adjust the [default maximum disk storage](https://github.com/ipfs/go-ipfs/blob/v0.12.0/docs/config.md#datastorestoragemax) for data retrieved from other peers.
IPFS requires 512MiB of memory and can run an IPFS node on a Raspberry Pi. However, how much disk space your IPFS installation takes up depends on how much data you're sharing. A base installation takes up about 12MB of disk space. One can enable automatic garbage collection via [--enable-gc](/reference/cli/#ipfs-daemon) and adjust the [default maximum disk storage](https://github.com/ipfs/go-ipfs/blob/v0.12.2/docs/config.md#datastorestoragemax) for data retrieved from other peers.

## Official distributions

Expand All @@ -28,19 +28,19 @@ The IPFS team manages the [dist.ipfs.io website](https://dist.ipfs.io/) to help

```powershell
cd ~\
wget https://dist.ipfs.io/go-ipfs/v0.12.0/go-ipfs_v0.12.0_windows-amd64.zip -Outfile go-ipfs_v0.12.0.zip
wget https://dist.ipfs.io/go-ipfs/v0.12.2/go-ipfs_v0.12.2_windows-amd64.zip -Outfile go-ipfs_v0.12.2.zip
```

1. Unzip the file and move it somewhere handy.

```powershell
Expand-Archive -Path go-ipfs_v0.12.0.zip -DestinationPath ~\Apps\go-ipfs_v0.12.0
Expand-Archive -Path go-ipfs_v0.12.2.zip -DestinationPath ~\Apps\go-ipfs_v0.12.2
```

1. Move into the `go-ipfs_v0.12.0` folder and check that the `ipfs.exe` works:
1. Move into the `go-ipfs_v0.12.2` folder and check that the `ipfs.exe` works:

```powershell
cd ~\Apps\go-ipfs_v0.12.0\go-ipfs
cd ~\Apps\go-ipfs_v0.12.2\go-ipfs
.\ipfs.exe --version

> ipfs version 0.12.0
Expand Down Expand Up @@ -96,13 +96,13 @@ You can install IPFS on M1-based Macs by using the `darwin-arm64` binary instead
1. Download the macOS binary from [`dist.ipfs.io`](https://dist.ipfs.io/#go-ipfs).

```bash
curl -O https://dist.ipfs.io/go-ipfs/v0.12.0/go-ipfs_v0.12.0_darwin-amd64.tar.gz
curl -O https://dist.ipfs.io/go-ipfs/v0.12.2/go-ipfs_v0.12.2_darwin-amd64.tar.gz
```

1. Unzip the file:

```bash
tar -xvzf go-ipfs_v0.12.0_darwin-amd64.tar.gz
tar -xvzf go-ipfs_v0.12.2_darwin-amd64.tar.gz

> x go-ipfs/install.sh
> x go-ipfs/ipfs
Expand Down Expand Up @@ -134,13 +134,13 @@ You can install IPFS on M1-based Macs by using the `darwin-arm64` binary instead
1. Download the Linux binary from [`dist.ipfs.io`](https://dist.ipfs.io/#go-ipfs).

```bash
wget https://dist.ipfs.io/go-ipfs/v0.12.0/go-ipfs_v0.12.0_linux-amd64.tar.gz
wget https://dist.ipfs.io/go-ipfs/v0.12.2/go-ipfs_v0.12.2_linux-amd64.tar.gz
```

1. Unzip the file:

```bash
tar -xvzf go-ipfs_v0.12.0_linux-amd64.tar.gz
tar -xvzf go-ipfs_v0.12.2_linux-amd64.tar.gz

> x go-ipfs/install.sh
> x go-ipfs/ipfs
Expand Down