ssbc / ssb-wiki

Helper functions for working with wikis in scuttlebutt
4 stars 0 forks source link

Add helpers for ignoring heads #5

Open Powersource opened 4 years ago

Powersource commented 4 years ago

Either if someone has made a branch edit that you don't feel like merging, or more importantly, if there are false heads https://github.com/ssbc/ssb-tangle/issues/8 the user has the option to hide them.

I'm thinking we'd store this in a local json file (no need to publish to the log (for now) since it's just personally relevant info).

mixmix commented 4 years ago

you could publish it privately to the log. I think "how to represent multiple realities" is something many of us will have to handle. I think "sensible defaults" would be easy, like prefer:

I also think a way to view the different versions is gonna be important. Really depends also if it's a data type you expect to be merged or to be able to diverge. I think for a wiki always prompting people to merge and resolve conflicts is a good idea. I've written code to help do that, happy to talk about it