Skip to content

Commit db2684f

Browse files
committed
Merge branch 'master' into update-go-on-ci-guseggert
2 parents 98d2739 + 3b6f577 commit db2684f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2502
-1830
lines changed

.circleci/config.yml

+3-10
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,8 @@ executors:
3737
working_directory: ~/ipfs/go-ipfs
3838
environment:
3939
<<: *default_environment
40-
GO111MODULE: "on"
4140
TEST_NO_DOCKER: 1
4241
TEST_NO_FUSE: 1
43-
GOPATH: /home/circleci/go
4442
TEST_VERBOSE: 1
4543
node:
4644
docker:
@@ -123,10 +121,8 @@ jobs:
123121
working_directory: ~/ipfs/go-ipfs
124122
environment:
125123
<<: *default_environment
126-
GO111MODULE: "on"
127124
TEST_NO_DOCKER: 1
128125
TEST_NO_FUSE: 1
129-
GOPATH: /home/circleci/go
130126
TEST_VERBOSE: 1
131127
steps:
132128
- run: sudo apt update
@@ -157,13 +153,10 @@ jobs:
157153
- run:
158154
name: Setup Environment Variables
159155
# we need the docker host IP; all ports exported by child containers can be accessed there.
160-
command: echo "export DOCKER_HOST=$(ip -4 addr show docker0 | grep -Po 'inet \K[\d.]+')" >> $BASH_ENV
156+
command: echo "export TEST_DOCKER_HOST=$(ip -4 addr show docker0 | grep -Po 'inet \K[\d.]+')" >> $BASH_ENV
161157
- run:
162-
echo DOCKER_HOST=$DOCKER_HOST &&
163-
make -O -j 3 coverage/sharness_tests.coverprofile test/sharness/test-results/sharness.xml TEST_GENERATE_JUNIT=1 CONTINUE_ON_S_FAILURE=1 DOCKER_HOST=$DOCKER_HOST
164-
- run:
165-
when: always
166-
command: which ipfs || true
158+
echo TEST_DOCKER_HOST=$TEST_DOCKER_HOST &&
159+
make -O -j 3 coverage/sharness_tests.coverprofile test/sharness/test-results/sharness.xml TEST_GENERATE_JUNIT=1 CONTINUE_ON_S_FAILURE=1 TEST_DOCKER_HOST=$TEST_DOCKER_HOST
167160
- run:
168161
when: always
169162
command: bash <(curl -s https://codecov.io/bash) -cF sharness -X search -f coverage/sharness_tests.coverprofile

.github/ISSUE_TEMPLATE/bug-report.md

-23
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.yml

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Bug Report
2+
description: Report a bug in go-ipfs.
3+
labels:
4+
- kind/bug
5+
- need/triage
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
- Make sure you are running the [latest version of go-ipfs][releases] before reporting an issue.
11+
- If you have an enhancement or feature request for go-ipfs, please select [a different option][issues].
12+
- Please report possible security issues by email to [email protected]
13+
14+
[issues]: https://github.com/ipfs/go-ipfs/issues/new/choose
15+
[releases]: https://github.com/ipfs/go-ipfs/releases
16+
- type: checkboxes
17+
attributes:
18+
label: Checklist
19+
description: Please verify that you've followed these steps
20+
options:
21+
- label: This is a bug report, not a question. Ask questions on [discuss.ipfs.io](https://discuss.ipfs.io).
22+
required: true
23+
- label: I have searched on the [issue tracker](https://github.com/ipfs/go-ipfs/issues?q=is%3Aissue) for my bug.
24+
required: true
25+
- label: I am running the latest [go-ipfs version](https://dist.ipfs.io/#go-ipfs) or have an issue updating.
26+
required: true
27+
- type: dropdown
28+
id: install
29+
validations:
30+
required: true
31+
attributes:
32+
label: Installation method
33+
description: Please select your installation method
34+
options:
35+
- ipfs-desktop
36+
- ipfs-update or dist.ipfs.io
37+
- third-party binary
38+
- built from source
39+
- type: textarea
40+
id: version
41+
attributes:
42+
label: Version
43+
render: Text
44+
description: |
45+
Enter the output of `ipfs version --all`. If you can't run that command, please include a copy of your [gateway's version page](http://localhost:8080/api/v0/version?enc=text&all=true).
46+
- type: textarea
47+
id: config
48+
attributes:
49+
label: Config
50+
render: json
51+
description: |
52+
Enter the output of `ipfs config show`.
53+
- type: textarea
54+
attributes:
55+
label: Description
56+
description: |
57+
This is where you get to tell us what went wrong. When doing so, please make sure to include *all* relevant information.
58+
59+
Please try to include:
60+
* What you were doing when you experienced the bug.
61+
* Any error messages you saw, *where* you saw them, and what you believe may have caused them (if you have any ideas).
62+
* When possible, steps to reliably produce the bug.

.github/ISSUE_TEMPLATE/doc.md

-14
This file was deleted.

.github/ISSUE_TEMPLATE/doc.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Documentation Issue
2+
description: Report missing, erroneous docs, broken links or propose new go-ipfs docs.
3+
labels:
4+
- topic/docs-ipfs
5+
- need/triage
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Problems with documentation on https://docs.ipfs.io should be reported to https://github.com/ipfs/ipfs-docs
11+
- type: checkboxes
12+
attributes:
13+
label: Checklist
14+
description: Please verify the following.
15+
options:
16+
- label: I am reporting a documentation issue in this repo, not https://docs.ipfs.io.
17+
required: true
18+
- label: I have searched on the [issue tracker](https://github.com/ipfs/go-ipfs/issues?q=is%3Aissue) for my issue.
19+
required: true
20+
- type: input
21+
attributes:
22+
label: Location
23+
description: |
24+
If possible, please provide a link to the documentation issue.
25+
- type: textarea
26+
attributes:
27+
label: Description
28+
description: |
29+
Please describe your issue.

.github/ISSUE_TEMPLATE/enhancement.md

-11
This file was deleted.
+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Enhancement
2+
description: Suggest an improvement to an existing go-ipfs feature.
3+
labels:
4+
- kind/enhancement
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Suggest an enhancement to go-ipfs (the program). If you'd like to suggest an improvement to the IPFS protocol, please discuss it on [the forum](https://discuss.ipfs.io).
10+
11+
Issues in this repo must be specific, actionable, and well motivated. They should be starting points for _building_ new features, not brainstorming ideas.
12+
13+
If you have an idea you'd like to discuss, please open a new thread on [the forum](https://discuss.ipfs.io).
14+
15+
**Example:**
16+
17+
> Reduce memory usage of `ipfs cat` (specific) by buffering less in ... (actionable). This would let me run go-ipfs on my Raspberry Pi (motivated).
18+
- type: checkboxes
19+
attributes:
20+
label: Checklist
21+
description: Please verify the following.
22+
options:
23+
- label: My issue is specific & actionable.
24+
required: true
25+
- label: I am not suggesting a protocol enhancement.
26+
required: true
27+
- label: I have searched on the [issue tracker](https://github.com/ipfs/go-ipfs/issues?q=is%3Aissue) for my issue.
28+
required: true
29+
- type: textarea
30+
attributes:
31+
label: Description
32+
description: |
33+
Please describe your idea. When requesting an enhancement, please be sure to include your motivation and try to be as specific as possible.

.github/ISSUE_TEMPLATE/feature.md

-15
This file was deleted.

.github/ISSUE_TEMPLATE/feature.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Feature
2+
description: Suggest a new feature in go-ipfs.
3+
labels:
4+
- kind/feature
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Suggest a new feature in go-ipfs (the program). If you'd like to suggest an improvement to the IPFS protocol, please discuss it on [the forum](https://discuss.ipfs.io).
10+
11+
Issues in this repo must be specific, actionable, and well motivated. They should be starting points for _building_ new features, not brainstorming ideas.
12+
13+
If you have an idea you'd like to discuss, please open a new thread on [the forum](https://discuss.ipfs.io).
14+
15+
**Example:**
16+
17+
> Add deduplication-optimized chunking of tar files in `ipfs add` (specific) by examining tar headers ... (actionable). This would let me efficiently store and update many versions of code archives (motivated).
18+
19+
- type: checkboxes
20+
attributes:
21+
label: Checklist
22+
description: Please verify the following.
23+
options:
24+
- label: My issue is specific & actionable.
25+
required: true
26+
- label: I am not suggesting a protocol enhancement.
27+
required: true
28+
- label: I have searched on the [issue tracker](https://github.com/ipfs/go-ipfs/issues?q=is%3Aissue) for my issue.
29+
required: true
30+
- type: textarea
31+
attributes:
32+
label: Description
33+
description: |
34+
Please describe your idea. When requesting a feature, please be sure to include your motivation and and a concrete description of how the feature should work.

0 commit comments

Comments
 (0)