Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

refs with IPLD: yml or json or toml file #6

Open
jbenet opened this issue Nov 19, 2015 · 4 comments
Open

refs with IPLD: yml or json or toml file #6

jbenet opened this issue Nov 19, 2015 · 4 comments

Comments

@jbenet
Copy link

jbenet commented Nov 19, 2015

once IPLD lands, we can keep the whole refs dag in one (or a collection of) config files. and we can use json, yml, toml as source:

a valid refs.ipfs.io source file:

---
# this is the src file for refs.ipfs.io

lists:
  denylists:
    dmca: {mlink: <ref-for-dmca>}

# solarnet is the ipfs cluster running bootstrap + gateway (ipfs.io) nodes.
solarnet:
  motd: {mlink: /ipfs/<ref-for-motd>}
  bootstrap: {mlink: <ref-for-bootstrap-list>}
  gateway: {mlink: <ref-for-gateways-list>}
@jbenet jbenet changed the title refs with ipld: yml or json or toml file refs with IPLD: yml or json or toml file Nov 19, 2015
@jbenet
Copy link
Author

jbenet commented Nov 19, 2015

IPLD will make it so you can just do this:

refshash=$(ipfs object put --enc yml refs.yml)
dnslink-deploy <args> dnslink=$refshash

\o/

@jbenet
Copy link
Author

jbenet commented Nov 19, 2015

@davidar you'll like that o/

@ghost
Copy link

ghost commented Nov 19, 2015

Oh this is just lovely <3

@davidar
Copy link

davidar commented Nov 20, 2015

@jbenet :D

I'd still like motd: !mlink /ipfs/<ref-for-motd>, but I won't push my luck :p

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants