Commit Graph

4070 Commits

Author SHA1 Message Date
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
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
867186c054 dont create a new ticker each loop 2015-05-01 23:11:40 -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
Juan Batiz-Benet
04dd2f23aa Merge pull request #1176 from dylanPowers/asset-readme-fix
use => Use
2015-05-01 01:14:33 -07:00
Juan Batiz-Benet
dad57e9931 Merge pull request #1169 from ipfs/eventlog/revert
Eventlog: revert lumberjack fork
2015-05-01 01:10:25 -07:00
W. Trevor King
d2a28300a2 core/core: Explain that subpackages are our low-level API
Discussion in [1].

[1]: https://github.com/ipfs/go-ipfs/issues/1158
2015-04-30 21:57:46 -07:00
W. Trevor King
beb3bab205 blockservice/worker/bench/main: Add a package comment 2015-04-30 21:55:31 -07:00
W. Trevor King
9f2f29a9a4 commands/command: Add a package comment
I'm not quite sure which file in this package is the most prominent,
but command.go seemed like a reasonable choice.
2015-04-30 21:25:55 -07:00
Dylan Powers
6db1abbe0d use => Use
Fixes https://github.com/ipfs/ipfs/issues/67
2015-04-30 18:09:04 -07:00
Jeromy Johnson
ee3c30708c Merge pull request #1174 from ipfs/fix/mdns-panic
hotfix: dont use nodes context because it might not be set yet
2015-04-30 14:23:05 -07:00
Jeromy
9e6866f52f hotfix: dont use nodes context because it might not be set yet 2015-04-30 14:16:49 -07:00
Jeromy Johnson
c43b5c921d Update swarm_dial.go 2015-04-30 13:19:56 -07:00
Henry
5c0403c6ef eventlog: buffer writes before pushing them to lumberjack - same effect, no upstream changes. Thx @natefinch! 2015-04-30 13:33:22 +02:00
Henry
eacaa2d739 Revert "use forked lumberjack (buffers writes)"
This reverts commit 7055d76958.
2015-04-30 13:30:03 +02:00
Juan Batiz-Benet
cc5f6bb306 Merge pull request #1156 from ipfs/maintenance
Godeps maintenance
2015-04-29 12:28:03 -07:00
Juan Batiz-Benet
c339ed6108 Merge pull request #1168 from ipfs/eventlog/buffered
use forked lumberjack (buffers writes)
2015-04-29 12:24:59 -07:00
Henry
7055d76958 use forked lumberjack (buffers writes) 2015-04-29 21:03:39 +02:00
Juan Batiz-Benet
39f68fe034 Merge pull request #1167 from ehd/patch-1
Change ipfs root path volume mount to /data/ipfs
2015-04-29 11:12:01 -07:00
Stephan Seidt
7e1e96faf9 Change ipfs root path volume mount to /data/ipfs 2015-04-29 12:12:23 +02:00
Jeromy
5ecc4e890b use ALL THE ADDRESSES! 2015-04-29 01:02:45 -07:00
Jeromy
04f773166f dont advertise loopback address over mdns 2015-04-28 22:08:46 -07:00
Juan Batiz-Benet
d047fe4fcb Merge pull request #1154 from ipfs/feat/bench-hash
add a benchmark for our hash function
2015-04-28 17:05:12 -07:00
Juan Batiz-Benet
27ac0103f9 Merge pull request #1157 from ehd/patch-1
Fix docker $ipfs_data mount path in README
2015-04-28 16:59:49 -07:00
Juan Batiz-Benet
6cadf6987e Merge pull request #1161 from ipfs/blocks-put-exists
blocks: Don't re-Put blocks we already have
2015-04-28 16:42:06 -07:00
Tommi Virtanen
e78305546c gofmt 2015-04-28 16:18:26 -07:00
Tommi Virtanen
a0af9f5e8d If ErrNoRepo is not an error value anymore, then make it an error type 2015-04-28 16:18:09 -07:00
Tommi Virtanen
a743290316 blocks: Don't re-Put blocks we already have
Commit 1192be196b tried to do this, but
had a simple mistake. Functions returning `bool, error` pretty much
never return `true, anError`, so that branch was never taken.

Also fix the partial sentence in the
2015-04-28 16:05:52 -07:00
Jeromy
6f510b322e label timeout error from reuseport/poll 2015-04-28 14:48:28 -07:00
Jeromy
194dc2bf7b bring some errors that were being hidden in the dial sequence to the surface 2015-04-28 13:57:15 -07:00
Juan Batiz-Benet
1b51d9dbf5 Merge pull request #1138 from vitorbaptista/1134-display-types-on-pin-ls
core/commands: pin ls: display types by default
2015-04-28 11:53:53 -07:00
Vitor Baptista
5d1a25bbb9 core/commands: pin ls: display types by default
If you want to get only the hashes (i.e. the previous behaviour), you can use
the `--quiet` flag.
2015-04-28 19:15:15 +01:00
Stephan Seidt
0f1f549585 Fix docker $ipfs_data mount path in README 2015-04-28 16:43:23 +02:00
Henry
9ff03782ee godep: update h2so5/utp
the godep tool is toying with me...
2015-04-28 13:42:24 +02:00
Henry
f20c4566ec godep: updated 2015-04-28 13:42:24 +02:00
Henry
7a6febbe38 godeps: following up on PR #1098 to drop the facebookgo code
I want to follow this up with a thorough execution of my x/tool/cmd/eg experiments (https://github.com/ipfs/go-ipfs/compare/errRampage)
2015-04-28 13:42:23 +02:00
Henry
362fc02713 godep: make sure to vendor iptb 2015-04-28 13:42:23 +02:00
Henry
5fff7742f3 godeps: move (go)goprotobuf to github location 2015-04-28 13:42:22 +02:00
Juan Batiz-Benet
4c13369773 Merge pull request #1155 from ipfs/feat/peer-wantlist
let wantlist command show other peers wantlists
2015-04-28 02:18:29 -07:00
Juan Batiz-Benet
c7e3183d0f Merge pull request #1148 from ipfs/warnOnProtocolEOF
only warn about io.EOF from mux.ReaderHeaders (fixes #1143)
2015-04-28 02:14:34 -07:00