Skip to content

Commit 3423675

Browse files
authored
Merge branch 'main' into add-time-in-tag-list
2 parents fb18f02 + 2d2b4bd commit 3423675

40 files changed

+82
-1435
lines changed

Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ TEST_TAGS ?= sqlite sqlite_unlock_notify
131131

132132
TAR_EXCLUDES := .git data indexers queues log node_modules $(EXECUTABLE) $(FOMANTIC_WORK_DIR)/node_modules $(DIST) $(MAKE_EVIDENCE_DIR) $(AIR_TMP_DIR) $(GO_LICENSE_TMP_DIR)
133133

134-
GO_DIRS := cmd tests models modules routers build services tools
134+
GO_DIRS := build cmd models modules routers services tests
135135
WEB_DIRS := web_src/js web_src/css
136136

137137
GO_SOURCES := $(wildcard *.go)
@@ -219,7 +219,6 @@ help:
219219
@echo " - tidy run go mod tidy"
220220
@echo " - test[\#TestSpecificName] run unit test"
221221
@echo " - test-sqlite[\#TestSpecificName] run integration test for sqlite"
222-
@echo " - pr#<index> build and start gitea from a PR with integration test data loaded"
223222

224223
.PHONY: go-check
225224
go-check:
@@ -353,7 +352,7 @@ lint-backend: golangci-lint vet editorconfig-checker
353352

354353
.PHONY: watch
355354
watch:
356-
bash tools/watch.sh
355+
bash build/watch.sh
357356

358357
.PHONY: watch-frontend
359358
watch-frontend: node-check node_modules
@@ -939,10 +938,6 @@ generate-manpage:
939938
@gzip -9 man/man1/gitea.1 && echo man/man1/gitea.1.gz created
940939
@#TODO A small script that formats config-cheat-sheet.en-us.md nicely for use as a config man page
941940

942-
.PHONY: pr\#%
943-
pr\#%: clean-all
944-
$(GO) run contrib/pr/checkout.go $*
945-
946941
.PHONY: golangci-lint
947942
golangci-lint:
948943
$(GO) run $(GOLANGCI_LINT_PACKAGE) run

build/backport-locales.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2023 The Gitea Authors. All rights reserved.
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build ignore
25

36
package main

build/code-batch-process.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ func newFileCollector(fileFilter string, batchSize int) (*fileCollector, error)
6565
"modules",
6666
"routers",
6767
"services",
68-
"tools",
6968
}
7069
co.includePatterns = append(co.includePatterns, regexp.MustCompile(`.*\.go$`))
7170

build/test-echo.go

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Copyright 2023 The Gitea Authors. All rights reserved.
2+
// SPDX-License-Identifier: MIT
3+
4+
//go:build ignore
5+
6+
package main
7+
8+
import (
9+
"fmt"
10+
"io"
11+
"os"
12+
)
13+
14+
func main() {
15+
_, err := io.Copy(os.Stdout, os.Stdin)
16+
if err != nil {
17+
fmt.Fprintf(os.Stderr, "Error: %v", err)
18+
os.Exit(1)
19+
}
20+
}
File renamed without changes.

contrib/autoboot.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

contrib/mysql.sql

Lines changed: 0 additions & 2 deletions
This file was deleted.

contrib/pr/checkout.go

Lines changed: 0 additions & 267 deletions
This file was deleted.

docs/content/page/index.en-us.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ draft: false
1010

1111
# What is Gitea?
1212

13-
Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket, and GitLab.
14-
Gitea is a fork of [Gogs](http://gogs.io). See the [Gitea Announcement](https://blog.gitea.io/2016/12/welcome-to-gitea/)
13+
Gitea is a painless self-hosted all-in-one software development service, it includes Git hosting, code review, team collaboration, package registry and CI/CD. It is similar to GitHub, Bitbucket and GitLab.
14+
Gitea was forked from [Gogs](http://gogs.io) originally and almost all the code has been changed. See the [Gitea Announcement](https://blog.gitea.io/2016/12/welcome-to-gitea/)
1515
blog post to read about the justification for a fork.
1616

1717
## Purpose

0 commit comments

Comments
 (0)