mirror of
https://github.com/gogs/gogs.git
synced 2025-12-21 07:39:59 +01:00
vendor: rename "gogits" to "gogs"
This commit is contained in:
16
README.md
16
README.md
@@ -1,9 +1,9 @@
|
|||||||
Gogs [](https://travis-ci.org/gogits/gogs) [](https://ci.appveyor.com/project/Unknwon/gogs/branch/master) [](https://crowdin.com/project/gogs) [](https://discord.gg/9aqdHU7)
|
Gogs [](https://travis-ci.org/gogs/gogs) [](https://ci.appveyor.com/project/Unknwon/gogs/branch/master) [](https://crowdin.com/project/gogs) [](https://discord.gg/9aqdHU7)
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
##### Current tip version: [`.VERSION`](templates/.VERSION) (see [Releases](https://github.com/gogits/gogs/releases) for binary versions)
|
##### Current tip version: [`.VERSION`](templates/.VERSION) (see [Releases](https://github.com/gogs/gogs/releases) for binary versions)
|
||||||
|
|
||||||
| Web | UI | Preview |
|
| Web | UI | Preview |
|
||||||
|:-------------:|:-------:|:-------:|
|
|:-------------:|:-------:|:-------:|
|
||||||
@@ -13,11 +13,11 @@ Gogs [](http
|
|||||||
|
|
||||||
### Important Notes
|
### Important Notes
|
||||||
|
|
||||||
1. **YOU MUST READ [Contributing Code](https://github.com/gogits/gogs/wiki/Contributing-Code) BEFORE STARTING TO WORK ON A PULL REQUEST**.
|
1. **YOU MUST READ [Contributing Code](https://github.com/gogs/gogs/wiki/Contributing-Code) BEFORE STARTING TO WORK ON A PULL REQUEST**.
|
||||||
2. Due to testing purpose, data of [try.gogs.io](https://try.gogs.io) was reset in **Jan 28, 2015** and will reset multiple times after. Please do **NOT** put your important data on the site.
|
2. Due to testing purpose, data of [try.gogs.io](https://try.gogs.io) was reset in **Jan 28, 2015** and will reset multiple times after. Please do **NOT** put your important data on the site.
|
||||||
3. The demo site [try.gogs.io](https://try.gogs.io) is running under `develop` branch.
|
3. The demo site [try.gogs.io](https://try.gogs.io) is running under `develop` branch.
|
||||||
4. If you think there are vulnerabilities in the project, please talk privately to **u@gogs.io**, and the name you want to be credited as. Thanks!
|
4. If you think there are vulnerabilities in the project, please talk privately to **u@gogs.io**, and the name you want to be credited as. Thanks!
|
||||||
5. If you're interested in using APIs, we have experimental support with [documentation](https://github.com/gogits/go-gogs-client/wiki).
|
5. If you're interested in using APIs, we have experimental support with [documentation](https://github.com/gogs/go-gogs-client/wiki).
|
||||||
6. If your team/company is using Gogs and would like to put your logo on [our website](https://gogs.io), contact us by any means.
|
6. If your team/company is using Gogs and would like to put your logo on [our website](https://gogs.io), contact us by any means.
|
||||||
|
|
||||||
[简体中文](README_ZH.md)
|
[简体中文](README_ZH.md)
|
||||||
@@ -74,7 +74,7 @@ There are 5 ways to install Gogs:
|
|||||||
- [Install from binary](https://gogs.io/docs/installation/install_from_binary.html)
|
- [Install from binary](https://gogs.io/docs/installation/install_from_binary.html)
|
||||||
- [Install from source](https://gogs.io/docs/installation/install_from_source.html)
|
- [Install from source](https://gogs.io/docs/installation/install_from_source.html)
|
||||||
- [Install from packages](https://gogs.io/docs/installation/install_from_packages.html)
|
- [Install from packages](https://gogs.io/docs/installation/install_from_packages.html)
|
||||||
- [Ship with Docker](https://github.com/gogits/gogs/tree/master/docker)
|
- [Ship with Docker](https://github.com/gogs/gogs/tree/master/docker)
|
||||||
- [Install with Vagrant](https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs)
|
- [Install with Vagrant](https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs)
|
||||||
|
|
||||||
### Tutorials
|
### Tutorials
|
||||||
@@ -130,9 +130,9 @@ There are 5 ways to install Gogs:
|
|||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
|
||||||
- See [contributors page](https://github.com/gogits/gogs/graphs/contributors) for top 100 contributors.
|
- See [contributors page](https://github.com/gogs/gogs/graphs/contributors) for top 100 contributors.
|
||||||
- See [TRANSLATORS](conf/locale/TRANSLATORS) for public list of translators.
|
- See [TRANSLATORS](conf/locale/TRANSLATORS) for public list of translators.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This project is under the MIT License. See the [LICENSE](https://github.com/gogits/gogs/blob/master/LICENSE) file for the full license text.
|
This project is under the MIT License. See the [LICENSE](https://github.com/gogs/gogs/blob/master/LICENSE) file for the full license text.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Gogs [](https://travis-ci.org/gogits/gogs) [](https://ci.appveyor.com/project/Unknwon/gogs/branch/master)
|
Gogs [](https://travis-ci.org/gogs/gogs) [](https://ci.appveyor.com/project/Unknwon/gogs/branch/master)
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
Gogs 是一款极易搭建的自助 Git 服务。
|
Gogs 是一款极易搭建的自助 Git 服务。
|
||||||
@@ -55,7 +55,7 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
|
|||||||
- [二进制安装](https://gogs.io/docs/installation/install_from_binary.html)
|
- [二进制安装](https://gogs.io/docs/installation/install_from_binary.html)
|
||||||
- [源码安装](https://gogs.io/docs/installation/install_from_source.html)
|
- [源码安装](https://gogs.io/docs/installation/install_from_source.html)
|
||||||
- [包管理安装](https://gogs.io/docs/installation/install_from_packages.html)
|
- [包管理安装](https://gogs.io/docs/installation/install_from_packages.html)
|
||||||
- [采用 Docker 部署](https://github.com/gogits/gogs/tree/master/docker)
|
- [采用 Docker 部署](https://github.com/gogs/gogs/tree/master/docker)
|
||||||
- [通过 Vagrant 安装](https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs)
|
- [通过 Vagrant 安装](https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs)
|
||||||
|
|
||||||
### 使用教程
|
### 使用教程
|
||||||
@@ -99,9 +99,9 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
|
|||||||
|
|
||||||
## 贡献成员
|
## 贡献成员
|
||||||
|
|
||||||
- 您可以通过查看 [贡献者页面](https://github.com/gogits/gogs/graphs/contributors) 获取 TOP 100 的贡献者列表。
|
- 您可以通过查看 [贡献者页面](https://github.com/gogs/gogs/graphs/contributors) 获取 TOP 100 的贡献者列表。
|
||||||
- 您可以通过查看 [TRANSLATORS](conf/locale/TRANSLATORS) 文件获取公开的翻译人员列表。
|
- 您可以通过查看 [TRANSLATORS](conf/locale/TRANSLATORS) 文件获取公开的翻译人员列表。
|
||||||
|
|
||||||
## 授权许可
|
## 授权许可
|
||||||
|
|
||||||
本项目采用 MIT 开源授权许可证,完整的授权说明已放置在 [LICENSE](https://github.com/gogits/gogs/blob/master/LICENSE) 文件中。
|
本项目采用 MIT 开源授权许可证,完整的授权说明已放置在 [LICENSE](https://github.com/gogs/gogs/blob/master/LICENSE) 文件中。
|
||||||
|
|||||||
@@ -320,6 +320,15 @@ func SyncMirrors() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Work on #2017 and #4528 together
|
||||||
|
// 1. Get commits after last update time
|
||||||
|
// 2. Simulate push event for new commits, see models/repo_editor.go:164
|
||||||
|
// This automatically triggers the "push" webhook
|
||||||
|
|
||||||
|
// ******************************
|
||||||
|
// EDIT AREA - START
|
||||||
|
// ******************************
|
||||||
|
|
||||||
// Get latest commit date and compare to current repository updated time,
|
// Get latest commit date and compare to current repository updated time,
|
||||||
// update if latest commit date is newer.
|
// update if latest commit date is newer.
|
||||||
commitDate, err := git.GetLatestCommitDate(m.Repo.RepoPath(), "")
|
commitDate, err := git.GetLatestCommitDate(m.Repo.RepoPath(), "")
|
||||||
@@ -330,6 +339,10 @@ func SyncMirrors() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ******************************
|
||||||
|
// EDIT AREA - END
|
||||||
|
// ******************************
|
||||||
|
|
||||||
if _, err = x.Exec("UPDATE repository SET updated_unix = ? WHERE id = ?", commitDate.Unix(), m.RepoID); err != nil {
|
if _, err = x.Exec("UPDATE repository SET updated_unix = ? WHERE id = ?", commitDate.Unix(), m.RepoID); err != nil {
|
||||||
log.Error(2, "Update repository 'updated_unix' [%s]: %v", m.RepoID, err)
|
log.Error(2, "Update repository 'updated_unix' [%s]: %v", m.RepoID, err)
|
||||||
continue
|
continue
|
||||||
|
|||||||
0
vendor/github.com/gogits/chardet/2022.go → vendor/github.com/gogs/chardet/2022.go
generated
vendored
0
vendor/github.com/gogits/chardet/2022.go → vendor/github.com/gogs/chardet/2022.go
generated
vendored
0
vendor/github.com/gogits/chardet/AUTHORS → vendor/github.com/gogs/chardet/AUTHORS
generated
vendored
0
vendor/github.com/gogits/chardet/AUTHORS → vendor/github.com/gogs/chardet/AUTHORS
generated
vendored
0
vendor/github.com/gogits/chardet/LICENSE → vendor/github.com/gogs/chardet/LICENSE
generated
vendored
0
vendor/github.com/gogits/chardet/LICENSE → vendor/github.com/gogs/chardet/LICENSE
generated
vendored
0
vendor/github.com/gogits/chardet/utf8.go → vendor/github.com/gogs/chardet/utf8.go
generated
vendored
0
vendor/github.com/gogits/chardet/utf8.go → vendor/github.com/gogs/chardet/utf8.go
generated
vendored
0
vendor/github.com/gogits/cron/LICENSE → vendor/github.com/gogs/cron/LICENSE
generated
vendored
0
vendor/github.com/gogits/cron/LICENSE → vendor/github.com/gogs/cron/LICENSE
generated
vendored
0
vendor/github.com/gogits/cron/README.md → vendor/github.com/gogs/cron/README.md
generated
vendored
0
vendor/github.com/gogits/cron/README.md → vendor/github.com/gogs/cron/README.md
generated
vendored
0
vendor/github.com/gogits/cron/cron.go → vendor/github.com/gogs/cron/cron.go
generated
vendored
0
vendor/github.com/gogits/cron/cron.go → vendor/github.com/gogs/cron/cron.go
generated
vendored
0
vendor/github.com/gogits/cron/doc.go → vendor/github.com/gogs/cron/doc.go
generated
vendored
0
vendor/github.com/gogits/cron/doc.go → vendor/github.com/gogs/cron/doc.go
generated
vendored
0
vendor/github.com/gogits/cron/parser.go → vendor/github.com/gogs/cron/parser.go
generated
vendored
0
vendor/github.com/gogits/cron/parser.go → vendor/github.com/gogs/cron/parser.go
generated
vendored
0
vendor/github.com/gogits/cron/spec.go → vendor/github.com/gogs/cron/spec.go
generated
vendored
0
vendor/github.com/gogits/cron/spec.go → vendor/github.com/gogs/cron/spec.go
generated
vendored
Reference in New Issue
Block a user