de72087df3
Fix some weird code in core/coreunix/add.go
...
Code was just weird. I think it looks better now.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-08-14 13:15:53 +02:00
79e7d5e542
update go-datastore to use []byte values instead of {}interface values
...
* Most of our datastores barf on non []byte values.
* We have to have a bunch of "is this a []byte" checks.
* Saves some allocations.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-13 14:42:55 -07:00
fda3d88245
Rename prefix to CidBuilder in names when a cid.Builder is used.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-12 20:49:49 -04:00
075ecb09d0
Gx updates and fixes to use new cid.Builder interface.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-12 19:15:07 -04:00
f0769366f1
update cmdkit to fix the progress bar
...
The progressbar should now correctly calculate the size of a directory (by
ignoring the directory sizes).
fixes #5288
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-10 17:21:28 -07:00
594d95af5d
update gogo-protobuf
...
fixes #3214
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-08 18:56:13 -07:00
3e13277dd4
gx: update deps
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-07 10:02:59 -07:00
042a9729a2
Update bitswap deps
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-08-05 13:22:51 -07:00
b96a7a0579
extract go-unixfs (importers and unixfs)
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-07-30 14:54:26 -07:00
28fdee7fce
Extract dagservice, move dagutils to top level
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-07-28 14:22:20 -07:00
53235242a1
gx update deps
...
Updates:
* go-net
* go-text
* dns
* prometheus
* protobuf (golang, not gogo)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-23 11:49:43 -07:00
9a9979b193
update go-cid
...
alternative to #5243 that updates go-cid and all packages that depend on it
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-16 15:16:49 -07:00
51607243c2
Merge pull request #5170 from schomatis/feat/mfs/root-val-as-dir
...
mfs: make `Root` value a `Directory`
2018-07-16 16:48:06 +02:00
08922d239d
mfs: make Root
value a Directory
...
Make `Root` value explicitly a `Directory` structure instead of the `FSNode`
interface (which also allowed the `File` type). This helps to make the code
easier to reason about: the root of an MFS layout is always a directory, not a
(single) file.
Rename `GetValue()` to `GetDirectory()` to also make it more explicit, the
renamed function now returns a `Directory` so there is no need for type
assertions that were previously done on the `FSNode` interface to check that it
was actually a `Directory`.
`NewRoot()` now doesn't allow to create `Root` structures from DAG nodes that
contain UnixFS files.
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-06-29 11:30:53 -03:00
6da92a1f0a
Fix wrong added filename
...
License: MIT
Signed-off-by: Masahiro Saito <camelmasa@gmail.com>
2018-06-28 09:07:23 -04:00
3eba14aa24
gx update
...
Updates:
* go-kad-dht: Query performance improvements, DHT client fixes, validates
records on *local* put.
* go-libp2p-swarm/go-libp2p-transport: Timeout improvements.
* go-multiaddr-net: Exposes useful Conn methods (CloseWrite, CloseRead, etc.)
* go-log: fixes possible panic when enabling/disabling events.
* go-multiaddr: fixes possible panic when stringifying malformed multiaddrs,
adds support for consuming /p2p/ multiaddrs.
fixes #5113
unblocks #4895
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-26 17:11:33 -07:00
85acad9a01
gx update go-log, sys, go-crypto
...
* go-log
* sys
* go-crypto
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-08 22:36:24 -07:00
1e9e2f453c
update deps
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 17:59:17 -07:00
3c32040ad8
fix unused imports
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-20 16:53:09 +02:00
c225c344e4
Merge pull request #4833 from ipfs/misc/remove-dead-code
...
misc: Remove some dead code
2018-04-20 23:39:55 +09:00
df59b29fdc
Extract exchange/offline to go-ipfs-exchange offline
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-04-19 12:07:36 +02:00
3ee1d76d88
Update to latest go-datastore
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-26 22:12:14 +02:00
ae528640d9
misc: Remove some dead code
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-21 01:34:04 +01:00
758e00bc4c
Extract blocks/blockstore package to go-ipfs-blockstore
...
This extracts the blocks/blockstore package and renames the
blocks/blockstore/util package to /blocks/blockstoreutil
(because util depends on Pin and I don't plan to extract
Pin and its depedencies).
The history of blocks/blockstore has been preserved. It has
been gx'ed and imported. Imports have been rewritten accordingly
and re-ordered.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-15 18:03:41 +01:00
381977476f
Extract: chunker: rename "chunk" to "chunker" as it is more consistent
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:49:39 +01:00
76d228cf75
Extract chunker: Use last gx'ed go-ipfs-chunker
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:43:29 +01:00
1811425aab
go-ipfs-chunker: Use the stable gx'ed release
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:34:51 +01:00
c613fbec38
WIP: Extract: importers/chunk module as go-ipfs-chunker
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:34:15 +01:00
bb061d615c
Extract posinfo package to github.com/ipfs/go-ipfs-posinfo
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 13:39:53 +01:00
d1a3fccd34
Merge pull request #4637 from ipfs/gx/update-go-log
...
gx: update go-log
2018-02-03 15:30:42 -08:00
5d90aa2a8f
Docs: golint-ify "importers" module
...
This fixes all golint warnings in the importers module, adding
documentation and module descriptions.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-01 23:47:38 +01:00
b2cbfd299c
gx: update go-log
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-31 21:54:22 -08:00
f9d935b984
rename import of go-ipld-format from node/format to ipld
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 11:55:34 -08:00
d154b4a990
merkledag: switch to new dag interface
...
Also:
* Update the blockstore/blockservice methods to match.
* Construct a new temporary offline dag instead of having a
GetOfflineLinkService method.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:13:19 -08:00
fe8846fcd7
gx: mass update
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-24 15:58:44 -08:00
cfdcd9802f
Merge pull request #4599 from ipfs/feat/doc-interfaces
...
Feat/doc interfaces
2018-01-24 14:02:39 -08:00
1c1149675e
docs for coreunix add method impls
...
License: MIT
Signed-off-by: ForrestWeston <forrest@protocol.ai>
2018-01-22 16:25:00 -08:00
267c19ab9d
some fixes for latest from go-ipfs-cmds
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-01-21 11:11:47 -08:00
fbc36b8962
update dependencies and update TODO
...
broken sharness test t0110 has been fixed in master
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
e8ad094448
add TODO
...
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
bd9576fa57
start adopting cmds3.0 - lots of errors!
...
- move go-ipfs-cmds/legacy to go-ipfs/commands/legacy
- update cmds,cmdkit; go test ./... ok
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
bf5fd74a8e
fix defered unlock of pin lock in AddR
...
This wasn't causing any problems because this function is actually dead
code (but possibly useful?).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-07 22:33:51 -08:00
1a0d6ec2ba
Merge pull request #4509 from ipfs/fix/mfs-flush-free-mem
...
Ensure that flush on the mfs root flushes its directory
2018-01-02 11:41:29 -08:00
3e6eabba54
Fix memory clearing in adder
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-12-31 13:43:10 -08:00
101e1c3cb1
take adder by pointer, not by value...
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-19 19:08:55 -08:00
dfe7ef4fcf
gx: update go-multihash
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 13:09:51 -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
96e1315cff
AddWithContext wraps custom context
...
AddWithContext should use the custom context when calling
NewAdder
License: MIT
Signed-off-by: ForrestWeston <forrest@protocol.ai>
2017-11-28 10:00:47 -08:00
76e1da02a8
gx: massive update
...
Note: This commit is technically broken. However, I need to make a bunch of
cmds changes to make this work and I'd rather not bundle both changes into a
single commit.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-20 22:20:27 -08:00
f287524949
cmd: use go-ipfs-cmds
...
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:41 +01:00