Commit Graph

19 Commits

Author SHA1 Message Date
Brian Tiger Chow
faded48945 fix(config) use max backups to limit number of backups 2015-02-03 17:16:26 -08:00
Brian Tiger Chow
bbc9715d4b fix(config, eventlog) use int. it plays nicely with everyone else 2015-02-03 17:19:15 -08:00
Juan Batiz-Benet
d4257f9525 fsrepo: fix output to writer 2015-02-03 02:27:24 -08:00
Brian Tiger Chow
c48aef415f feat(config) default Log.MaxSizeMB = 500 2015-02-02 18:26:47 -08:00
Brian Tiger Chow
454cd454ea feat(fsrepo) add eventlog config to repo/config struct 2015-02-02 17:49:19 -08:00
Juan Batiz-Benet
29bf59dded bootstrap: use ipfsaddr for boostrap peers ⚠️
⚠️ this commit makes your current configs unusable, as the
default bootstrap peers. You may need to edit your config.

Go from:

```js
Bootstrap: [
  {
    "Address": "/ip4/104.131.131.82/tcp/4001",
    "PeerID": "QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
  }
]
```

To:
```js
Bootstrap: [
  "/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
]
```
2015-02-01 05:16:52 -08:00
Mildred Ki'Lya
7d09da3c8b Make gateway read-only by default and add option to make it writable 2015-01-31 23:36:45 +01:00
Juan Batiz-Benet
73234479fa init docs: go generated welcome dir + files
updated sharness hashes
2015-01-31 07:51:30 -08:00
Matt Bell
df97b968a1 cmd/ipfs: Add empty gateway object when initting config 2015-01-28 16:01:42 -08:00
Matt Bell
47774c5311 repo/config: Added Gateway options to config 2015-01-28 16:01:42 -08:00
Brian Tiger Chow
1ea9481a63 move config.Init into config package 2015-01-27 16:23:58 -08:00
Juan Batiz-Benet
45e4352c9c dropped down log.Errors 2015-01-26 19:13:44 -08:00
Brian Tiger Chow
98ad33e005 refactor(eventlog) integrate into fsrepo
now, eventlogger works wherever the fsrepo is used
2015-01-24 01:37:03 -08:00
Brian Tiger Chow
df9e6ce640 refactor: rename IPFS_DIR -> IPFS_PATH
closes #394 https://github.com/jbenet/go-ipfs/issues/394
2015-01-21 17:09:39 -08:00
Brian Tiger Chow
899c419ac3 refactor(config): break it apart 2015-01-13 03:09:33 -08:00
Brian Tiger Chow
e84fc5df22 fix(config): avoid clobbering user-provided key value pairs
let me know if this looks off @whyrusleeping @jbenet
2015-01-13 03:09:32 -08:00
Brian Tiger Chow
bbaf70974d move utility method 2015-01-13 03:09:32 -08:00
Brian Tiger Chow
405afd2a02 refactor(config, repo): all writes go through FSRepo. next: privatize these 2015-01-13 03:09:31 -08:00
Brian Tiger Chow
5b3164de5c refactor(repo/config) move config under repo 2015-01-13 03:09:30 -08:00