Bug: Issue and PR are given same counters when using SQLite3 #4442

Closed
opened 2025-11-02 05:50:58 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @ohsayan on GitHub (Dec 4, 2019).

With the latest version of Gitea, let's say there are 0 PRs and 0 issues. We create an issue, and now there is one issue, however when we create a PR, it is labelled as #2, even though there is no first PR.
What I want to say is that the counters are shared across PRs and issues

Originally created by @ohsayan on GitHub (Dec 4, 2019). With the latest version of Gitea, let's say there are 0 PRs and 0 issues. We create an issue, and now there is one issue, however when we create a PR, it is labelled as #2, even though there is no first PR. What I want to say is that the counters are shared across PRs and issues
Author
Owner

@ohsayan commented on GitHub (Dec 4, 2019):

Gitea version: 1.10

@ohsayan commented on GitHub (Dec 4, 2019): Gitea version: 1.10
Author
Owner

@guillep2k commented on GitHub (Dec 4, 2019):

This is by design.

@guillep2k commented on GitHub (Dec 4, 2019): This is by design.
Author
Owner

@ohsayan commented on GitHub (Dec 4, 2019):

@guillep2k So it happens on issues and pull requests, despite the type of database?

@ohsayan commented on GitHub (Dec 4, 2019): @guillep2k So it happens on issues and pull requests, despite the type of database?
Author
Owner

@guillep2k commented on GitHub (Dec 4, 2019):

Yes. Conceptually, for Gitea a pull request is also an issue, like in GitHub. I believe that there are other systems that don't follow this pattern.

@guillep2k commented on GitHub (Dec 4, 2019): Yes. Conceptually, for Gitea a pull request is also an issue, like in GitHub. I believe that there are other systems that don't follow this pattern.
Author
Owner

@ohsayan commented on GitHub (Dec 4, 2019):

Right then, closing

@ohsayan commented on GitHub (Dec 4, 2019): Right then, closing
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4442