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

Pull Requests view shows PRs in archived repos #32697

Closed
Infinoid opened this issue Dec 3, 2024 · 0 comments · Fixed by #32735
Closed

Pull Requests view shows PRs in archived repos #32697

Infinoid opened this issue Dec 3, 2024 · 0 comments · Fixed by #32735
Labels

Comments

@Infinoid
Copy link
Contributor

Infinoid commented Dec 3, 2024

Description

The Pull Request view serves as a TODO list of sorts. It's quite nice. However, it gets cluttered up when partial tickets are still open when a dead project is archived.

Steps to reproduce:

  • Have a team (org) with a repository
  • One of your team members opens a PR
  • Comment on the PR
  • Archive the repository
  • Open the Pull Request view
  • Choose the "Reviewed by you" menu option
  • See the PR that can no longer be closed

I don't know if this affects all of the Pull Request menu options. While writing up this report, I noticed that it affects the Issues ("Mentioning you" and "Created by you") views, too.

These things are not actionable, and I guess they will live forever. So, could we exclude them from the lists and the counts?

I think a workaround is to close everything manually before archiving a dead project repo. Is that what we should do?

Thanks!

Gitea Version

1.22.4

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

PR view showing a partial PR in a dead (archived) repo:

image

Issue view showing multiple open issues from that same dead (archived) repo:

image

Git Version

No response

Operating System

No response

How are you running Gitea?

self hosted container

Database

PostgreSQL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant