Commit Graph

4109 Commits

Author SHA1 Message Date
Juan Batiz-Benet
887f6bbbf0 Merge pull request #1209 from ipfs/fixImportRewrite
godeps: rewrite import path
2015-05-08 01:26:55 -04:00
Henry
bcd5673a79 godeps: rewrite import path 2015-05-08 01:10:20 +02:00
Juan Batiz-Benet
bf5b8032a8 Merge pull request #1205 from wking/retreive-typo
ipnsfs/system: Fix 'retreive' -> 'retrieve' typo
2015-05-07 01:37:40 -04:00
W. Trevor King
ed07c05887 ipnsfs/system: Fix 'retreive' -> 'retrieve' typo
From 93b06f34 (Add timeout to ipns resolution at startup, 2015-04-24,
#1133).
2015-05-06 22:29:23 -07:00
Juan Batiz-Benet
0d521ff288 Merge pull request #1199 from ipfs/feat/bsrefactor
mild refactor of bitswap
2015-05-06 05:31:33 -04:00
Jeromy
9049dae674 address comments from CR 2015-05-06 01:35:59 -07:00
Jeromy Johnson
0324b4b283 mild refactor of bitswap 2015-05-06 01:35:57 -07:00
Juan Batiz-Benet
2d47c7f64e Merge pull request #1200 from ipfs/fix/blocksize-calc
correct the blocksize calculation for link blocks
2015-05-06 04:34:47 -04:00
Jeromy Johnson
95f01537a3 correct the blocksize calculation for link blocks
update hash for bigfile
2015-05-06 01:04:15 -07:00
Juan Batiz-Benet
54633317a1 Merge pull request #1198 from dominictarr/master
make comments match the code in secure channel implementation
2015-05-06 03:18:41 -04:00
Dominic Tarr
e89e83f49e make comments describe what code actually does. 2015-05-06 15:33:26 +12:00
Juan Batiz-Benet
b71b7271c8 Merge pull request #1181 from ipfs/fix/mega-read
quick fix for OOM panic that has been plaguing us
2015-05-05 00:58:15 -04:00
Juan Batiz-Benet
99596435a7 Merge pull request #1166 from ipfs/fix/bitswap-multisend
try harder to not send duplicate blocks
2015-05-05 00:07:53 -04:00
Juan Batiz-Benet
9a5bb52fcd Merge pull request #1194 from ipfs/fix/iptb-fails
increase iptb test stability
2015-05-04 22:55:54 -04:00
Juan Batiz-Benet
688275b08f Merge pull request #1164 from ipfs/fix/ipns-append
fix append bug and overwrite/truncate bug
2015-05-04 22:55:13 -04:00
Jeromy
9cf8c5cbc9 update iptb dependency and use different ports for each iptb cluster
update iptb dependency again, and pick different ports for each iptb cluster

try and fix godeps crap
2015-05-04 19:45:44 -07:00
Juan Batiz-Benet
9b12e02b69 Merge pull request #1193 from ipfs/improve_parse_test
Improve parse_test.go
2015-05-04 15:15:55 -07:00
Jeromy
6f04302a48 remove logging of dup blocks, move to counters for bitswap stat 2015-05-04 03:12:17 -07:00
Jeromy Johnson
45b54c787f Merge pull request #1183 from wking/remove-core-commands-internal-slice_util
core/commands/internal/slice_util: Remove this unused package
2015-05-03 23:17:32 -07:00
Juan Batiz-Benet
29fae23d0d Merge pull request #1190 from ipfs/godep/msgio
godep: update go-msgio
2015-05-03 13:19:46 -07:00
Christian Couder
93f253e00b parse_test: add testFail() to simplify tests
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-03 20:18:40 +02:00
Christian Couder
47a88f8429 parse_test: improve existing tests
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-03 20:10:28 +02:00
Christian Couder
c6dcfaaf5d parse_test: use fileToSimulateStdin()
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-03 12:09:13 +02:00
Henry
d368cb7a43 godep: update go-msgio 2015-05-03 04:29:13 +02:00
Christian Couder
58126c1c6c parse_test: improve tests with stdin enabled arg
Now also check that we get the right arguments from
the parsing.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-02 23:35:24 +02:00
Christian Couder
d0752a714d parse_test: add tests for stdin enabled arg
Let's document how stdin enabled arguments currently
work by adding some tests.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-02 23:02:57 +02:00
Christian Couder
3e4a06945f parse_test: fix and test sameWords()
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-02 23:02:57 +02:00
Christian Couder
2a5b2f2f4a parse_test: move helper functions
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-02 23:02:57 +02:00
Juan Batiz-Benet
fab5e91a93 Merge pull request #1163 from ipfs/ds-metrics
Record Datastore metrics for flatfs and leveldb
2015-05-02 13:16:04 -07:00
Juan Batiz-Benet
fc87f01a85 Merge pull request #1185 from wking/go-doc
Add package comments to packages that are missing them
2015-05-02 12:22:17 -07:00
Juan Batiz-Benet
fc28ef401f Merge pull request #1149 from ipfs/fix/better-mem-prof
write memory profiles every 30 seconds when enabled
2015-05-02 12:12:22 -07:00
Juan Batiz-Benet
2d3fb84d3f Merge pull request #1180 from ipfs/fix/ticker-waste
dont create a new ticker each loop
2015-05-02 11:59:29 -07:00
W. Trevor King
efa4907565 core/corerepo/pinning: Add a package comment
Currently garbage collection is triggered manually and there are no
age-restrictions on the removal.  I expect we'll eventually follow Git
and auto-launch garbage collection when we hit some threshold of disk
consumption (gc.auto).  I expect we'll also follow Git and keep
unpinned or unreachable objects (gc.pruneexpire, etc.).  But we don't
seem to do either of those yet.
2015-05-02 08:55:43 -07:00
W. Trevor King
e02fc1ec6b core/corehttp/corehttp: Add a package comment
I'm not entirely clear on the role that this package is filling, but
this description seems like a reasonable guess based on a quick skim
through it's exported API.
2015-05-02 08:35:34 -07:00
W. Trevor King
6892eba511 core/commands/internal/slice_util: Remove this unused package
The last references to CastToReaders were commented out in 6faeee83
(cmds2/add: temp fix for -r. horrible hack, 2014-11-11) and then
removed completely in 032e9c29 (core/commands2: Updated 'add' command
for new file API, 2014-11-16).

The last references to CastToStrings was removed in a0bd29d5
(core/commands2: Fixed swarm command for new arguments API,
2014-11-18).
2015-05-02 08:30:32 -07:00
W. Trevor King
95ccdca9ec core/commands/commands: Add a package comment 2015-05-02 08:21:47 -07:00
W. Trevor King
81572ec236 core/core: Refer back to the main go-ipfs docs
So folks looking in core can figure out how it fits into the
repository as a whole.
2015-05-02 08:18:08 -07:00
W. Trevor King
6fd877deaa doc: Add some docs explaining the sub-package layout
Based on [1].

[1]: https://github.com/ipfs/go-ipfs/issues/1158
2015-05-02 08:18:08 -07:00
Jeromy
517e2d121f quick fix for OOM panic that has been plaguing us 2015-05-01 23:24:47 -07:00
Jeromy
867186c054 dont create a new ticker each loop 2015-05-01 23:11:40 -07:00
Tommi Virtanen
96a86cac98 Record Datastore metrics for flatfs and leveldb 2015-05-01 10:58:29 -07:00
Tommi Virtanen
2dd9b16878 Vendor newer github.com/jbenet/go-datastore 2015-05-01 10:54:47 -07:00
Tommi Virtanen
c24f421bff Add Go runtime metrics to expvar 2015-05-01 10:51:14 -07:00
Tommi Virtanen
a8f0d3d411 Vendor github.com/codahale/metrics 2015-05-01 10:51:14 -07:00
Tommi Virtanen
df70fe4ac7 Serve expvars and pprof on the API port 2015-05-01 10:50:44 -07:00
Juan Batiz-Benet
b1183099a2 Merge pull request #1170 from grncdr/add-osx-launch-agent
Add an OSX LaunchAgent plist
2015-05-01 03:55:37 -07:00
Juan Batiz-Benet
ea06ca0265 Merge pull request #1160 from ipfs/fix/dial-error-hiding
Fix/dial error hiding
2015-05-01 03:27:11 -07:00
Stephen Sugden
9fc7dfbd15 Template plist to work around launchd limitations
`launchd` doesn't allow you to *use* environment variables. Nor does it support
tilde-expansion of program names & arguments after OSX 10.10.

To work around this, I've made the plist file a template and included a small
install script that will interpolate the correct values.
2015-05-01 11:33:18 +02:00
Stephen Sugden
904ce1080e Add launchctl agent plist for OSX
I found this useful to have, and figured it might save somebody else a
few minutes of re-inventing the wheel.
2015-05-01 10:57:08 +02:00
Juan Batiz-Benet
e5bca45df5 Merge pull request #1165 from ipfs/fix/mdns-addr
advertise multiple addresses over mdns
2015-05-01 01:20:43 -07:00