3 ms·
Having made a similar project (see comment above: https://news.ycombinator.com/item?id=29965597 https://news.ycombinator.com/item?id=29965597 ) there's a (predi
by tpoacher 5y ago
Having made a similar project (see comment above: https://news.ycombinator.com/item?id=29965597 https://news.ycombinator.com/item?id=29965597 ) there's a (predictable? unexpected?) benefit to keeping a numerical index. It forces the ticket opener to commit as soon as possible, or risk having to re-index their tickets due to conflicts.
This means that in any multi-member project, it encourages users to first check that a similar/duplicate ticket has not already made it into the repository in the meantime, and commit their tickets and make them visible to all other users with an accompanyign commit (and any notification-hooks that this entails) as soon as possible.
Obviously you could also have a commit hook which reindexes tickets automatically, yes, but the focus here is all about simplicity and hackability first - and I think a behavioural solution is probably better than an automated one in this case anyway.