Commit Graph

12561 Commits

Author SHA1 Message Date
Steven Allen
299fc0b725
Merge pull request #8340 from jbouwman/files-cp-parent
Add flag to create parent directories in files cp command
2021-08-14 10:29:05 -07:00
Jesse Bouwman
0af19abe6b Verify creation of file created by cp -p 2021-08-14 09:38:33 -07:00
Jesse Bouwman
ff3fff107b Clean up after cp -p test 2021-08-14 09:34:47 -07:00
Jesse Bouwman
148fe42ebb
Merge branch 'ipfs:master' into files-cp-parent 2021-08-14 07:51:24 -07:00
Jesse Bouwman
0d87b474c1 Add test for ipfs files cp -p 2021-08-13 17:21:30 -07:00
Steven Allen
7c76118b0b
Merge pull request #8318 from ipfs/fix/path-panic
fix: avoid out of bounds error when rendering short hashes
2021-08-13 14:54:25 -07:00
Steven Allen
34be171765
Merge pull request #8296 from ipfs/fix/deprecated
fix: remove some deprecated calls
2021-08-13 14:43:58 -07:00
Steven Allen
a945a9d501
Merge pull request #8244 from Lasiar/perf/swarm/set-capacity
perf: set an appropriate capacity
2021-08-13 14:43:30 -07:00
Steven Allen
1156e2203b
Merge pull request #8338 from ipfs/dependabot/go_modules/go.uber.org/zap-1.19.0
build(deps): bump go.uber.org/zap from 1.16.0 to 1.19.0
2021-08-13 14:39:27 -07:00
Steven Allen
6e0f0847bb
Merge pull request #8331 from TakashiMatsuda/fix/node-peering
Fix: Use a pointer type on IpfsNode.Peering
2021-08-13 14:38:25 -07:00
Steven Allen
2138798ea5 fix: remove some deprecated calls 2021-08-13 14:09:43 -07:00
Marcin Rataj
6e610066f6
fix: macos notarized fs-repo-migrations (#8333)
Uses: https://github.com/ipfs/distributions/pull/381
Closes #8240
2021-08-12 18:52:23 +02:00
Jesse Bouwman
c2e6a22bba Restore dropped error condition check 2021-08-12 09:40:24 -07:00
Jesse Bouwman
155435cb35 Add flag to create parent directories in files cp command
Closes #8289
2021-08-12 09:23:39 -07:00
dependabot[bot]
88367e38e7
build(deps): bump go.uber.org/zap from 1.16.0 to 1.19.0
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.16.0 to 1.19.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.16.0...v1.19.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 11:26:26 +00:00
Steven Allen
9398d80878
Merge pull request #8220 from ShadSterling/patch-1
README.md: Add MacPorts to install section
2021-08-10 09:47:22 -07:00
Gus Eggert
0e73e23567
Merge pull request #8332 from ipfs/feat/first-block-metric
feat: register first block metric by default
2021-08-09 17:08:46 +00:00
Adrian Lanzafame
02823935aa feat: register first block metric by default 2021-08-07 15:48:22 -04:00
Takashi Matsuda
44f5b8b274 use a pointer type on node.Peering for mutex 2021-08-07 15:51:05 +09:00
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
Steven Allen
66a76d27f3 fix: abort when we fail to resolve CIDs
I believe we figured that these were for "informational purposes", but
really, we _should_ always be able to resolve names to CIDs. If we
can't, there's probably something wrong with the directory.
2021-07-30 11:36:23 -07:00
Steven Allen
0858dc62aa fix: avoid panic on short hash
(caught higher up but should still be fixed)
2021-07-30 11:33:53 -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