hashbase icon indicating copy to clipboard operation
hashbase copied to clipboard

Multiple users to "own" the same dat.

Open martinheidegger opened this issue 7 years ago • 1 comments

Hypercloud has upload limits & a "remove button" (which are awesome) but this means that someone could publish dat and then at a later point remove it. If another person wants to make sure that a certain dat stays alive even if another person decides to remove it then she might want to "upload" the same dat under her account in order to make sure that it stays available (and for the url to be correct). The current 'This archive is already being hosted by someone else' is counter-productive in that case.

Would it be a good idea (worth a PR) to change this to "allowed"?

I saw that this is Temporary as of https://github.com/datprotocol/hypercloud/commit/aa350c4b7fe80870650f0a1a30262b3d90009dcd (7 months ago). Why is that?

Note: @pfrazee mentioned that this is to reduce complexity? https://github.com/datprotocol/hypercloud/issues/115#issuecomment-351434697

martinheidegger avatar Dec 14 '17 01:12 martinheidegger

Yeah, it's been a while since that decision was made but IIRC we did it to save time. There's a couple places where assuming each archive had one "owner" made the code easier to write.

We do want to change this, so we'd be happy to get a PR. It's just going to take a little bit of work to accomplish, so it's up to you. (Not terrible but a night or two, I'd figure.)

pfrazee avatar Dec 14 '17 16:12 pfrazee