Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ohsayan opened this issue Dec 4, 2019 · 5 comments
Closed

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

ohsayan opened this issue Dec 4, 2019 · 5 comments

Comments

@ohsayan
Copy link

ohsayan commented 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

@ohsayan
Copy link
Author

ohsayan commented Dec 4, 2019

Gitea version: 1.10

@guillep2k
Copy link
Member

This is by design.

@ohsayan
Copy link
Author

ohsayan commented Dec 4, 2019

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

@guillep2k
Copy link
Member

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.

@ohsayan
Copy link
Author

ohsayan commented Dec 4, 2019

Right then, closing

@ohsayan ohsayan closed this as completed Dec 4, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants