Live data from Hacker News

Git Bug: Distributed, Offline-First Bug Tracker Embedded in Git, with Bridges

github.com

71–80 of 110 posts

Re: Git Bug: Distributed, Offline-First Bug Tracker Embedded in Git, with Bridges

#71

It’s very weird seeing the coping / seething about a useful tool like this even in HN comments. People have really drunk the proverbial kool-aid / joined the dark side.

Maybe because it’s less useful than you think. Companies and large orgs won’t be using it because they like centralized and on the small side your competition is a bunch of TODO files, not a bug tracker.

Re: Git Bug: Distributed, Offline-First Bug Tracker Embedded in Git, with Bridges

#72

Earlier quoted context omitted.

Interesting, thanks. This must be true though right? > Am I going to find replies magically appearing before mine?

In theory it could happen but it's unlikely in practice, for multiple reasons: - git-bug use a form of logical clock (not wall clock) that order an action in relation to other actions in the repo. Clock drifting doesn't matter. - pushing to git usually require some access to the repo, and therefore abuse can be dealt with socially (aka you get kicked out) What can happen for example is someone write a comment, shut d…

> pushing to git usually require some access to the repo

Wait, so to comment on an issue I now have to already have push access to that repo? How does that work? E.g. what if I want to comment on a VSCode issue? I'm not a VSCode developer...

Re: Git Bug: Distributed, Offline-First Bug Tracker Embedded in Git, with Bridges

#74

Earlier quoted context omitted.

In theory it could happen but it's unlikely in practice, for multiple reasons: - git-bug use a form of logical clock (not wall clock) that order an action in relation to other actions in the repo. Clock drifting doesn't matter. - pushing to git usually require some access to the repo, and therefore abuse can be dealt with socially (aka you get kicked out) What can happen for example is someone write a comment, shut d…

> pushing to git usually require some access to the repo Wait, so to comment on an issue I now have to already have push access to that repo? How does that work? E.g. what if I want to comment on a VSCode issue? I'm not a VSCode developer...

Right now, yes, but the idea is to augment the webUI with external auth (e.g. Github OAuth and others) to make it a public portal where anyone can create issues and so on. In that case, the webUI would have access to the git repo, enforce any rules and prevent abuses.

With a single binary deployment, you'd just need a bit of config and a DNS, and you could host a forge-ish for your project.

We are not there yet but it's really not far.

Re: Git Bug: Distributed, Offline-First Bug Tracker Embedded in Git, with Bridges

#75
post #11

Earlier quoted context omitted.

Fossil[0] has bug tracking as a standard feature, and through the HTTP role-based authentication, you are able to set up users with different privileges; for instance, being able to read and write the bug tracker without the ability to push new code. [0]: https://fossil-scm.org/home/doc/trunk/www/index.wiki

+1 for this. I love having a self-contained, syncable GitHub-lite. It uses SQLite for the format, too, which makes it easy to discover the internals. It just needs some more 'modern' themes

> It uses SQLite for the format

My chance at sharing Fossil is not Relational. The two times it's been submitted to HN it didn't gain votes.

https://fossil-scm.org/home/doc/trunk/www/fossil-is-not-rela...

Re: Git Bug: Distributed, Offline-First Bug Tracker Embedded in Git, with Bridges

#76
post #54

This looks cool and has the opportunity to replace my old and trusted todo.txt, but I couldn’t find how to create or resolve bugs. The CLI has features related to syncing but nothing about this, or did I miss something?

If you're looking at the CLI there are specific man pages for it.

You can find creation here https://github.com/git-bug/git-bug/blob/master/doc%2Fmd%2Fgi...

And status update here https://github.com/git-bug/git-bug/blob/master/doc%2Fmd%2Fgi...

Re: Git Bug: Distributed, Offline-First Bug Tracker Embedded in Git, with Bridges

#78
Very cool project — love the offline-first, Git-native approach. One question:

How do you handle conflict resolution when multiple users modify the same issue or thread concurrently across remotes? Is it purely Git's merge mechanics, or do you apply any domain-specific heuristics?

Re: Git Bug: Distributed, Offline-First Bug Tracker Embedded in Git, with Bridges

#79

Earlier quoted context omitted.

In theory it could happen but it's unlikely in practice, for multiple reasons: - git-bug use a form of logical clock (not wall clock) that order an action in relation to other actions in the repo. Clock drifting doesn't matter. - pushing to git usually require some access to the repo, and therefore abuse can be dealt with socially (aka you get kicked out) What can happen for example is someone write a comment, shut d…

> pushing to git usually require some access to the repo Wait, so to comment on an issue I now have to already have push access to that repo? How does that work? E.g. what if I want to comment on a VSCode issue? I'm not a VSCode developer...

to support the workflow where you, an individual, outside contributor, want to use git-bug to create or comment on an issue on a third-party platform that you do not control, you would:

- install git-bug

- create a directory (and `git init`), optionally fetch/clone the remote repo (but this is not needed)

- create a git-bug identity (`git bug user new`)

- configure a bridge to (for example, using vscode) github (`git bug bridge new`)

- pull issues from the bridge to your local repository's refs/bugs namespace (`git bug bridge pull`)

- create a new issue, or browse existing ones and comment on them at will

- export your activity to the bridge (`git bug bridge push`)

this works without push access to the repository, because when importing to or exporting from a bridge, the API credentials you provide when configuring the bridge are used -- `git bug bridge {push,pull}` does not push your local `refs/bugs` to the remote.

Re: Git Bug: Distributed, Offline-First Bug Tracker Embedded in Git, with Bridges

#80
This is really neat! I know Microsoft would never integrate this into github, but what about integrating this other less vendor-lockin-ey scm platforms like forgejo or gitlab? It might be a much better fit then retrofitting activity-pub (current efforts in this space).

Imagine having repository issues seamlessly propagated and replicated across all your git mirrors.

Post reply on HN