hashbase icon indicating copy to clipboard operation
hashbase copied to clipboard

versioning - incremental numeric only option?

Open sull opened this issue 6 years ago • 1 comments

Maybe this is better asked in the datproject github... For versioning and appending to address/url, is the only option to have incrementing numeric versions or could another format be used? I was thinking of obfuscating version strings for a non-obvious use case (making versions as secretive/unguessable as dat addresses).

sull avatar Aug 18 '17 22:08 sull

We do want to eventually support version labels, such as "+v1.0.0". We just have to get around to it.

What's your usecase for unguessable versions?

Unguessable/obfuscated version strings might not be possible. The way I can see that working is by using content-hashes -- eg, using the hash of the hypercore's head. You'd have to go through the whole history though, looking for the version where hash(head) === versionlabel.

pfrazee avatar Aug 21 '17 20:08 pfrazee