1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-28 00:39:31 +08:00

7983 Commits

Author SHA1 Message Date
f3f0179c75 Merge pull request #4484 from ipfs/fix/pollEndpoint-use-debugf
pollEndpoint: use Debugf
2017-12-14 12:47:08 -08:00
f29b1ffbdb Merge pull request #4489 from ipfs/fix/sharness-docker
Fix sharness docker
2017-12-14 12:46:37 -08:00
af21ae129d politely ask programs to not print ANSI codes by setting TERM to dumb
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 08:41:57 -08:00
de02525594 strip ANSI sequences from docker build output
sharness was failing because an ANSI reset sequence was getting inserted at the
beginning of the line.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 08:37:27 -08:00
a7acb77889 fix empty continuation line docker error
I believe this is actually a bug in docker but it's easier to fix it ourselves
here.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 08:31:53 -08:00
35f651b6cb pollEndpoint: use Debugf
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-12-13 14:20:15 +01:00
5ad9f4d70a Merge pull request #4480 from qri-io/4478-doc-gx-release
document gx release checklist item
2017-12-12 01:29:21 +01:00
d66ffb8aac Merge pull request #4481 from qri-io/gx-0.4.13
gx release v0.4.13
2017-12-12 01:28:38 +01:00
b5
54c288cc93 Ipfs v0.4.13
License: MIT
Signed-off-by: Brendan <sparkle_pony_2000@qri.io>
2017-12-11 13:51:30 -05:00
eb9a04573c document gx release checklist item
License: MIT
Signed-off-by: Brendan O'Brien <sparkle_pony_2000@qri.io>
2017-12-11 13:31:41 -05:00
cca71b6db8 Merge pull request #4469 from ipfs/kevina/fix-4467
Always set IPFS_PATH in test-lib.sh
2017-12-09 18:57:32 +01:00
7fd7ab6929 Merge pull request #4472 from ipfs/fix/4470
Demote bitswap error to an info
2017-12-09 18:57:10 +01:00
72582c9a37 Demote bitswap error to an info
Not being able to dial a peer we used to be connected to is interesting but
definitely not an error.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-08 14:04:34 -08:00
8b90b70b1c Merge pull request #4458 from ipfs/fix/bitswap-nits
bitswap nits
2017-12-08 23:00:55 +01:00
2aeaf6309d Always set IPFS_PATH in test-lib.sh
Before it was only set when "test_init_ipfs" is called but that is
not always used, for example in t0025-datastores.sh.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-12-08 14:12:26 -05:00
a4f9333463 Merge pull request #4460 from ipfs/fix/object-patch-nonpb
object-patch: Support linking to non-dagpb objects
2017-12-08 00:10:54 +01:00
550fef8db1 merkledag/utils: switch copyDag to node.Node
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-07 22:27:20 +01:00
5d30b4f34a object-patch: test resolving ipld objects
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-07 21:34:01 +01:00
4d41235598 Merge pull request #4428 from ipfs/feat/namesys-logging
Refine gateway and namesys logging
2017-12-07 21:00:56 +01:00
93151d4c33 bitswap: fewer allocations in bitswap sessions
Also, don't call time.Now in a loop.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-07 11:43:58 -08:00
15c734188f bitswap: better wantmanager allocation patterns
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-07 11:43:58 -08:00
0c91b183eb bitswap: preallocate cid string array
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-07 11:43:58 -08:00
a589470329 bitswap: better allocation patters in message
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-07 11:43:58 -08:00
36cf839a55 bitswap: remove useless code
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-07 11:43:58 -08:00
764cbe1c5b bitswap: better wantlist allocation patterns
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-07 11:43:58 -08:00
cb2ed89252 bitswap: defer unlock when possible
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-07 11:43:58 -08:00
0f8155b668 bitswap: preallocate peers array on bitswap stat
Avoids lots of reallocations under a lock.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-07 11:43:58 -08:00
55692ac9b6 gateway: degrade most logging to debug level
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-12-07 00:21:57 +01:00
5d6b3c5701 namesys: degrade most logging to debug level
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-12-07 00:21:57 +01:00
9aab19ea35 object-patch: Support linking to non-dagpb objects
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-06 20:59:34 +01:00
bbdbd0ac6f Merge pull request #4398 from ipfs/fix/hamt-bug
fix hamt delete issue
2017-12-05 20:53:51 +01:00
715bd16e0e Merge pull request #3801 from hoenirvili/refactor-code
Safe check rlimit syscall and refactoring
2017-12-05 18:34:51 +01:00
f16ada6159 This patch contains more safe checking in syscall rlimit and unit tests
The soft limit is the value that the kernel enforces for the corresponding resource
The hard limit acts as a ceiling for the soft limit
an unprivileged process may only set its soft limit to a value
in the range from 0 up to the hard limit.
So in order to make the change in fds count without any error we should
inform the user to make the process have CAP_SYS_RESOURCE capability
in order to set the hard limit.

License: MIT
Signed-off-by: hoenirvili <hoenirvili@gmail.com>
2017-12-04 17:27:00 -05:00
a234c56bec Merge pull request #3983 from ivan386/patch-3
check strong and weak ETag validator
2017-12-04 20:36:43 +01:00
e8cad12465 Merge pull request #4445 from ipfs/fix/4427
build for all supported platforms when testing
2017-12-04 20:12:55 +01:00
6104cfdf7d Merge pull request #4449 from hacdias/patch-1
Update WebUI version
2017-12-04 20:03:59 +01:00
76e4dcf757 appease codeclimate
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-12-04 10:59:57 -08:00
c7eddabd43 Merge pull request #4451 from ipfs/fix/better-pinning
Pinning fixes
2017-12-04 18:51:07 +01:00
bee2ba386b Merge pull request #4454 from ipfs/fix/get-error-4452
Fix error handling in commands add and get
2017-12-04 18:44:48 +01:00
1a75c40f5b require go1.9
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-12-04 09:33:20 -08:00
6f82f08611 fix error handling in core/commands/{add,get}.go
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-12-04 14:27:34 +01:00
9a335cee13 fewer allocations on unpin
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-03 19:05:05 -08:00
498ee0dc0b resolve and pin in one step
instead of resolving all the pins first and then pinning, pin after resolving
each pin.

This:

1. Avoids storing all the nodes in memory.
2. Avoids not showing pin progress.

fixes #4122

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-03 19:03:04 -08:00
924b2a0a34 don't add nodes to DAG twice.
Now that we add nodes to the DAG when pinning, don't bother adding them twice.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-03 19:02:09 -08:00
953b610470 add node to dagserv under lock
Otherwise, we could run a GC between adding and pinning.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-03 19:02:09 -08:00
8e780d2304 don't create a new context per pin
This came from an old commit that used a TODO context. Now that we have a real
context, use that.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-03 19:02:08 -08:00
39f0f5f796 Merge pull request #4443 from ipfs/fix/4408
make repo size test pass deterministically
2017-12-03 18:05:26 +01:00
2ee18fad01 Merge pull request #4399 from ipfs/gx/datastore-1.4.0
gx: Update go-datastore to 1.4.0
2017-12-03 05:20:08 +01:00
4fe1bcbffc gx import missing go-libp2p-blankhost dep
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-02 14:55:27 -08:00
6401a9191e gx: Update go-datastore to 1.4.0
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-02 14:55:26 -08:00