Supporting distributed (repo contained) issues and pull requests #3142

Open
opened 2025-11-02 05:01:53 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @hoijui on GitHub (Apr 5, 2019).

Why

I think repo hosted issues and pull requests are absolutely the way to go, as it allows for really distributed and self-contained repos/projects, that can be fully backed up or migrated to a different host with a git clone. One can also work on them fully offline.

What

There are already some projects supporting in-repo issues. They use different storage models, for example:

  • each issue is a file in the branch it concerns
  • each issue is metadata in a commit
  • all issues are in a separate branch
  • each issue is a branch
  • ...

The user usually interacts with it in one of two ways:

  • using a cmd-line (native) client
  • using a web-based GUI (either remote or locally hosted)

Conclusion

If Gitea supported storing issues and pull requests directly in the repo itsself, with the same web-interface it uses for its current issues and pull requests, that would be a game changer for this self-contained meta-info, as it would suddenly become very practically viable. I would also consider it a huge advantage of gitea over github and gitlab.

This is a feature request, and I can not even give a suggestion for which model/software to use for it in the background, or whether to support multiple back-ends, or whether to evne develop a new model. I would just like to have a discussion about it.

Originally created by @hoijui on GitHub (Apr 5, 2019). ### Why I think repo hosted issues and pull requests are absolutely the way to go, as it allows for really distributed and self-contained repos/projects, that can be fully _backed up_ or **_migrated_** to a different host with a `git clone`. One can also work on them fully offline. ### What There are already some [projects supporting in-repo issues](http://dist-bugs.branchable.com/software/). They use different storage models, for example: * each issue is a file in the branch it concerns * each issue is metadata in a commit * all issues are in a separate branch * each issue is a branch * ... The user usually interacts with it in one of two ways: * using a cmd-line (native) client * using a web-based GUI (either remote or locally hosted) ### Conclusion If Gitea supported storing issues and pull requests directly in the repo itsself, with the same web-interface it uses for its current issues and pull requests, that would be a game changer for this self-contained meta-info, as it would suddenly become very practically viable. I would also consider it a huge advantage of gitea over github and gitlab. This is a feature request, and I can not even give a suggestion for which model/software to use for it in the background, or whether to support multiple back-ends, or whether to evne develop a new model. I would just like to have a discussion about it.
GiteaMirror added the type/proposal label 2025-11-02 05:01:53 -06:00
Author
Owner

@typeless commented on GitHub (Apr 23, 2019):

Just found this https://github.com/MichaelMure/git-bug/

@typeless commented on GitHub (Apr 23, 2019): Just found this https://github.com/MichaelMure/git-bug/
Author
Owner

@mei-rune commented on GitHub (Jun 21, 2022):

good idea.

@mei-rune commented on GitHub (Jun 21, 2022): good idea.
Author
Owner

@wrenix commented on GitHub (Aug 3, 2023):

yes a offline usage would be nice

@wrenix commented on GitHub (Aug 3, 2023): yes a offline usage would be nice
Author
Owner

@bqv commented on GitHub (Aug 3, 2023):

+1

@bqv commented on GitHub (Aug 3, 2023): +1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3142