lgierth changed the topic of #ipfs to: go-ipfs 0.4.13 is out! Please try out: https://dist.ipfs.io/go-ipfs/v0.4.13 | Also: #libp2p #filecoin #ipfs-dev | IPFS, the InterPlanetary FileSystem: https://github.com/ipfs/ipfs | Logs: https://botbot.me/freenode/ipfs/ | Forums: https://discuss.ipfs.io | Code of Conduct: https://git.io/vVBS0
<fiatjaf> I don't understand what does the "path" in js-ipfs's `files.add` mean.
<fiatjaf> we can call `ipfs.files.add({content: buffer, path: '/any/path/here'})` and the result of the call will contain the specified path and a hash
<fiatjaf> but then when we browse that hash, it does not contain the paths in there, just the last part of the path interpreted as the file name.
<fiatjaf> so in my example here, if the returned hash is xyzfoobar123, browsing ipfs.io/ipfs/xyzfoobar123 will give me a directory that contains a file named "here", which is the actual buffer I had passed to ipfs.files.add in the first place.
<fiatjaf> does that make sense?
upperdeck has quit [Ping timeout: 256 seconds]
upperdeck has joined #ipfs
Encrypt has quit [Quit: Quit]
dconroy has joined #ipfs
<deltab> fiatjaf: because it's useful to have names for files, by default a 'wrapper' directory is also created to hold the name of the file that's been added
<deltab> I believe that's what you're seeing
<fiatjaf> deltab: that's what I wanted to see
<fiatjaf> I wanted to see /ipfs/xyzfoobar123/any/path/here, but instead I'm getting /ipfs/xyzfoobar123/here
dconroy has quit [Client Quit]
<deltab> ah, you may have to build up the directory structure
<fiatjaf> how?
<deltab> pass an array of objects as the data
<fiatjaf> makes sense
<fiatjaf> what happens is that the response from files.add is an array. the array contains all the hashes all the way down to the actual file.
l__q has quit [Ping timeout: 272 seconds]
<fiatjaf> like [{hash: <>, path: '/any'}, {hash: <>, path: '/any/path'}, {hash: <>, path: '/any/path/here'}]
<fiatjaf> or something like that.
<fiatjaf> thank you for your patience, deltab
l__q has joined #ipfs
fredthomsen has quit [Quit: Leaving.]
infinity0_ has joined #ipfs
infinity0_ has quit [Changing host]
infinity0_ has joined #ipfs
infinity0 is now known as Guest88608
Guest88608 has quit [Killed (cherryh.freenode.net (Nickname regained by services))]
fredthomsen has joined #ipfs
Rusty78 has joined #ipfs
l__q has quit [Ping timeout: 272 seconds]
dolphy has joined #ipfs
dolphy has quit [Client Quit]
dolphy has joined #ipfs
dolphy has quit [Client Quit]
dolphy has joined #ipfs
dolphy has quit [Client Quit]
fredthomsen has quit [Quit: Leaving.]
dolphy has joined #ipfs
dolphy has quit [Client Quit]
dolphy has joined #ipfs
l__q has joined #ipfs
dolphy has quit [Client Quit]
dolphy has joined #ipfs
elena has joined #ipfs
dkess[m] has left #ipfs ["User left"]
dolphy has quit [Ping timeout: 240 seconds]
newhouse has joined #ipfs
fredthomsen has joined #ipfs
roygbiv has joined #ipfs
l__q has quit [Ping timeout: 260 seconds]
schmidta_ has joined #ipfs
schmidta has quit [Ping timeout: 272 seconds]
elena has quit [Quit: Page closed]
l__q has joined #ipfs
fleeky has joined #ipfs
witten has quit [Ping timeout: 248 seconds]
matoro has quit [Read error: Connection reset by peer]
matoro has joined #ipfs
lassulus has quit [Quit: WeeChat 1.9.1]
lassulus has joined #ipfs
fredthomsen has quit [Quit: Leaving.]
shizy has joined #ipfs
thekyle has joined #ipfs
lord| has quit [Ping timeout: 252 seconds]
ygrek has joined #ipfs
dandevelo has quit [Ping timeout: 272 seconds]
cwahlers_ has quit [Ping timeout: 264 seconds]
larpanet has joined #ipfs
lord| has joined #ipfs
letmutx has joined #ipfs
randomstrangerb has quit [Ping timeout: 268 seconds]
randomstrangerb has joined #ipfs
newhouse has quit [Read error: Connection reset by peer]
newhouse has joined #ipfs
chriscool1 has quit [Ping timeout: 268 seconds]
chriscool1 has joined #ipfs
notdaniel has joined #ipfs
newhouse has quit [Read error: Connection reset by peer]
sim590 has quit [Ping timeout: 240 seconds]
chriscool1 has quit [Quit: Leaving.]
chriscool1 has joined #ipfs
chriscool1 has quit [Client Quit]
witten has joined #ipfs
witten has quit [Remote host closed the connection]
witten has joined #ipfs
}ls{ has quit [Ping timeout: 264 seconds]
}ls{ has joined #ipfs
roygbiv has quit [Quit: ™]
shizy has quit [Ping timeout: 265 seconds]
larpanet has quit [Remote host closed the connection]
larpanet has joined #ipfs
randomstrangerb has quit [Ping timeout: 256 seconds]
randomstrangerb has joined #ipfs
larpanet has quit [Ping timeout: 268 seconds]
cwahlers has joined #ipfs
sim590 has joined #ipfs
lanzafame has joined #ipfs
sim590 has quit [Ping timeout: 272 seconds]
dandevelo has joined #ipfs
randomstrangerb has quit [Ping timeout: 268 seconds]
randomstrangerb has joined #ipfs
sim590 has joined #ipfs
dandevelo has quit [Ping timeout: 264 seconds]
}ls{ has quit [Quit: real life interrupt]
Ellenor is now known as Reinhilde
John_cdy has joined #ipfs
<John_cdy> !
John_cdy has quit []
reit has quit [Quit: Leaving]
sz0 has joined #ipfs
randomstrangerb has quit [Ping timeout: 240 seconds]
randomstrangerb has joined #ipfs
witten has quit [Ping timeout: 248 seconds]
engdesart has joined #ipfs
dolphy has joined #ipfs
dolphy has quit [Quit: Leaving]
dolphy has joined #ipfs
dolphy has quit [Client Quit]
dolphy has joined #ipfs
dolphy has quit [Client Quit]
thekyle has quit [Remote host closed the connection]
dolphy has joined #ipfs
dandevelo has joined #ipfs
colin_ has quit [Quit: colin_]
dandevelo has quit [Ping timeout: 240 seconds]
dolphy has quit [Ping timeout: 248 seconds]
larpanet has joined #ipfs
ygrek has quit [Ping timeout: 248 seconds]
larpanet has quit [Ping timeout: 256 seconds]
cxl000 has quit [Ping timeout: 252 seconds]
rendar has joined #ipfs
cxl000 has joined #ipfs
letmutx has quit [Quit: Connection closed for inactivity]
randomstrangerb has quit [Ping timeout: 248 seconds]
randomstrangerb has joined #ipfs
user456_ has joined #ipfs
user456_ has left #ipfs [#ipfs]
user456 has joined #ipfs
chriscool1 has joined #ipfs
lanzafame has quit [Quit: Connection closed for inactivity]
letmutx has joined #ipfs
maxzor_ has joined #ipfs
Neomex has quit [Read error: Connection reset by peer]
dimitarvp has joined #ipfs
tombusby has quit [Remote host closed the connection]
tombusby has joined #ipfs
larpanet has joined #ipfs
chriscool1 has quit [Ping timeout: 268 seconds]
lerg has quit [Ping timeout: 260 seconds]
chriscool1 has joined #ipfs
randomstrangerb has quit [Ping timeout: 256 seconds]
randomstrangerb has joined #ipfs
reit has joined #ipfs
dolphy has joined #ipfs
Rusty78 has quit [Ping timeout: 265 seconds]
Rusty78 has joined #ipfs
notdaniel has quit [Quit: Leaving]
ralphtheninja has quit [Quit: leaving]
Rusty78 has quit [Ping timeout: 246 seconds]
Mateon2 has joined #ipfs
Mateon1 has quit [Ping timeout: 260 seconds]
Mateon2 is now known as Mateon1
arpu has quit [Ping timeout: 256 seconds]
raynold has quit [Quit: Connection closed for inactivity]
trqx has quit [Ping timeout: 272 seconds]
trqx has joined #ipfs
dolphy has quit [Quit: Leaving]
dolphy has joined #ipfs
droman has joined #ipfs
lerg has joined #ipfs
Fess has quit [Ping timeout: 246 seconds]
plexigras has quit [Ping timeout: 272 seconds]
Fess has joined #ipfs
letmutx has quit [Quit: Connection closed for inactivity]
gde33 has joined #ipfs
gde35 has joined #ipfs
gongzisun[m] has left #ipfs ["User left"]
Fess has quit [Ping timeout: 272 seconds]
maxzor_ has quit [Remote host closed the connection]
engdesart has left #ipfs ["no"]
dandevelo has joined #ipfs
dandevelo has quit [Ping timeout: 240 seconds]
dolphy has quit [Read error: Connection reset by peer]
plexigras has joined #ipfs
dolphy has joined #ipfs
Encrypt has joined #ipfs
dolphy has quit [Quit: Leaving]
maxzor has joined #ipfs
arpu has joined #ipfs
kaotisk has joined #ipfs
lerg has quit [Ping timeout: 260 seconds]
lerg has joined #ipfs
Ronsor has quit [Ping timeout: 260 seconds]
randomstrangerb has quit [Ping timeout: 272 seconds]
randomstrangerb has joined #ipfs
maxzor has quit [Remote host closed the connection]
dpl has joined #ipfs
maxzor has joined #ipfs
blahblah has joined #ipfs
Ronsor has joined #ipfs
Ronsor is now known as Guest36616
The_8472 has quit [Ping timeout: 250 seconds]
The_8472 has joined #ipfs
Ecran has joined #ipfs
larpanet has quit [Ping timeout: 256 seconds]
Ecran has quit [Client Quit]
Guest36616 has quit [Ping timeout: 264 seconds]
Ronsor_ has joined #ipfs
TomasBrod has joined #ipfs
dandevelo has joined #ipfs
dandevelo has quit [Ping timeout: 248 seconds]
chriscool1 has quit [Quit: Leaving.]
maxzor has quit [Ping timeout: 260 seconds]
maxzor has joined #ipfs
Encrypt has quit [Ping timeout: 240 seconds]
lerg has quit [Ping timeout: 256 seconds]
lerg has joined #ipfs
Encrypt has joined #ipfs
anaptrix has quit [Ping timeout: 248 seconds]
anaptrix has joined #ipfs
noresult_ has joined #ipfs
fractex has quit [Ping timeout: 248 seconds]
yosafbridge has quit [Ping timeout: 248 seconds]
ckwaldon has quit [Ping timeout: 248 seconds]
zopsi has quit [Ping timeout: 248 seconds]
deetwelve has quit [Ping timeout: 248 seconds]
hr3f has joined #ipfs
ecloud has joined #ipfs
dpl has quit [Ping timeout: 248 seconds]
infinisil has quit [Ping timeout: 248 seconds]
silotis has quit [Ping timeout: 248 seconds]
href has quit [Ping timeout: 248 seconds]
feross has quit [Ping timeout: 248 seconds]
ChrisMatthieu has quit [Ping timeout: 248 seconds]
natewalck has quit [Ping timeout: 248 seconds]
jakobvarmose1 has quit [Ping timeout: 248 seconds]
nixze has quit [Ping timeout: 248 seconds]
noresult has quit [Ping timeout: 248 seconds]
noresult_ is now known as noresult
cxl000 has quit [Ping timeout: 248 seconds]
mokos has quit [Ping timeout: 248 seconds]
lassulus has quit [Ping timeout: 248 seconds]
laloplegia has quit [Ping timeout: 248 seconds]
toxync01 has quit [Ping timeout: 248 seconds]
ecloud_ has quit [Ping timeout: 248 seconds]
leochill1 has quit [Ping timeout: 248 seconds]
lemmi has quit [Ping timeout: 248 seconds]
ckwaldon has joined #ipfs
hr3f is now known as href
A124 has quit [Ping timeout: 240 seconds]
yosafbridge has joined #ipfs
anastiel has quit [Ping timeout: 240 seconds]
nixze has joined #ipfs
ynyounuo has quit [Ping timeout: 240 seconds]
nixze is now known as Guest11878
Guest11878 is now known as nixze
ribasushi has quit [Ping timeout: 240 seconds]
runde has quit [Ping timeout: 260 seconds]
silotis has joined #ipfs
A124 has joined #ipfs
dpl has joined #ipfs
anastiel has joined #ipfs
jakobvarmose has joined #ipfs
zopsi has joined #ipfs
deetwelve has joined #ipfs
ynyounuo has joined #ipfs
ynyounuo has quit [Changing host]
ynyounuo has joined #ipfs
fractex has joined #ipfs
toxync01 has joined #ipfs
infinisil has joined #ipfs
ribasushi has joined #ipfs
dpl_ has joined #ipfs
dpl has quit [Ping timeout: 246 seconds]
ChrisMatthieu has joined #ipfs
mokos has joined #ipfs
cxl000 has joined #ipfs
lemmi has joined #ipfs
leochill1 has joined #ipfs
lassulus has joined #ipfs
}ls{ has joined #ipfs
Encrypt has quit [Quit: Quit]
muravey has joined #ipfs
ralphtheninja has joined #ipfs
dandevelo has joined #ipfs
Encrypt has joined #ipfs
lerg_ has joined #ipfs
underheavendt has joined #ipfs
dandevelo has quit [Ping timeout: 276 seconds]
lerg has quit [Ping timeout: 264 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
lerg_ is now known as lerg
basilgoh1r has quit [Ping timeout: 264 seconds]
basilgohar has joined #ipfs
<jfmherokiller[m]> could somone tell me how to correctly set the homepage variable for a react app hosted on ipfs?
Encrypt has quit [Quit: Quit]
clemo has joined #ipfs
ONI_Ghost has joined #ipfs
newhouse has joined #ipfs
roygbiv has joined #ipfs
natewalck has joined #ipfs
feross has joined #ipfs
runde has joined #ipfs
chriscool1 has joined #ipfs
donpapa has joined #ipfs
<JCaesar> So ipfs chunks files into blocks, and the hashes we pass around are just the identifier of the "master"-block that contains the information on how to find all the sub-blocks containing the actual data. That "master"-block… does it contain information on what kind of algorithm or configuration was used to chunk the file? Because it is kind of hard to recreate that…
<jfmherokiller[m]> yes i believe so because if you change the algorithim or chunking method the hash itself will change
<JCaesar> Is there any way to extract that chunking information? i.e. more than just "i has chunkz, they have lengthz x y z", but exactly what kind of ipfs add I have to use?
<Icefoz> I believe the data exists as IPLD.
<lgierth> information on the chunking is not included
<lemmi> i don't think the chunking information is present anywhere
<lgierth> the hash changes simply because the chunks are different
<lgierth> you can include the chunking information yourself, but it's not currently part of the protocol
<JCaesar> (Sometimes I wish IPFS had just used the plain file hash everywhere and chunking would be a detail of the transfer. But that would lead to other problems, like not being able to verify partial downloads.)
<lgierth> it would also not allow for deduplication
cblgh has quit [Ping timeout: 265 seconds]
<lgierth> well you *can* do the "plain file hash"
<lemmi> up to a size limit at least
<lgierth> it's just that ipfs won't transfer blocks over a certain size (i think 4 MiB)
<lgierth> yeah
<lgierth> we actually have to overcome this for git-on-ipfs
<lgierth> because git blobs can be any size
<JCaesar> Hm. Why not chunk the blobs?
<lgierth> one idea is to somehow "virtualize" it, have a transparent type of block which is actually made up of more smaller blocks
<lgierth> JCaesar: we want to preserve git hashes
cblgh has joined #ipfs
<JCaesar> Oh. Heh. Well, I'd like that funktionality for quite a few other things…
<lgierth> so that ipfs can be a first class transport for git
<JCaesar> Enlighting…
<JCaesar> I have another question… can I have a single IPFS instance serve multiple ipfs-packs? (these https://github.com/ipfs/ipfs-pack)
donpapa has quit [Quit: leaving]
<lgierth> not currently, but there's nothing blocking it
<lgierth> you can also just add a pack to an existing node
biggie_min_max has joined #ipfs
<lerg> Anyone else having trouble with ipfs.pics?
dandevelo has joined #ipfs
dandevelo has quit [Ping timeout: 268 seconds]
ONI_Ghost has quit [Ping timeout: 268 seconds]
maxzor has quit [Remote host closed the connection]
witten has joined #ipfs
altitude_ has joined #ipfs
fredthomsen has joined #ipfs
muravey has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<JCaesar> lgierth: I'm not sure I understand what that means, "add a pack to an existing node". Add the manifest?
fredthomsen has quit [Quit: Leaving.]
user456 has quit [Quit: Leaving]
espadrine has quit [Ping timeout: 260 seconds]
fredthomsen has joined #ipfs
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
<lgierth> `ipfs add` the directory
<lgierth> JCaesar: i'm not 100% sure what the workflow for ipfs-pack is (haven't used it yet)
<JCaesar> Ah, that's what you mean. Hm. I guess I hoped I could avoid the woes of the filestore and the duplication of ipfs add…
<lgierth> PRs welcome :)
<lgierth> you can also just file an issue to suggest this feature
<JCaesar> Nah. Rather than that, I'd add/request a way for the filestore to detect broken entries and remove them automatically / on request.
<JCaesar> Problem is: I don't speak go. I've tried messing with the ipfs files ls command to add a recursive mode (which i thought would be simple), but I had to admit to myself that Go is not a language I'll just be able to use without learning about it. :/
fredthomsen has quit [Quit: Leaving.]
newhouse has quit [Read error: Connection reset by peer]
shizy has joined #ipfs
Neomex has joined #ipfs
OneOneOneOne has quit [Ping timeout: 260 seconds]
OneOneOneOne has joined #ipfs
droman has quit [Quit: WeeChat 2.0.1]
reit has quit [Ping timeout: 264 seconds]
bwerthma1n has quit [Ping timeout: 240 seconds]
bwerthmann has joined #ipfs
OneOneOneOne has quit [Ping timeout: 268 seconds]
OneOneOneOne has joined #ipfs
altitude_ has quit [Ping timeout: 272 seconds]
roygbiv has quit [Quit: ™]
OneOneOneOne has quit [Ping timeout: 255 seconds]
OneOneOneOne has joined #ipfs
muravey has joined #ipfs
witten has quit [Ping timeout: 248 seconds]
chriscool1 has quit [Quit: Leaving.]
OneOneOneOne has quit [Ping timeout: 264 seconds]
chriscool1 has joined #ipfs
OneOneOneOne has joined #ipfs
ralphtheninja has quit [Quit: leaving]
shizy has quit [Ping timeout: 260 seconds]
zautomata has joined #ipfs
muravey has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shizy has joined #ipfs
fredthomsen has joined #ipfs
joeyh has joined #ipfs
randomstrangerb has quit [Ping timeout: 260 seconds]
randomstrangerb has joined #ipfs
muravey has joined #ipfs
muravey has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shizy has quit [Ping timeout: 256 seconds]
unaspirated has joined #ipfs
bwerthmann has quit [Remote host closed the connection]
Cavedude has quit [Quit: leaving]
Cavedude has joined #ipfs
fredthomsen has quit [Quit: Leaving.]
Aranjedeath has joined #ipfs
muravey has joined #ipfs
muravey has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
newhouse has joined #ipfs
dpl has joined #ipfs
zautomata has quit [Quit: WeeChat 1.4]
thekyle has joined #ipfs
espadrine has joined #ipfs
Aranjedeath has quit [Quit: Three sheets to the wind]
henriquev has joined #ipfs
muravey has joined #ipfs
Jesin has quit [Quit: Leaving]
Reinhilde is now known as Eamon
newhouse has quit [Read error: Connection reset by peer]
thekyle has quit [Read error: Connection reset by peer]
chriscool1 has quit [Quit: Leaving.]
thekyle has joined #ipfs
chriscool1 has joined #ipfs
raynold has joined #ipfs
fredthomsen has joined #ipfs
Fess has joined #ipfs
fredthomsen has quit [Client Quit]
thekyle has quit [Quit: thekyle]
dpl has quit [Ping timeout: 248 seconds]
dpl_ has quit [Ping timeout: 246 seconds]
fredthomsen has joined #ipfs
Eamon is now known as Ellenor
larpanet has joined #ipfs
larpanet has quit [Remote host closed the connection]
larpanet has joined #ipfs
witten has joined #ipfs
dax has left #ipfs [#ipfs]
ralphtheninja has joined #ipfs
randomstrangerb has quit [Ping timeout: 268 seconds]
randomstrangerb has joined #ipfs
onikuma has joined #ipfs