Fake bugs for other kinds of to-do item
I think this section really appealed to me when i originally read this and motivated some of this work. bugs, notes, documents, wiki, everything mixed together in one big happy pile, as it should be.
So you have to make a bug record, or a bug-like record, to represent your plan to implement that feature β in effect, representing the feature as a sort of βanti-bugβ.
this will be solved here, just by being able to have a ‘plan’ shaped thing alongside a ‘bug’ shaped thing, and being able to transition between these two.
that transformation will be interesting, I guess we will retain all previous metadata, and just default to prioritising metadata that is default for the ‘bug’ profile.
how are these profiles managed? right now it’s at the server implementation level which feels off. people will want different defaults.
should we then encode the shape of a bug (default tags) in the system somehow? every repo that wants to can ship their own version of the template.
In the prototypical case, youβd create a pair of parallel records in both tables. Someone reports a bug, so you have to make a facts record saying that the bug exists; you intend to fix it, so you make a plans record describing that intention. The system would certainly need to make it easy to do this double operation.
I think this is solved more easily with documents. I’m, very anti-mongo, anti-docstores generally but, i think this is a use case that makes sense.
and i’ll add that it doesn’t preclude a sql backend, it’s just shitty ugly sql that has fewer columns than it could, or some severe denormalisation.