Commit Graph

12538 Commits

Author SHA1 Message Date
Gus Eggert
64df3ea004
Merge pull request #8142 from ipfs/ci-build-docker-with-plugins
Build a go-ipfs:extras docker image
2021-08-05 20:46:12 +00:00
Gus Eggert
499b596efa Merge branch 'master' into ci-build-docker-with-plugins 2021-08-05 16:10:00 -04:00
Steven Allen
e9b1e2d6fb
Merge pull request #8266 from Lasiar/fix/go-ipfs-as-a-library
fix/go-ipfs-as-a-library
2021-08-03 09:15:47 -07:00
lasiar
d00e9656ac refactor(as-a-library): change comment with default path repo 2021-08-03 08:46:16 -07:00
lasiar
da0afea33b refactor(as-a-library): remove unused context
createTempRepo doesn't use context
2021-08-03 08:46:16 -07:00
lasiar
67fdd6e876 refactor(as-a-library): remove redundant alias
libp2p doesn't need alias
2021-08-03 08:46:16 -07:00
lasiar
4a9dace814 refactor(as-a-library): wrap error
wrap error handling from connectToPeers in a closure
2021-08-03 08:46:16 -07:00
lasiar
d6f442bb86 refactor(as-a-library): replace deprecated functions and structures 2021-08-03 08:46:16 -07:00
lasiar
c5b0f15003 fix(as-a-library): go mod tidy 2021-08-03 08:46:15 -07:00
Andrew Gillis
3b6f57788b
Expose additional migration APIs (#8153)
* Expose additional migration APIs

Expose migration APIs for reading migration config and creating migration fetchers.  This allows implementation of commands and external applications that want to retrieve migrations according to the Migration portion of the IPFS config.

This change also moves some functionality that is specific to fetching migrations via IPFS into the `ipfsfetcher` package.
2021-07-30 11:27:57 -07:00
Petar Maymounkov
cab67f6b66
point ipfs to pinner that syncs on every pin (#8231)
Pinner upgrades and fixes. Faster reindexing. Syncing while reindexing. Syncing on every pin operation. Logging all pin operations.

Co-authored-by: gammazero <gammazero@users.noreply.github.com>
2021-07-29 10:27:05 -07:00
Marcin Rataj
eda8b43a28 docs: chocolatey package name
We use go-ipfs name now, to make it clear that it is not ipfs-desktop.
2021-07-23 08:35:03 -07:00
Adin Schmahmann
6de589c0c7
Merge pull request #8254 from ipfs/schomatis/chore/sharness/t0250/change-online-offline-naming
Disambiguate online/offline naming in sharness tests
2021-07-23 08:27:18 -07:00
Steven Allen
461f691810
Merge pull request #8295 from ipfs/dependabot/go_modules/github.com/ipfs/go-fs-lock-0.0.7
build(deps): bump github.com/ipfs/go-fs-lock from 0.0.6 to 0.0.7
2021-07-22 08:42:44 -07:00
dependabot[bot]
848cf690b5
build(deps): bump github.com/ipfs/go-fs-lock from 0.0.6 to 0.0.7
Bumps [github.com/ipfs/go-fs-lock](https://github.com/ipfs/go-fs-lock) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/ipfs/go-fs-lock/releases)
- [Commits](https://github.com/ipfs/go-fs-lock/compare/v0.0.6...v0.0.7)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-fs-lock
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-22 15:08:42 +00:00
Steven Allen
1ddb1c5c59
Merge pull request #8283 from ipfs/rvagg/rename-docker-host
Rename DOCKER_HOST to TEST_DOCKER_HOST to avoid conflicts
2021-07-22 07:56:45 -07:00
Steven Allen
f3ea1f09c2
Merge pull request #8288 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-peerstore-0.2.8
build(deps): bump github.com/libp2p/go-libp2p-peerstore from 0.2.7 to 0.2.8
2021-07-22 07:56:07 -07:00
Steven Allen
5bf5a58bfd
Merge pull request #8291 from ipfs/feat/diag-profile
feat: add an "ipfs diag profile" command
2021-07-22 07:55:32 -07:00
Steven Allen
9c1bb99eeb
fix: spelling
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2021-07-21 20:45:45 -07:00
Steven Allen
3745047ccf doc(profile): improve profiling docs 2021-07-21 18:04:11 -07:00
Steven Allen
0bea7ce6a9 test(sharness): test profile dump 2021-07-21 18:04:11 -07:00
Adin Schmahmann
748062add8 Merge branch 'release'
# Conflicts:
#	go.mod
#	go.sum
#	version.go
2021-07-21 20:52:24 -04:00
Steven Allen
e1cf99cfab
fix(ipfs diag profile): fix wording
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2021-07-21 16:22:59 -07:00
Steven Allen
77f3fed5a1 feat(ipfs diag profile): help text 2021-07-21 15:50:29 -07:00
Steven Allen
722fc4fa4c feat(ipfs diag profile): output version info only
sys diag includes private information (like the interface addresses)
2021-07-21 15:50:21 -07:00
Adin Schmahmann
0fa987eca7
Merge pull request #8290 from ipfs/feat/improve-mkrelease
feat: improve mkreleaslog
2021-07-21 15:09:04 -07:00
Steven Allen
d52d183020 feat: add an "ipfs diag profile" command
This should replace the "collect-profiles.sh" script and allow users to
easily collect profiles.

At the moment, it just dumps all profiles into a single zip file. It
does this server-side so it's easy fetch them with curl.

In the future, it would be nice to add:

1. Progress indicators (cpu profiles take 30 seconds).
2. An option to specify which profiles to collect.

But we can handle that later.

Unfortunately, this command doesn't produce symbolized svgs as I didn't
want to depend on having a local go compiler.
2021-07-21 14:51:47 -07:00
Steven Allen
99ccde2f24 fix(mkreleaselog): match files anywhere in the path
I had _thought_ pathspecs needed to start with / to only match the root,
but apparently not.
2021-07-21 12:37:51 -07:00
Steven Allen
8fca584a3c fix(mkreleaselog): remove outdated comment 2021-07-21 11:33:09 -07:00
Steven Allen
d3604bb06a feat: improve mkreleaslog
1. Allow matching the entire module instead of just github
   orgs/usernames.
2. Allow excluding some modules.
3. Ignore files using a github pathspec and apply the same ignore
   patterns to the "contributors" section.
2021-07-21 10:54:26 -07:00
Adin Schmahmann
dc2715af68
Merge pull request #8267 from ipfs/release-v0.9.1
Release v0.9.1
2021-07-21 09:52:52 -07:00
Adin Schmahmann
3b21fcfb89 Release v0.9.1 2021-07-21 11:34:53 -04:00
Adin Schmahmann
13edc8effe docs: update changelog for v0.9.1 2021-07-21 11:34:53 -04:00
dependabot[bot]
d26d9b6ff9
build(deps): bump github.com/libp2p/go-libp2p-peerstore
Bumps [github.com/libp2p/go-libp2p-peerstore](https://github.com/libp2p/go-libp2p-peerstore) from 0.2.7 to 0.2.8.
- [Release notes](https://github.com/libp2p/go-libp2p-peerstore/releases)
- [Commits](https://github.com/libp2p/go-libp2p-peerstore/compare/v0.2.7...v0.2.8)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p-peerstore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-21 11:23:23 +00:00
Rod Vagg
8a7d5e9244
Rename DOCKER_HOST to TEST_DOCKER_HOST to avoid conflicts
DOCKER_HOST is a special environment variable of the Docker CLI
so there's risk of creating conflicts whenever attempting to use `docker`
in the test suite; it also makes it difficult to run the same full suite
locally using the same setup since DOCKER_HOST is a fixed variable in
t0700-remotepin.sh
2021-07-21 14:44:24 +10:00
Steven Allen
050a281e88
Merge pull request #8280 from ipfs/masih/test-issue-3503
Add test with expected failure for #3503
2021-07-20 19:47:42 -07:00
Adin Schmahmann
74bd44f0ea Create PATCH_RELEASE_TEMPLATE.md 2021-07-20 17:00:16 -07:00
Steven Allen
e2bb85792b
Merge pull request #8279 from ipfs/feat/issue-forms
use issue forms
2021-07-20 12:40:35 -07:00
Steven Allen
cc70dcd0dc chore(github): add a config section to the bug report template 2021-07-20 10:03:15 -07:00
Steven Allen
f0c9065504 chore(github): add issue search checklist item to all templates 2021-07-20 09:46:26 -07:00
Steven Allen
dae28b0272
chore(github): fix feature example in issue form
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2021-07-20 09:38:55 -07:00
Masih H. Derkani
1aa9c1a18f
Add test with expected failure for #3503
Write a `sharness` test that expects failure documenting the issue
raised in #3503. The issue may get resolved in the refactoring of
`ipfs dag get` command to support go-ipld-prime (e.g. #8171). For now
add a `sharness` test that expects failure. We will then flip the
expectation in the success in the rewriting PR to check if #3503 gets
resolved.

Relates to:
- https://github.com/ipfs/go-ipfs/issues/3503
2021-07-20 12:16:33 +01:00
Steven Allen
0eb50454db
Merge pull request #8270 from ipfs/update-libp2p
update go-libp2p to v0.14.4
2021-07-19 19:24:33 -07:00
Steven Allen
a757234149 chore(github): use issue forms
This change converts go-ipfs to the new issue forms.

Initial implementation by @RubenKelvera in
https://github.com/ipfs/go-ipfs/pull/7967. The version here:

1. Converts all forms.
2. Asks fewer questions (for bug reports). We can expand the form later,
   but I always hated bugzilla bug report forms.
2021-07-19 19:08:24 -07:00
Steven Allen
d2db8b4966
Merge pull request #8271 from godcongdev/master
fix document error
2021-07-19 11:22:32 -07:00
godcong
8c337160ac fix document error 2021-07-17 17:20:58 +08:00
Marten Seemann
d2ec458e6f update go-libp2p to v0.14.4 2021-07-17 09:41:04 +02:00
Adin Schmahmann
8684639a6b chore: update deps
(cherry picked from commit 9599ad5d7d)
2021-07-16 18:41:27 -04:00
Marcin Rataj
1df585b10c feat: webui v2.12.4
(cherry picked from commit c7444fb61a)
2021-07-16 18:41:22 -04:00
Marcin Rataj
2788fde890 test: gateway response for bafkqaaa
Context: https://github.com/ipfs/go-ipfs/issues/8230
(cherry picked from commit fcfe79333c)
2021-07-16 18:41:16 -04:00