Live data from Hacker News

Git-bug: Distributed, offline-first bug tracker embedded in Git

github.com

71–80 of 82 posts

Re: Git-bug: Distributed, offline-first bug tracker embedded in Git

#71

You may want to review https://www.git-scm.com/about/trademark They have been stingy about projects with git in the name.

Git plugins must have binaries that start with "git-" because that's how they become subcommands. If the binary is called "git-something" for that reason, and it's about the project git anyway, it kind of makes sense to use this as project name.

Re: Git-bug: Distributed, offline-first bug tracker embedded in Git

#72

Earlier quoted context omitted.

The git log is a block chain.

Nope the git log is a merkle tree. The blockchain is a merkle tree plus all the layers of overengineering you need to have a consensus algorithm. And usually you "need" a consensus algorithm mostly for ideological reasons. My view is that building trust is better than assuiming it can't or shouldn't exist.

To be pedantic, both git logs and blockchains are actually Merkle DAGs or Hash Graphs, whichever you prefer. All Merkle Trees are Merkle DAGs but not all Merkle DAGs are Merkle Trees.

Re: Git-bug: Distributed, offline-first bug tracker embedded in Git

#73

Earlier quoted context omitted.

The git log is a block chain.

Nope the git log is a merkle tree. The blockchain is a merkle tree plus all the layers of overengineering you need to have a consensus algorithm. And usually you "need" a consensus algorithm mostly for ideological reasons. My view is that building trust is better than assuiming it can't or shouldn't exist.

Merkle tree is a technical term with a specific meaning.

Block chain is a fairly generic, badly misused term that I assert also covers the git log, which is actually a chain of cryptographic blocks where each block includes the hash of the previous. It even has a consensus algorithm. You can disagree, but your assertion is just an opinion in constrast to a misuse of the term Merkle tree.

Re: Git-bug: Distributed, offline-first bug tracker embedded in Git

#74

Earlier quoted context omitted.

"Keep reading and writing bugs " sounds a little off. Maybe change that to "writing bug reports"?

Strong disagree. "Keep writing bugs" makes OP sound experienced, self-deprecating, and not self-serious. These are good things.

I recall a quarterly review that fit "actually getting work done" into the fad-of-the-week by breaking it down into

* fix old bugs * write new bugs * ship bugs to customers

(mid 90s, "dash process" I think? it actually reflected good understanding of the methodology and helped kill it off :-)

Re: Git-bug: Distributed, offline-first bug tracker embedded in Git

#75

It says it does not add files. Where does it store all the info? I see there are bridges, but I got the impression i do not need one.

The info is in the git object store (.git/objects) similar to how git stores files.

The tool creates `Blob`s that are committed to a `Tree` same as git does for files.

These `Blob`s represent git_bug `Operation`s though, stored as JSON. Those operations combined make up a `Bug`. You could technically create a directory of files from what git_bug stores, as git does for regular repos, but each "file" is more like a row in a database than a file.

- https://github.com/MichaelMure/git-bug/blob/master/doc/model...

- https://www.git-scm.com/book/en/v2/Git-Internals-Git-Objects

Re: Git-bug: Distributed, offline-first bug tracker embedded in Git

#76

Hi, author here. Happy to answer questions. Version 0.8 just got out[1]. For the next one, I'll try to focus on making the codebase fully ready for multi-entities and introduce a Project Board. Later we can add support for code review! If you are looking for how it works, you can have a look at the data model introduction[2]. git-bug is only pushed forward by volunteers so it's taking its time to fully grow, so I'll…

Quick question: is it known what Linus thinks of the idea of having bug tracker in git? Saying that Linus has a track record of making his design decisions would be an understatement, so I would like to know what he thinks.

Re: Git-bug: Distributed, offline-first bug tracker embedded in Git

#77
post #61

Around 2010-2015 there were a whole bunch of these distributed git bugtrackers and none of them took off. Most are completely dead. IIRC one of the biggest problems was its feature: issue state being distributed as it is, it was very easy for developers to end up with issues having different states/comments, and depending on the implementation even differed across local branches. But also in a work environment there…

2015 was before Microsoft bought GitHub. There has been some movement to use other forges since then so I don't think this will have to fail to catch on just because it did before.

Re: Git-bug: Distributed, offline-first bug tracker embedded in Git

#78
post #61

Around 2010-2015 there were a whole bunch of these distributed git bugtrackers and none of them took off. Most are completely dead. IIRC one of the biggest problems was its feature: issue state being distributed as it is, it was very easy for developers to end up with issues having different states/comments, and depending on the implementation even differed across local branches. But also in a work environment there…

Yeah, I agree. I'm not against making it a built-in, but it seems to cater to a tiny usecase that I don't have. Maybe it's more people than I know, though.

I think it's more that its a use case that you don't know yet you have. Like backups, the need for having an exit plan from a centralized bug tracker often only becomes apparent when it is already too late.

Re: Git-bug: Distributed, offline-first bug tracker embedded in Git

#79

Hi, author here. Happy to answer questions. Version 0.8 just got out[1]. For the next one, I'll try to focus on making the codebase fully ready for multi-entities and introduce a Project Board. Later we can add support for code review! If you are looking for how it works, you can have a look at the data model introduction[2]. git-bug is only pushed forward by volunteers so it's taking its time to fully grow, so I'll…

Quick question: is it known what Linus thinks of the idea of having bug tracker in git? Saying that Linus has a track record of making his design decisions would be an understatement, so I would like to know what he thinks.

I haven't considered myself or git-bug worthy enough to bother him :-|

Re: Git-bug: Distributed, offline-first bug tracker embedded in Git

#80

For applications where there may be many arbitrary "bridges" (aka integrations, plugins) to integrate with external software, a great way to scale support for bridges is to make them completely separate projects in external repositories. Each bridge can be an arbitrary external executable that "speaks" a very simple protocol and schema (implemented in, say, JSON or YAML), communicating through environment variables,…

Thank you for that idea, I haven't considered that. I'm not too sure about how feasible that is as right now bridges sit on a sort of framework for configurations, credentials, events ... that seems uneasy to break into a plugin protocol. We'll see where that goes.
Post reply on HN