Commit Graph

11097 Commits

Author SHA1 Message Date
Steven Allen
e2ab620f81 cmds/pin: fix pin imports
* Name them. Unfortunately, This makes the *actual* package names clear. I know
  this isn't "idiomatic go" but it's idiomatic go-ipfs.
* Remove the duplicate import.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-29 11:29:53 -08:00
Overbool
7a08cf9cf3 cmds/pin: modify test
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-01-29 11:29:48 -08:00
Overbool
99feecfdcc cmds/pin: use coreapi/pin
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-01-29 11:29:48 -08:00
Steven Allen
04fa5cfb8d
Merge pull request #5950 from da2x/dnslink-fqdn
Only perform DNSLink lookups on fully qualified domain names (FQDN)
2019-01-29 10:32:40 -08:00
Steven Allen
7ab32c398c
Merge pull request #5951 from da2x/osxfuse-config-command
Fix DontCheckOSXFUSE config command example
2019-01-29 10:27:21 -08:00
chenminjian
5af442da8d refact(cmd/init): change string option to const
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2019-01-29 00:28:44 +08:00
Steven Allen
b5c7a1fcaf
Merge pull request #5948 from chenminjian/refact/cmd/config
refact(cmd/config): change string option to const
2019-01-28 08:01:27 -08:00
Daniel Aleksandersen
a70dc919f2 Add FQDN name test
License: MIT
Signed-off-by: Daniel Aleksandersen <code@daniel.priv.no>
2019-01-28 08:47:51 +01:00
Daniel Aleksandersen
7f1a9f013e Fix DontCheckOSXFUSE config command example
License: MIT
Signed-off-by: Daniel Aleksandersen <code@daniel.priv.no>
2019-01-28 08:18:38 +01:00
Daniel Aleksandersen
fedd425a85 Update mockDNS to use FQDNs
License: MIT
Signed-off-by: Daniel Aleksandersen <code@daniel.priv.no>
2019-01-28 08:15:53 +01:00
Daniel Aleksandersen
775caf16cf Only perform DNSLink lookups on fully qualified domain names (FQDN)
This change halves the number of DNS queries requires to lookup DNSLink
information for "example.com" by forcing the use of a FQDN.

* example.com
* example.com.local (removed)
* _dnslink.example.com
* _dnslink.example.com.local (removed)

Where .local is the local system's organization/domain name.

License: MIT
Signed-off-by: Daniel Aleksandersen <code@daniel.priv.no>
2019-01-28 07:39:11 +01:00
chenminjian
4e91469b90 refact(cmd/config): change string option to const
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2019-01-27 14:26:58 +08:00
Steven Allen
ca77ecc766
Merge pull request #5651 from kjzz/fix/reslove-note
clarification the document of --resolve flag in name.publish
2019-01-24 13:37:18 -08:00
Steven Allen
3c29855e65 commands: remove extra <<default>> text from help text
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-24 13:36:44 -08:00
Kejie Zhang
ab89503faa clarification the document of --resolve flag in name.publish
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2019-01-24 13:36:44 -08:00
Steven Allen
b5778b528c Merge branch 'doc/config/profile-randomports'
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-24 08:04:09 -08:00
tarekbadr
b80646e4d2 docs-randomports: edit docs config add 'randomports' flag.
it's Generate random port for swarm.

License: MIT
Signed-off-by: Tarek Badr <tarekbadrshalaan@gmail.com>
2019-01-24 08:02:19 -08:00
Steven Allen
062f47ef91
Merge pull request #5938 from ipfs/misc/cleanup-coreunix
Drop some coreunix code
2019-01-24 05:50:23 -08:00
Łukasz Magiera
a49c07a176 Drop some coreunix code
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-24 04:16:55 -08:00
Steven Allen
aefb372540
Merge pull request #5940 from ipfs/fix/verbose-flag
commands: fix verbose flag
2019-01-23 15:02:29 -08:00
Steven Allen
7c6ec8185a commands: fix verbose flag for the active commands command
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-23 11:25:13 -08:00
Steven Allen
6240f57ed4 commands: fix verbose flag
Options are recorded using their *first* name.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-23 11:23:38 -08:00
Steven Allen
77cd41acfe
Merge pull request #5937 from ipfs/fix/nocopy-errors
Fixes #4558
2019-01-23 11:13:28 -08:00
Łukasz Magiera
53e55e3314 gx: update go-unixfs to 1.2.14 and go-bitswap to 1.1.21
(and everything else...)

License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-23 11:01:38 -08:00
Łukasz Magiera
b2a5168468 Unixfs: enforce refs on files when using nocopy
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-23 05:17:46 -08:00
Łukasz Magiera
19ca1a819f Unixfs.Add nocopy test
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-23 05:17:46 -08:00
Steven Allen
649fd1f4d6
Merge pull request #5939 from ipfs/misc/dag-coreapi
Port dag commansds to CoreAPI
2019-01-23 04:56:17 -08:00
Łukasz Magiera
85eb8812fa Port dag commansds to CoreAPI
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-22 21:01:19 +01:00
Steven Allen
2c2d2e2ad7
Merge pull request #5936 from ipfs/fix/mfs-flush
mfs: make sure to flush after mv and chcid
2019-01-22 04:58:57 -08:00
Steven Allen
e9953972ed mfs: make sure to flush after mv and chcid
We need to call `FlushPath` as `Flush` doesn't call `WaitPub` internally. The
correct fix is to rework MFS such that Flush actually flushes but that's a
larger project.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-21 20:01:40 -08:00
Steven Allen
74bf836d2e
Merge pull request #5864 from nitishm/docs/mfs/add-code-flow
docs/code-flow : Add code flow documentation for add cmd.
2019-01-21 22:31:32 +00:00
Steven Allen
532c9bd90e
Merge pull request #5935 from ipfs/tests/coreapi-fixes
coreapi: few more error check fixes
2019-01-21 22:30:18 +00:00
Łukasz Magiera
480a3a3de1 coreapi: few more error check fixes
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-21 21:36:11 +01:00
Steven Allen
083d85ca17
Merge pull request #5920 from hexdigest/master
Fixed and cleaned up TestIpfsStressRead
2019-01-21 17:58:17 +00:00
Steven Allen
5b6f41a0cf
Merge pull request #5923 from da2x/patch-1
Clarify that chunker sizes are in bytes
2019-01-21 17:57:31 +00:00
Steven Allen
38a3938960
Merge pull request #5931 from chenminjian/refact/cmd/patch
refact(cmd/patch): change string to const
2019-01-21 17:57:11 +00:00
Steven Allen
21ac6c7429
Merge pull request #5932 from chenminjian/refact/cmd/object
refact(cmd/object): change option string to const
2019-01-21 17:56:53 +00:00
Steven Allen
2e83a0a15a
Merge pull request #5922 from ipfs/feat/coreapi/dag-ipld
coreapi: replace coreiface.DagAPI with ipld.DAGService
2019-01-21 17:56:36 +00:00
Steven Allen
0fd73743fa
Merge pull request #5789 from ipfs/kevina/multibase4
Add global option to specify the multibase encoding (server side)
2019-01-21 17:55:29 +00:00
Steven Allen
19d8f624ed base32: make GetEncoderFromPath more robust
Primarily, get rid of extractCidString and cidVer. Neither of these functions
did sane things when a path when a path didn't actually include a CID. For
example, "boo" would yield a base32 encoder.

Also:

* Avoid "optional" errors.
* Make it a pure function of the input path.
* Extract the multibase from *any* type of path of the form
  /namespace/cid-like-thing/... This is a DWIM function.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-21 09:46:24 -08:00
chenminjian
d89410d17e refact(cmd/object): change option string to const
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2019-01-19 17:05:02 +08:00
chenminjian
7f80793722 refact(cmd/patch): change string to const
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2019-01-19 16:52:47 +08:00
Kevin Atkinson
f31e6b6191 Change --force-cid-base to --upgrade-cidv0-in-output.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 15:54:43 -05:00
Kevin Atkinson
727aea1f20 Enhance ipfs add --cid-base32 tests.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 15:54:43 -05:00
Kevin Atkinson
57457af7d2 Change --output-cidv1 to --force-cid-base.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 15:54:43 -05:00
Kevin Atkinson
8209ba6156 Don't use ParsePath in extractCidString.
ParsePath does not preserve the multibase.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 15:54:43 -05:00
Kevin Atkinson
b22275fb66 Add global --cid-base option and enable it for most commands.
This does it on ther server side for most commands.

This also adds a global --output-cidv1 option.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 15:54:32 -05:00
Kevin Atkinson
5512ad53c4 Gx update go-cidutil.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 14:49:47 -05:00
Steven Allen
de0bbb00e2
Merge pull request #5926 from ipfs/fix/coreapi-test-checks
coreapi: Adjust some tests for go-ipfs-http-api
2019-01-17 18:36:08 +00:00
Steven Allen
8cadfc465a
Merge pull request #5928 from fsdiogo/chore/update-to-webui-v2.3.3
chore: update to Web UI v2.3.3
2019-01-17 18:34:28 +00:00