-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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. |
No description provided.