-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
move some scripts from 'build' to 'tools' directory, misc refactors #29844
Conversation
Wait, why do we still have Chinese docs? Didn't we decide to only have English, or am I hallucinating? |
Not sure about such a decision, but I would be all for removing all non-english docs 👍 As this PR proves again, they are just becoming a outdated mess over time and hold up review process because there is really only one active chinese speaker in the reviewers. |
Co-authored-by: Nanguan Lin <[email protected]>
Co-authored-by: Nanguan Lin <[email protected]>
Do you mean to rename "build" to "tools" eventually? TBH I don't see real benefit or difference. |
I see it as |
Yup, while I think "build/generate-svg.js" could also be interpreted as "building Gitea related assets" (that's what I meant "don't see real benefit or difference"). Actually I am neutral for this renaming. My major question is
|
Yes. I find the "build" name unsuitable for general scripts. For all I know "build" could also contain built files, which it doesn't.
As I see it, every script is a tool. Primary reason for the change is #29825, which just doesn't fit into the "build" directory at all. |
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.
Hopefully "build" and "tools" directories won't co-exist for long time, otherwise people might hesitate about which one to use 😄
* giteaofficial/main: Fix missing error check of bufio.Scanner (go-gitea#29882) Remove unused error in graceful manager (go-gitea#29871) Migrate border and margin classes to Tailwind (go-gitea#29828) Only do counting when count_only=true for repo dashboard (go-gitea#29884) Editor error message misleading due to re-used key. (go-gitea#29859) [skip ci] Updated licenses and gitignores move some scripts from 'build' to 'tools' directory, misc refactors (go-gitea#29844) Fix missing code in the user profile (go-gitea#29865) Upgrade Go 1.22 and upgrade dependency (go-gitea#29869) Fix the wrong locale key of searching users (go-gitea#29868) fix telegram webhook (go-gitea#29864) Fix user id column case (go-gitea#29863) Avoid JS error on issue/pr list when logged out (go-gitea#29854) Refactor clone-panel styles (go-gitea#29861) Simplify README (go-gitea#29827) Load citation JS only when needed (go-gitea#29855) Fix semantic.json (go-gitea#29860) # Conflicts: # templates/repo/wiki/revision.tmpl # templates/repo/wiki/view.tmpl
build
to newtools
dir. Eventually i would like to move all but let's do it step-by-step.public/img
path still in a few places. Replace those with the currentpublic/assets/img
.