Andrew Gillis
175aabdd85
fix: error during config when running benchmarks ( #10495 )
...
- Benchmarks were failing with error setting number of bits for ed25519 keys, which are the default now.
- Update the random data generation package to remove a dependency.
2024-08-28 18:21:16 +02:00
Eng Zer Jun
7f7a5ab1b9
test: use T.TempDir to create temporary test directory
...
This commit replaces `os.MkdirTemp` with `t.TempDir` in tests. The
directory created by `t.TempDir` is automatically removed when the test
and all its subtests complete.
Prior to this commit, temporary directory created using `os.MkdirTemp`
needs to be removed manually by calling `os.RemoveAll`, which is omitted
in some tests. The error handling boilerplate e.g.
defer func() {
if err := os.RemoveAll(dir); err != nil {
t.Fatal(err)
}
}
is also tedious, but `t.TempDir` handles this for us nicely.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2023-03-13 10:29:36 -04:00
Marcin Rataj
82467bc936
refactor: rename to kubo
2022-07-06 18:40:37 +02:00
Jorropo
a433064d72
chore: replace ioutil with io and os ( #8969 )
...
Co-authored-by: Håvard Anda Estensen <haavard.ae@gmail.com >
2022-06-14 12:37:02 -04:00
Laurent Senta
8d549f03f3
fix: rewrite dependencies over the go-ipfs-config package
2022-03-04 09:45:16 +01:00
Cole Brown
f5ea1af519
Use 2048 bit RSA keys in sharness and bench
2019-08-23 14:26:20 -07:00
Steven Allen
1f293eff1b
chore: fix a bunch of issues caught by golangci-lint
...
Most of these are probably harmless but a few looked like they might actually be
bugs. Most of them are just faulty tests.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-03-29 11:57:45 +00:00
Jakub Sztandera
42e191c017
gx: unrewrite
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch >
2019-03-05 18:33:56 +01:00
Hector Sanjuan
6972a9aa4d
Gx Bubble. libp2p-6.0.38
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link >
2019-02-27 01:10:59 +00:00
Steven Allen
2f17b951c2
gx: update deps
...
* Updates go-ipfs-cmds to try to get the tests to pass on travis.
* While we're at it, fix duplicate gx deps.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-02-19 13:12:21 -08:00
Jakub Sztandera
28cf3de0f9
Update protobuf
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch >
2019-02-18 20:46:22 +01:00
Steven Allen
2c93eeffc6
gx: update go-libp2p-peer
...
Switch _back_ to the 0.4.18 style of peer IDs while we figure things out. See
https://github.com/libp2p/specs/issues/138 .
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-02-07 17:41:39 -08:00
Steven Allen
08cc5da55f
gx: update deps
...
Importantly:
* fixes a bunch of MFS bugs
* pulls in some bitswap improvements
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-01-08 19:19:34 -08:00
Łukasz Magiera
7b4ab36817
gx: update go-ipfs-config
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2019-01-04 02:37:06 +01:00
Steven Allen
5894291139
gx: update go-ipfs-config
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2018-12-20 10:07:32 -08:00
Steven Allen
9dcec2b3e2
gx: update go-libp2p-peer
...
Reverts the changes that allowed small keys (ed25519 keys) to be inlined.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2018-12-07 15:37:23 -08:00
Steven Allen
cef645936d
gx: update go-ipfs-config
...
* AutoRelay options for #5785 .
* Badger truncate-by-default option for #5275 , #5625 .
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2018-11-26 17:42:13 -08:00
Steven Allen
0d80fc54c3
gx: update go-log and sha256
...
fixes #5709
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2018-11-02 21:17:20 -07:00
Steven Allen
2b0bc7e084
configurable pubsub singing
...
I'd like to sneak this into the release so we can turn on strict verification
ASAP.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2018-10-26 04:00:44 -07:00
Steven Allen
c97c3459be
gx update
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2018-10-24 09:59:43 -07:00
Lars Gierth
fc2575740e
gx: update go-ipfs-config, iptb
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org >
2018-10-04 20:02:42 -04:00
Lars Gierth
2c3ed7efb0
gx: update go-datastore, go-libp2p-swarm
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org >
2018-10-04 19:52:42 -04:00
Steven Allen
dac058f8be
gx: update go-log go-ipld-cbor
...
(and friends)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2018-09-24 05:36:29 -07:00
Steven Allen
0252710020
remove Godeps
...
fixes #2722
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2018-09-11 12:11:24 -07:00
Steven Allen
a6e617f55c
gx: update peerstore
...
Also:
* Updates go-floodsub to fix a data race.
* Updates golang-lru
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2018-09-07 23:40:08 -07:00
Steven Allen
46a1d9d39b
gx update deps
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2018-08-31 10:29:26 -07:00
Marten Seemann
1c57b1d287
update go-ipfs-config to version 0.2.5
...
License: MIT
Signed-off-by: Marten Seemann <martenseemann@gmail.com >
2018-08-29 08:58:40 +07:00
Steven Allen
656d7cc1a6
gx: update go-cid, go-libp2p-peer, go-ipfs-cmds, go-ipfs-cmdkit
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2018-08-21 17:39:56 -07:00
vyzo
e002de9571
update go-ipfs-config
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org >
2018-08-15 10:02:32 -07:00
Łukasz Magiera
838a30cd22
gx: Update config
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2018-08-09 12:39:55 +02:00
Łukasz Magiera
d52091fa55
Update iptb
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2018-08-09 10:57:31 +02:00
Łukasz Magiera
b65cf84a34
repo: move version.go back here
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2018-08-09 10:51:15 +02:00
Steven Allen
87f02e53a7
remove -f flags from calls to init
...
It doesn't mean anything anymore.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2017-07-19 11:46:55 -07:00
Richard Littauer
9aaa743a51
docs: decapitalize IPFS where possible
...
Tried to check all instances of IPFS and make sure they werent referring to the CLI tool. See #2910 .
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com >
2016-10-27 22:54:36 -07:00
Christian Couder
96a22c5bb1
config: change default config dir name to .ipfs
...
This changes .go-ipfs to .ipfs everywhere.
And by the way this defines a DefaultPathName const
for this name.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org >
2015-04-20 02:25:41 -07:00
Ho-Sheng Hsiao
bf22aeec0a
Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs
...
- Modified Godeps/Godeps.json by hand
- [TEST] Updated welcome docs hash to sharness
- [TEST] Updated contact doc
- [TEST] disabled breaking test (t0080-repo refs local)
2015-03-31 12:52:25 -07:00
Brian Tiger Chow
a58515ffb2
add benchmark for ipfs add CLI
2015-01-20 17:01:09 -08:00