-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Remove HasWiki method and use IsRepositoryExist #33912
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should stop here.
The design is wrong.
You can't make every function do "for repo" and "for wiki".
Since wiki is also a git repo, it should share the same repo interface as a code repo.
last call @go-gitea/technical-oversight-committee |
Is it possible to have a better design to avoid filling the code base with a lot of |
Maybe we have two options. One is to store the presence of the wiki in the |
For this PR, I do not see why I do not see any feasible plan for the "git repo" related refactoring work. |
This PR will try to make all other packages just depend on the relative path of the repository except gitrepo package. Now the absolute repository path will be used everywhere which will prevent abstract of repository storage. |
Most of your "abstract of repository storage" PRs are still incomplete. I do not see any feasible plan. |
The first step is to move all absolute repository paths into the gitrepo package, so that other packages will only reference repository paths relative to it. Since this involves extensive changes, I plan to break the work into multiple pull requests to make review easier. Currently, absolute repository paths are used everywhere, which makes proper abstraction difficult. I have updated proposal #29033 with more details about this plan. |
I have been tired of your infeasible plans, buggy code and stale PRs. So don't ask me to review. |
Sorry, it's #29033 |
No description provided.