forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'giteaofficial/main'
* 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
- Loading branch information
Showing
66 changed files
with
496 additions
and
841 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,6 +147,8 @@ TAR_EXCLUDES := .git data indexers queues log node_modules $(EXECUTABLE) $(FOMAN | |
GO_DIRS := build cmd models modules routers services tests | ||
WEB_DIRS := web_src/js web_src/css | ||
|
||
ESLINT_FILES := web_src/js tools *.config.js tests/e2e | ||
STYLELINT_FILES := web_src/css web_src/js/components/*.vue | ||
SPELLCHECK_FILES := $(GO_DIRS) $(WEB_DIRS) docs/content templates options/locale/locale_en-US.ini .github | ||
EDITORCONFIG_FILES := templates .github/workflows options/locale/locale_en-US.ini | ||
|
||
|
@@ -375,19 +377,19 @@ lint-backend-fix: lint-go-fix lint-go-vet lint-editorconfig | |
|
||
.PHONY: lint-js | ||
lint-js: node_modules | ||
npx eslint --color --max-warnings=0 --ext js,vue web_src/js build *.config.js tests/e2e | ||
npx eslint --color --max-warnings=0 --ext js,vue $(ESLINT_FILES) | ||
|
||
.PHONY: lint-js-fix | ||
lint-js-fix: node_modules | ||
npx eslint --color --max-warnings=0 --ext js,vue web_src/js build *.config.js tests/e2e --fix | ||
npx eslint --color --max-warnings=0 --ext js,vue $(ESLINT_FILES) --fix | ||
|
||
.PHONY: lint-css | ||
lint-css: node_modules | ||
npx stylelint --color --max-warnings=0 web_src/css web_src/js/components/*.vue | ||
npx stylelint --color --max-warnings=0 $(STYLELINT_FILES) | ||
|
||
.PHONY: lint-css-fix | ||
lint-css-fix: node_modules | ||
npx stylelint --color --max-warnings=0 web_src/css web_src/js/components/*.vue --fix | ||
npx stylelint --color --max-warnings=0 $(STYLELINT_FILES) --fix | ||
|
||
.PHONY: lint-swagger | ||
lint-swagger: node_modules | ||
|
@@ -444,7 +446,7 @@ lint-yaml: .venv | |
|
||
.PHONY: watch | ||
watch: | ||
@bash build/watch.sh | ||
@bash tools/watch.sh | ||
|
||
.PHONY: watch-frontend | ||
watch-frontend: node-check node_modules | ||
|
@@ -916,7 +918,7 @@ $(WEBPACK_DEST): $(WEBPACK_SOURCES) $(WEBPACK_CONFIGS) package-lock.json | |
.PHONY: svg | ||
svg: node-check | node_modules | ||
rm -rf $(SVG_DEST_DIR) | ||
node build/generate-svg.js | ||
node tools/generate-svg.js | ||
|
||
.PHONY: svg-check | ||
svg-check: svg | ||
|
@@ -960,7 +962,7 @@ generate-gitignore: | |
.PHONY: generate-images | ||
generate-images: | node_modules | ||
npm install --no-save [email protected] imagemin-zopfli@7 | ||
node build/generate-images.js $(TAGS) | ||
node tools/generate-images.js $(TAGS) | ||
|
||
.PHONY: generate-manpage | ||
generate-manpage: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.