Live data from Hacker News

Gx: A package management tool built around IPFS

github.com

21–30 of 46 posts

Re: Gx: A package management tool built around IPFS

#21
post #17

Let's say we adopt this. Cut to some small number of years in the future, and everyone is complaining about how dealing with 46-character-long opaque strings is terrible. This is a great idea, but there's no mention of versioning. As a long-time advocate of what we now refer to as Semantic Versioning, I can't help but see this as a disaster waiting to happen.

[deleted]

Re: Gx: A package management tool built around IPFS

#22
post #14
post #8

In all this discussion of npm, I wonder how PyPi stacks up. Once I tried to fix an issue with the source distribution of one of my packages on PyPi and found that I could delete it just fine, but uploading a new file with the same name failed. I tried re-uploading the original sdist, but that failed as well. Apparently once it's gone it's gone. I eventually just uploaded a different format then quickly pushed a new v…

This is probably done for security: if a package gets removed it can't be replaced by something potentially malicious. In addition, people that have tied their version numbers would get alerted this way.

[deleted]

Re: Gx: A package management tool built around IPFS

#24
post #17

Let's say we adopt this. Cut to some small number of years in the future, and everyone is complaining about how dealing with 46-character-long opaque strings is terrible. This is a great idea, but there's no mention of versioning. As a long-time advocate of what we now refer to as Semantic Versioning, I can't help but see this as a disaster waiting to happen.

Right now, I'm running an IPFS node. Now, say I store a set of files. What happens is that:

/set_of_files -> /ipfs/[key_1]

Now, these files change because they were your GIT repo of all your projects. So what happens is that the key that represents your files changes continuously. That sucks. There's a solution. IPNS.

IPNS can point at a continuously changing set of directories, and always provide the pointer as an IPNS link. It's the mutable part of IPFS...

Now, as for the hashes... The Firefox plugin already supports looking up the DNS txt record of the IPNS key associated to your site. So, if you have a pretty DNS name, you still keep your pretty DNS name.

Now, for the versioning, that assumes that there was something prior, something now, and something that will be. That's not always the case. In that situation, a changelog could be applied as a form of a blockchain showing all deltas to the keys changed. But that can be implemented when it needs to be, and not as core functionality.

Re: Gx: A package management tool built around IPFS

#25
post #16

I'm really hoping someone adds an IPFS binary cache system for Nix/NixOS. (Nix already packages tons of Go/python/javascript/rust libraries and binaries)

I've wanted exactly this for ages. Would make reproducible builds and distributions simple.

https://github.com/NixOS/nix/issues/296#issuecomment-7234731...

Re: Gx: A package management tool built around IPFS

#26
Isn't IPFS based on bitcoin technologies? Does it have the problem that bitcoin had (still has?) where you have to download the entire blockchain -- which in this case is the entire network? I'm guessing this has been solved since I last heard about the issue...

Re: Gx: A package management tool built around IPFS

#27
post #26

Isn't IPFS based on bitcoin technologies? Does it have the problem that bitcoin had (still has?) where you have to download the entire blockchain -- which in this case is the entire network? I'm guessing this has been solved since I last heard about the issue...

Not at all. It's more like a giant bittorrent full of everyone's git repos.

Re: Gx: A package management tool built around IPFS

#28
post #27
post #26

Isn't IPFS based on bitcoin technologies? Does it have the problem that bitcoin had (still has?) where you have to download the entire blockchain -- which in this case is the entire network? I'm guessing this has been solved since I last heard about the issue...

Not at all. It's more like a giant bittorrent full of everyone's git repos.

Any place where I could read a good introduction to IPFS ?

Re: Gx: A package management tool built around IPFS

#29
post #27

Earlier quoted context omitted.

Not at all. It's more like a giant bittorrent full of everyone's git repos.

Any place where I could read a good introduction to IPFS ?

I would start at our webpage here: https://ipfs.io/

Though admittedly it needs work. If youre the video watching type, the stanford talk on that page is very good (i recommend setting the speed to 1.5 or so).

Beyond that, come check out our git repos: ipfs whitepaper and general protocol discussion: https://github.com/ipfs/ipfs go-ipfs codebase: https://github.com/ipfs/go-ipfs And the FAQ: https://github.com/ipfs/faq

Re: Gx: A package management tool built around IPFS

#30
post #27

Earlier quoted context omitted.

Not at all. It's more like a giant bittorrent full of everyone's git repos.

Any place where I could read a good introduction to IPFS ?

There's also a (very WIP) "IPFS Textbook": https://github.com/RichardLitt/ipfs-textbook/
Post reply on HN