aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md16
-rw-r--r--README_ZH.md8
-rw-r--r--models/mirror.go13
-rw-r--r--vendor/github.com/gogs/chardet/2022.go (renamed from vendor/github.com/gogits/chardet/2022.go)0
-rw-r--r--vendor/github.com/gogs/chardet/AUTHORS (renamed from vendor/github.com/gogits/chardet/AUTHORS)0
-rw-r--r--vendor/github.com/gogs/chardet/LICENSE (renamed from vendor/github.com/gogits/chardet/LICENSE)0
-rw-r--r--vendor/github.com/gogs/chardet/README.md (renamed from vendor/github.com/gogits/chardet/README.md)0
-rw-r--r--vendor/github.com/gogs/chardet/detector.go (renamed from vendor/github.com/gogits/chardet/detector.go)0
-rw-r--r--vendor/github.com/gogs/chardet/icu-license.html (renamed from vendor/github.com/gogits/chardet/icu-license.html)0
-rw-r--r--vendor/github.com/gogs/chardet/multi_byte.go (renamed from vendor/github.com/gogits/chardet/multi_byte.go)0
-rw-r--r--vendor/github.com/gogs/chardet/recognizer.go (renamed from vendor/github.com/gogits/chardet/recognizer.go)0
-rw-r--r--vendor/github.com/gogs/chardet/single_byte.go (renamed from vendor/github.com/gogits/chardet/single_byte.go)0
-rw-r--r--vendor/github.com/gogs/chardet/unicode.go (renamed from vendor/github.com/gogits/chardet/unicode.go)0
-rw-r--r--vendor/github.com/gogs/chardet/utf8.go (renamed from vendor/github.com/gogits/chardet/utf8.go)0
-rw-r--r--vendor/github.com/gogs/cron/LICENSE (renamed from vendor/github.com/gogits/cron/LICENSE)0
-rw-r--r--vendor/github.com/gogs/cron/README.md (renamed from vendor/github.com/gogits/cron/README.md)0
-rw-r--r--vendor/github.com/gogs/cron/constantdelay.go (renamed from vendor/github.com/gogits/cron/constantdelay.go)0
-rw-r--r--vendor/github.com/gogs/cron/cron.go (renamed from vendor/github.com/gogits/cron/cron.go)0
-rw-r--r--vendor/github.com/gogs/cron/doc.go (renamed from vendor/github.com/gogits/cron/doc.go)0
-rw-r--r--vendor/github.com/gogs/cron/parser.go (renamed from vendor/github.com/gogits/cron/parser.go)0
-rw-r--r--vendor/github.com/gogs/cron/spec.go (renamed from vendor/github.com/gogits/cron/spec.go)0
-rw-r--r--vendor/github.com/gogs/git-module/LICENSE (renamed from vendor/github.com/gogits/git-module/LICENSE)0
-rw-r--r--vendor/github.com/gogs/git-module/README.md (renamed from vendor/github.com/gogits/git-module/README.md)0
-rw-r--r--vendor/github.com/gogs/git-module/blob.go (renamed from vendor/github.com/gogits/git-module/blob.go)0
-rw-r--r--vendor/github.com/gogs/git-module/command.go (renamed from vendor/github.com/gogits/git-module/command.go)0
-rw-r--r--vendor/github.com/gogs/git-module/commit.go (renamed from vendor/github.com/gogits/git-module/commit.go)0
-rw-r--r--vendor/github.com/gogs/git-module/commit_archive.go (renamed from vendor/github.com/gogits/git-module/commit_archive.go)0
-rw-r--r--vendor/github.com/gogs/git-module/error.go (renamed from vendor/github.com/gogits/git-module/error.go)0
-rw-r--r--vendor/github.com/gogs/git-module/git.go (renamed from vendor/github.com/gogits/git-module/git.go)0
-rw-r--r--vendor/github.com/gogs/git-module/hook.go (renamed from vendor/github.com/gogits/git-module/hook.go)0
-rw-r--r--vendor/github.com/gogs/git-module/repo.go (renamed from vendor/github.com/gogits/git-module/repo.go)0
-rw-r--r--vendor/github.com/gogs/git-module/repo_branch.go (renamed from vendor/github.com/gogits/git-module/repo_branch.go)0
-rw-r--r--vendor/github.com/gogs/git-module/repo_commit.go (renamed from vendor/github.com/gogits/git-module/repo_commit.go)0
-rw-r--r--vendor/github.com/gogs/git-module/repo_diff.go (renamed from vendor/github.com/gogits/git-module/repo_diff.go)0
-rw-r--r--vendor/github.com/gogs/git-module/repo_hook.go (renamed from vendor/github.com/gogits/git-module/repo_hook.go)0
-rw-r--r--vendor/github.com/gogs/git-module/repo_object.go (renamed from vendor/github.com/gogits/git-module/repo_object.go)0
-rw-r--r--vendor/github.com/gogs/git-module/repo_pull.go (renamed from vendor/github.com/gogits/git-module/repo_pull.go)0
-rw-r--r--vendor/github.com/gogs/git-module/repo_tag.go (renamed from vendor/github.com/gogits/git-module/repo_tag.go)0
-rw-r--r--vendor/github.com/gogs/git-module/repo_tree.go (renamed from vendor/github.com/gogits/git-module/repo_tree.go)0
-rw-r--r--vendor/github.com/gogs/git-module/sha1.go (renamed from vendor/github.com/gogits/git-module/sha1.go)0
-rw-r--r--vendor/github.com/gogs/git-module/signature.go (renamed from vendor/github.com/gogits/git-module/signature.go)0
-rw-r--r--vendor/github.com/gogs/git-module/submodule.go (renamed from vendor/github.com/gogits/git-module/submodule.go)0
-rw-r--r--vendor/github.com/gogs/git-module/tag.go (renamed from vendor/github.com/gogits/git-module/tag.go)0
-rw-r--r--vendor/github.com/gogs/git-module/tree.go (renamed from vendor/github.com/gogits/git-module/tree.go)0
-rw-r--r--vendor/github.com/gogs/git-module/tree_blob.go (renamed from vendor/github.com/gogits/git-module/tree_blob.go)0
-rw-r--r--vendor/github.com/gogs/git-module/tree_entry.go (renamed from vendor/github.com/gogits/git-module/tree_entry.go)0
-rw-r--r--vendor/github.com/gogs/git-module/utils.go (renamed from vendor/github.com/gogits/git-module/utils.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/LICENSE (renamed from vendor/github.com/gogits/go-gogs-client/LICENSE)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/README.md (renamed from vendor/github.com/gogits/go-gogs-client/README.md)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/admin_org.go (renamed from vendor/github.com/gogits/go-gogs-client/admin_org.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/admin_repo.go (renamed from vendor/github.com/gogits/go-gogs-client/admin_repo.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/admin_user.go (renamed from vendor/github.com/gogits/go-gogs-client/admin_user.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/gogs.go (renamed from vendor/github.com/gogits/go-gogs-client/gogs.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/issue.go (renamed from vendor/github.com/gogits/go-gogs-client/issue.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/issue_comment.go (renamed from vendor/github.com/gogits/go-gogs-client/issue_comment.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/issue_label.go (renamed from vendor/github.com/gogits/go-gogs-client/issue_label.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/issue_milestone.go (renamed from vendor/github.com/gogits/go-gogs-client/issue_milestone.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/miscellaneous.go (renamed from vendor/github.com/gogits/go-gogs-client/miscellaneous.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/org.go (renamed from vendor/github.com/gogits/go-gogs-client/org.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/org_member.go (renamed from vendor/github.com/gogits/go-gogs-client/org_member.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/org_team.go (renamed from vendor/github.com/gogits/go-gogs-client/org_team.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/pull.go (renamed from vendor/github.com/gogits/go-gogs-client/pull.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/release.go (renamed from vendor/github.com/gogits/go-gogs-client/release.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/repo.go (renamed from vendor/github.com/gogits/go-gogs-client/repo.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/repo_branch.go (renamed from vendor/github.com/gogits/go-gogs-client/repo_branch.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/repo_collaborator.go (renamed from vendor/github.com/gogits/go-gogs-client/repo_collaborator.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/repo_file.go (renamed from vendor/github.com/gogits/go-gogs-client/repo_file.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/repo_hook.go (renamed from vendor/github.com/gogits/go-gogs-client/repo_hook.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/repo_key.go (renamed from vendor/github.com/gogits/go-gogs-client/repo_key.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/user.go (renamed from vendor/github.com/gogits/go-gogs-client/user.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/user_app.go (renamed from vendor/github.com/gogits/go-gogs-client/user_app.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/user_email.go (renamed from vendor/github.com/gogits/go-gogs-client/user_email.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/user_follow.go (renamed from vendor/github.com/gogits/go-gogs-client/user_follow.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/user_key.go (renamed from vendor/github.com/gogits/go-gogs-client/user_key.go)0
-rw-r--r--vendor/github.com/gogs/go-gogs-client/utils.go (renamed from vendor/github.com/gogits/go-gogs-client/utils.go)0
-rw-r--r--vendor/github.com/gogs/go-libravatar/LICENSE (renamed from vendor/github.com/gogits/go-libravatar/LICENSE)0
-rw-r--r--vendor/github.com/gogs/go-libravatar/Makefile (renamed from vendor/github.com/gogits/go-libravatar/Makefile)0
-rw-r--r--vendor/github.com/gogs/go-libravatar/README.md (renamed from vendor/github.com/gogits/go-libravatar/README.md)0
-rw-r--r--vendor/github.com/gogs/go-libravatar/libravatar.go (renamed from vendor/github.com/gogits/go-libravatar/libravatar.go)0
-rw-r--r--vendor/github.com/gogs/minwinsvc/LICENSE (renamed from vendor/github.com/gogits/minwinsvc/LICENSE)0
-rw-r--r--vendor/github.com/gogs/minwinsvc/README.md (renamed from vendor/github.com/gogits/minwinsvc/README.md)0
-rw-r--r--vendor/github.com/gogs/minwinsvc/minwinsvc.go (renamed from vendor/github.com/gogits/minwinsvc/minwinsvc.go)0
-rw-r--r--vendor/github.com/gogs/minwinsvc/svc_other.go (renamed from vendor/github.com/gogits/minwinsvc/svc_other.go)0
-rw-r--r--vendor/github.com/gogs/minwinsvc/svc_windows.go (renamed from vendor/github.com/gogits/minwinsvc/svc_windows.go)0
84 files changed, 25 insertions, 12 deletions
diff --git a/README.md b/README.md
index ec3e0dee..320d5512 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
-Gogs [![Build Status](https://travis-ci.org/gogits/gogs.svg?branch=master)](https://travis-ci.org/gogits/gogs) [![Build status](https://ci.appveyor.com/api/projects/status/b9uu5ejl933e2wlt/branch/master?svg=true)](https://ci.appveyor.com/project/Unknwon/gogs/branch/master) [![Crowdin](https://d322cqt584bo4o.cloudfront.net/gogs/localized.svg)](https://crowdin.com/project/gogs) [![Discord](https://img.shields.io/discord/382595433060499458.svg)](https://discord.gg/9aqdHU7)
+Gogs [![Build Status](https://travis-ci.org/gogs/gogs.svg?branch=master)](https://travis-ci.org/gogs/gogs) [![Build status](https://ci.appveyor.com/api/projects/status/b9uu5ejl933e2wlt/branch/master?svg=true)](https://ci.appveyor.com/project/Unknwon/gogs/branch/master) [![Crowdin](https://d322cqt584bo4o.cloudfront.net/gogs/localized.svg)](https://crowdin.com/project/gogs) [![Discord](https://img.shields.io/discord/382595433060499458.svg)](https://discord.gg/9aqdHU7)
=====================
-![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
+![](https://github.com/gogs/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
-##### 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 |
|:-------------:|:-------:|:-------:|
@@ -13,11 +13,11 @@ Gogs [![Build Status](https://travis-ci.org/gogits/gogs.svg?branch=master)](http
### 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.
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!
-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.
[简体中文](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 source](https://gogs.io/docs/installation/install_from_source.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)
### Tutorials
@@ -130,9 +130,9 @@ There are 5 ways to install Gogs:
## 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.
## 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.
diff --git a/README_ZH.md b/README_ZH.md
index 9f0fd407..a2b80813 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -1,4 +1,4 @@
-Gogs [![Build Status](https://travis-ci.org/gogits/gogs.svg?branch=master)](https://travis-ci.org/gogits/gogs) [![Build status](https://ci.appveyor.com/api/projects/status/b9uu5ejl933e2wlt/branch/master?svg=true)](https://ci.appveyor.com/project/Unknwon/gogs/branch/master)
+Gogs [![Build Status](https://travis-ci.org/gogs/gogs.svg?branch=master)](https://travis-ci.org/gogs/gogs) [![Build status](https://ci.appveyor.com/api/projects/status/b9uu5ejl933e2wlt/branch/master?svg=true)](https://ci.appveyor.com/project/Unknwon/gogs/branch/master)
=====================
Gogs 是一款极易搭建的自助 Git 服务。
@@ -55,7 +55,7 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
- [二进制安装](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_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)
### 使用教程
@@ -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) 文件获取公开的翻译人员列表。
## 授权许可
-本项目采用 MIT 开源授权许可证,完整的授权说明已放置在 [LICENSE](https://github.com/gogits/gogs/blob/master/LICENSE) 文件中。
+本项目采用 MIT 开源授权许可证,完整的授权说明已放置在 [LICENSE](https://github.com/gogs/gogs/blob/master/LICENSE) 文件中。
diff --git a/models/mirror.go b/models/mirror.go
index 76427fae..b204a682 100644
--- a/models/mirror.go
+++ b/models/mirror.go
@@ -320,6 +320,15 @@ func SyncMirrors() {
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,
// update if latest commit date is newer.
commitDate, err := git.GetLatestCommitDate(m.Repo.RepoPath(), "")
@@ -330,6 +339,10 @@ func SyncMirrors() {
continue
}
+ // ******************************
+ // EDIT AREA - END
+ // ******************************
+
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)
continue
diff --git a/vendor/github.com/gogits/chardet/2022.go b/vendor/github.com/gogs/chardet/2022.go
index e667225e..e667225e 100644
--- a/vendor/github.com/gogits/chardet/2022.go
+++ b/vendor/github.com/gogs/chardet/2022.go
diff --git a/vendor/github.com/gogits/chardet/AUTHORS b/vendor/github.com/gogs/chardet/AUTHORS
index 842d0216..842d0216 100644
--- a/vendor/github.com/gogits/chardet/AUTHORS
+++ b/vendor/github.com/gogs/chardet/AUTHORS
diff --git a/vendor/github.com/gogits/chardet/LICENSE b/vendor/github.com/gogs/chardet/LICENSE
index 35ee796b..35ee796b 100644
--- a/vendor/github.com/gogits/chardet/LICENSE
+++ b/vendor/github.com/gogs/chardet/LICENSE
diff --git a/vendor/github.com/gogits/chardet/README.md b/vendor/github.com/gogs/chardet/README.md
index bbde23fb..bbde23fb 100644
--- a/vendor/github.com/gogits/chardet/README.md
+++ b/vendor/github.com/gogs/chardet/README.md
diff --git a/vendor/github.com/gogits/chardet/detector.go b/vendor/github.com/gogs/chardet/detector.go
index e11c222e..e11c222e 100644
--- a/vendor/github.com/gogits/chardet/detector.go
+++ b/vendor/github.com/gogs/chardet/detector.go
diff --git a/vendor/github.com/gogits/chardet/icu-license.html b/vendor/github.com/gogs/chardet/icu-license.html
index d078d057..d078d057 100644
--- a/vendor/github.com/gogits/chardet/icu-license.html
+++ b/vendor/github.com/gogs/chardet/icu-license.html
diff --git a/vendor/github.com/gogits/chardet/multi_byte.go b/vendor/github.com/gogs/chardet/multi_byte.go
index b5cdf3d6..b5cdf3d6 100644
--- a/vendor/github.com/gogits/chardet/multi_byte.go
+++ b/vendor/github.com/gogs/chardet/multi_byte.go
diff --git a/vendor/github.com/gogits/chardet/recognizer.go b/vendor/github.com/gogs/chardet/recognizer.go
index 1bf8461c..1bf8461c 100644
--- a/vendor/github.com/gogits/chardet/recognizer.go
+++ b/vendor/github.com/gogs/chardet/recognizer.go
diff --git a/vendor/github.com/gogits/chardet/single_byte.go b/vendor/github.com/gogs/chardet/single_byte.go
index a7ce39bc..a7ce39bc 100644
--- a/vendor/github.com/gogits/chardet/single_byte.go
+++ b/vendor/github.com/gogs/chardet/single_byte.go
diff --git a/vendor/github.com/gogits/chardet/unicode.go b/vendor/github.com/gogs/chardet/unicode.go
index 6f9fa9e6..6f9fa9e6 100644
--- a/vendor/github.com/gogits/chardet/unicode.go
+++ b/vendor/github.com/gogs/chardet/unicode.go
diff --git a/vendor/github.com/gogits/chardet/utf8.go b/vendor/github.com/gogs/chardet/utf8.go
index ae036ad9..ae036ad9 100644
--- a/vendor/github.com/gogits/chardet/utf8.go
+++ b/vendor/github.com/gogs/chardet/utf8.go
diff --git a/vendor/github.com/gogits/cron/LICENSE b/vendor/github.com/gogs/cron/LICENSE
index 3a0f627f..3a0f627f 100644
--- a/vendor/github.com/gogits/cron/LICENSE
+++ b/vendor/github.com/gogs/cron/LICENSE
diff --git a/vendor/github.com/gogits/cron/README.md b/vendor/github.com/gogs/cron/README.md
index 157ed082..157ed082 100644
--- a/vendor/github.com/gogits/cron/README.md
+++ b/vendor/github.com/gogs/cron/README.md
diff --git a/vendor/github.com/gogits/cron/constantdelay.go b/vendor/github.com/gogs/cron/constantdelay.go
index cd6e7b1b..cd6e7b1b 100644
--- a/vendor/github.com/gogits/cron/constantdelay.go
+++ b/vendor/github.com/gogs/cron/constantdelay.go
diff --git a/vendor/github.com/gogits/cron/cron.go b/vendor/github.com/gogs/cron/cron.go
index ed6ad21c..ed6ad21c 100644
--- a/vendor/github.com/gogits/cron/cron.go
+++ b/vendor/github.com/gogs/cron/cron.go
diff --git a/vendor/github.com/gogits/cron/doc.go b/vendor/github.com/gogs/cron/doc.go
index dbdf5012..dbdf5012 100644
--- a/vendor/github.com/gogits/cron/doc.go
+++ b/vendor/github.com/gogs/cron/doc.go
diff --git a/vendor/github.com/gogits/cron/parser.go b/vendor/github.com/gogs/cron/parser.go
index fd217c92..fd217c92 100644
--- a/vendor/github.com/gogits/cron/parser.go
+++ b/vendor/github.com/gogs/cron/parser.go
diff --git a/vendor/github.com/gogits/cron/spec.go b/vendor/github.com/gogs/cron/spec.go
index 2b541269..2b541269 100644
--- a/vendor/github.com/gogits/cron/spec.go
+++ b/vendor/github.com/gogs/cron/spec.go
diff --git a/vendor/github.com/gogits/git-module/LICENSE b/vendor/github.com/gogs/git-module/LICENSE
index 176d8dfe..176d8dfe 100644
--- a/vendor/github.com/gogits/git-module/LICENSE
+++ b/vendor/github.com/gogs/git-module/LICENSE
diff --git a/vendor/github.com/gogits/git-module/README.md b/vendor/github.com/gogs/git-module/README.md
index f9569ceb..f9569ceb 100644
--- a/vendor/github.com/gogits/git-module/README.md
+++ b/vendor/github.com/gogs/git-module/README.md
diff --git a/vendor/github.com/gogits/git-module/blob.go b/vendor/github.com/gogs/git-module/blob.go
index 7731226d..7731226d 100644
--- a/vendor/github.com/gogits/git-module/blob.go
+++ b/vendor/github.com/gogs/git-module/blob.go
diff --git a/vendor/github.com/gogits/git-module/command.go b/vendor/github.com/gogs/git-module/command.go
index 80caea08..80caea08 100644
--- a/vendor/github.com/gogits/git-module/command.go
+++ b/vendor/github.com/gogs/git-module/command.go
diff --git a/vendor/github.com/gogits/git-module/commit.go b/vendor/github.com/gogs/git-module/commit.go
index 64831d7f..64831d7f 100644
--- a/vendor/github.com/gogits/git-module/commit.go
+++ b/vendor/github.com/gogs/git-module/commit.go
diff --git a/vendor/github.com/gogits/git-module/commit_archive.go b/vendor/github.com/gogs/git-module/commit_archive.go
index 1066ba69..1066ba69 100644
--- a/vendor/github.com/gogits/git-module/commit_archive.go
+++ b/vendor/github.com/gogs/git-module/commit_archive.go
diff --git a/vendor/github.com/gogits/git-module/error.go b/vendor/github.com/gogs/git-module/error.go
index 2fefaa1e..2fefaa1e 100644
--- a/vendor/github.com/gogits/git-module/error.go
+++ b/vendor/github.com/gogs/git-module/error.go
diff --git a/vendor/github.com/gogits/git-module/git.go b/vendor/github.com/gogs/git-module/git.go
index 414d67cd..414d67cd 100644
--- a/vendor/github.com/gogits/git-module/git.go
+++ b/vendor/github.com/gogs/git-module/git.go
diff --git a/vendor/github.com/gogits/git-module/hook.go b/vendor/github.com/gogs/git-module/hook.go
index a0d0b16b..a0d0b16b 100644
--- a/vendor/github.com/gogits/git-module/hook.go
+++ b/vendor/github.com/gogs/git-module/hook.go
diff --git a/vendor/github.com/gogits/git-module/repo.go b/vendor/github.com/gogs/git-module/repo.go
index ca4805f5..ca4805f5 100644
--- a/vendor/github.com/gogits/git-module/repo.go
+++ b/vendor/github.com/gogs/git-module/repo.go
diff --git a/vendor/github.com/gogits/git-module/repo_branch.go b/vendor/github.com/gogs/git-module/repo_branch.go
index de3f6ca1..de3f6ca1 100644
--- a/vendor/github.com/gogits/git-module/repo_branch.go
+++ b/vendor/github.com/gogs/git-module/repo_branch.go
diff --git a/vendor/github.com/gogits/git-module/repo_commit.go b/vendor/github.com/gogs/git-module/repo_commit.go
index 6b629d4d..6b629d4d 100644
--- a/vendor/github.com/gogits/git-module/repo_commit.go
+++ b/vendor/github.com/gogs/git-module/repo_commit.go
diff --git a/vendor/github.com/gogits/git-module/repo_diff.go b/vendor/github.com/gogs/git-module/repo_diff.go
index 258a166f..258a166f 100644
--- a/vendor/github.com/gogits/git-module/repo_diff.go
+++ b/vendor/github.com/gogs/git-module/repo_diff.go
diff --git a/vendor/github.com/gogits/git-module/repo_hook.go b/vendor/github.com/gogs/git-module/repo_hook.go
index 7b49647e..7b49647e 100644
--- a/vendor/github.com/gogits/git-module/repo_hook.go
+++ b/vendor/github.com/gogs/git-module/repo_hook.go
diff --git a/vendor/github.com/gogits/git-module/repo_object.go b/vendor/github.com/gogs/git-module/repo_object.go
index 416ee459..416ee459 100644
--- a/vendor/github.com/gogits/git-module/repo_object.go
+++ b/vendor/github.com/gogs/git-module/repo_object.go
diff --git a/vendor/github.com/gogits/git-module/repo_pull.go b/vendor/github.com/gogs/git-module/repo_pull.go
index 22ccb269..22ccb269 100644
--- a/vendor/github.com/gogits/git-module/repo_pull.go
+++ b/vendor/github.com/gogs/git-module/repo_pull.go
diff --git a/vendor/github.com/gogits/git-module/repo_tag.go b/vendor/github.com/gogs/git-module/repo_tag.go
index 4cef496b..4cef496b 100644
--- a/vendor/github.com/gogits/git-module/repo_tag.go
+++ b/vendor/github.com/gogs/git-module/repo_tag.go
diff --git a/vendor/github.com/gogits/git-module/repo_tree.go b/vendor/github.com/gogs/git-module/repo_tree.go
index baebb251..baebb251 100644
--- a/vendor/github.com/gogits/git-module/repo_tree.go
+++ b/vendor/github.com/gogs/git-module/repo_tree.go
diff --git a/vendor/github.com/gogits/git-module/sha1.go b/vendor/github.com/gogs/git-module/sha1.go
index 7744275d..7744275d 100644
--- a/vendor/github.com/gogits/git-module/sha1.go
+++ b/vendor/github.com/gogs/git-module/sha1.go
diff --git a/vendor/github.com/gogits/git-module/signature.go b/vendor/github.com/gogs/git-module/signature.go
index 95eb1bbe..95eb1bbe 100644
--- a/vendor/github.com/gogits/git-module/signature.go
+++ b/vendor/github.com/gogs/git-module/signature.go
diff --git a/vendor/github.com/gogits/git-module/submodule.go b/vendor/github.com/gogs/git-module/submodule.go
index 57773300..57773300 100644
--- a/vendor/github.com/gogits/git-module/submodule.go
+++ b/vendor/github.com/gogs/git-module/submodule.go
diff --git a/vendor/github.com/gogits/git-module/tag.go b/vendor/github.com/gogs/git-module/tag.go
index f4bf7792..f4bf7792 100644
--- a/vendor/github.com/gogits/git-module/tag.go
+++ b/vendor/github.com/gogs/git-module/tag.go
diff --git a/vendor/github.com/gogits/git-module/tree.go b/vendor/github.com/gogs/git-module/tree.go
index 789d4c9b..789d4c9b 100644
--- a/vendor/github.com/gogits/git-module/tree.go
+++ b/vendor/github.com/gogs/git-module/tree.go
diff --git a/vendor/github.com/gogits/git-module/tree_blob.go b/vendor/github.com/gogs/git-module/tree_blob.go
index e2e70152..e2e70152 100644
--- a/vendor/github.com/gogits/git-module/tree_blob.go
+++ b/vendor/github.com/gogs/git-module/tree_blob.go
diff --git a/vendor/github.com/gogits/git-module/tree_entry.go b/vendor/github.com/gogs/git-module/tree_entry.go
index 54574035..54574035 100644
--- a/vendor/github.com/gogits/git-module/tree_entry.go
+++ b/vendor/github.com/gogs/git-module/tree_entry.go
diff --git a/vendor/github.com/gogits/git-module/utils.go b/vendor/github.com/gogs/git-module/utils.go
index da8c5817..da8c5817 100644
--- a/vendor/github.com/gogits/git-module/utils.go
+++ b/vendor/github.com/gogs/git-module/utils.go
diff --git a/vendor/github.com/gogits/go-gogs-client/LICENSE b/vendor/github.com/gogs/go-gogs-client/LICENSE
index 18b264d6..18b264d6 100644
--- a/vendor/github.com/gogits/go-gogs-client/LICENSE
+++ b/vendor/github.com/gogs/go-gogs-client/LICENSE
diff --git a/vendor/github.com/gogits/go-gogs-client/README.md b/vendor/github.com/gogs/go-gogs-client/README.md
index ae33bc06..ae33bc06 100644
--- a/vendor/github.com/gogits/go-gogs-client/README.md
+++ b/vendor/github.com/gogs/go-gogs-client/README.md
diff --git a/vendor/github.com/gogits/go-gogs-client/admin_org.go b/vendor/github.com/gogs/go-gogs-client/admin_org.go
index be140625..be140625 100644
--- a/vendor/github.com/gogits/go-gogs-client/admin_org.go
+++ b/vendor/github.com/gogs/go-gogs-client/admin_org.go
diff --git a/vendor/github.com/gogits/go-gogs-client/admin_repo.go b/vendor/github.com/gogs/go-gogs-client/admin_repo.go
index 50ba2be4..50ba2be4 100644
--- a/vendor/github.com/gogits/go-gogs-client/admin_repo.go
+++ b/vendor/github.com/gogs/go-gogs-client/admin_repo.go
diff --git a/vendor/github.com/gogits/go-gogs-client/admin_user.go b/vendor/github.com/gogs/go-gogs-client/admin_user.go
index 459031d7..459031d7 100644
--- a/vendor/github.com/gogits/go-gogs-client/admin_user.go
+++ b/vendor/github.com/gogs/go-gogs-client/admin_user.go
diff --git a/vendor/github.com/gogits/go-gogs-client/gogs.go b/vendor/github.com/gogs/go-gogs-client/gogs.go
index 1c81d16f..1c81d16f 100644
--- a/vendor/github.com/gogits/go-gogs-client/gogs.go
+++ b/vendor/github.com/gogs/go-gogs-client/gogs.go
diff --git a/vendor/github.com/gogits/go-gogs-client/issue.go b/vendor/github.com/gogs/go-gogs-client/issue.go
index aa2f0d8e..aa2f0d8e 100644
--- a/vendor/github.com/gogits/go-gogs-client/issue.go
+++ b/vendor/github.com/gogs/go-gogs-client/issue.go
diff --git a/vendor/github.com/gogits/go-gogs-client/issue_comment.go b/vendor/github.com/gogs/go-gogs-client/issue_comment.go
index 246af0d9..246af0d9 100644
--- a/vendor/github.com/gogits/go-gogs-client/issue_comment.go
+++ b/vendor/github.com/gogs/go-gogs-client/issue_comment.go
diff --git a/vendor/github.com/gogits/go-gogs-client/issue_label.go b/vendor/github.com/gogs/go-gogs-client/issue_label.go
index b8ff3009..b8ff3009 100644
--- a/vendor/github.com/gogits/go-gogs-client/issue_label.go
+++ b/vendor/github.com/gogs/go-gogs-client/issue_label.go
diff --git a/vendor/github.com/gogits/go-gogs-client/issue_milestone.go b/vendor/github.com/gogs/go-gogs-client/issue_milestone.go
index ad27a15e..ad27a15e 100644
--- a/vendor/github.com/gogits/go-gogs-client/issue_milestone.go
+++ b/vendor/github.com/gogs/go-gogs-client/issue_milestone.go
diff --git a/vendor/github.com/gogits/go-gogs-client/miscellaneous.go b/vendor/github.com/gogs/go-gogs-client/miscellaneous.go
index fcf362ce..fcf362ce 100644
--- a/vendor/github.com/gogits/go-gogs-client/miscellaneous.go
+++ b/vendor/github.com/gogs/go-gogs-client/miscellaneous.go
diff --git a/vendor/github.com/gogits/go-gogs-client/org.go b/vendor/github.com/gogs/go-gogs-client/org.go
index 08d00882..08d00882 100644
--- a/vendor/github.com/gogits/go-gogs-client/org.go
+++ b/vendor/github.com/gogs/go-gogs-client/org.go
diff --git a/vendor/github.com/gogits/go-gogs-client/org_member.go b/vendor/github.com/gogs/go-gogs-client/org_member.go
index d9cdadab..d9cdadab 100644
--- a/vendor/github.com/gogits/go-gogs-client/org_member.go
+++ b/vendor/github.com/gogs/go-gogs-client/org_member.go
diff --git a/vendor/github.com/gogits/go-gogs-client/org_team.go b/vendor/github.com/gogs/go-gogs-client/org_team.go
index 89f09e3f..89f09e3f 100644
--- a/vendor/github.com/gogits/go-gogs-client/org_team.go
+++ b/vendor/github.com/gogs/go-gogs-client/org_team.go
diff --git a/vendor/github.com/gogits/go-gogs-client/pull.go b/vendor/github.com/gogs/go-gogs-client/pull.go
index be93b269..be93b269 100644
--- a/vendor/github.com/gogits/go-gogs-client/pull.go
+++ b/vendor/github.com/gogs/go-gogs-client/pull.go
diff --git a/vendor/github.com/gogits/go-gogs-client/release.go b/vendor/github.com/gogs/go-gogs-client/release.go
index 69c7f3b9..69c7f3b9 100644
--- a/vendor/github.com/gogits/go-gogs-client/release.go
+++ b/vendor/github.com/gogs/go-gogs-client/release.go
diff --git a/vendor/github.com/gogits/go-gogs-client/repo.go b/vendor/github.com/gogs/go-gogs-client/repo.go
index 48ded475..48ded475 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo.go
+++ b/vendor/github.com/gogs/go-gogs-client/repo.go
diff --git a/vendor/github.com/gogits/go-gogs-client/repo_branch.go b/vendor/github.com/gogs/go-gogs-client/repo_branch.go
index 1e581121..1e581121 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo_branch.go
+++ b/vendor/github.com/gogs/go-gogs-client/repo_branch.go
diff --git a/vendor/github.com/gogits/go-gogs-client/repo_collaborator.go b/vendor/github.com/gogs/go-gogs-client/repo_collaborator.go
index c382bc77..c382bc77 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo_collaborator.go
+++ b/vendor/github.com/gogs/go-gogs-client/repo_collaborator.go
diff --git a/vendor/github.com/gogits/go-gogs-client/repo_file.go b/vendor/github.com/gogs/go-gogs-client/repo_file.go
index c50708b4..c50708b4 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo_file.go
+++ b/vendor/github.com/gogs/go-gogs-client/repo_file.go
diff --git a/vendor/github.com/gogits/go-gogs-client/repo_hook.go b/vendor/github.com/gogs/go-gogs-client/repo_hook.go
index 3d06b9fc..3d06b9fc 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo_hook.go
+++ b/vendor/github.com/gogs/go-gogs-client/repo_hook.go
diff --git a/vendor/github.com/gogits/go-gogs-client/repo_key.go b/vendor/github.com/gogs/go-gogs-client/repo_key.go
index 2201602c..2201602c 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo_key.go
+++ b/vendor/github.com/gogs/go-gogs-client/repo_key.go
diff --git a/vendor/github.com/gogits/go-gogs-client/user.go b/vendor/github.com/gogs/go-gogs-client/user.go
index 3879b1a6..3879b1a6 100644
--- a/vendor/github.com/gogits/go-gogs-client/user.go
+++ b/vendor/github.com/gogs/go-gogs-client/user.go
diff --git a/vendor/github.com/gogits/go-gogs-client/user_app.go b/vendor/github.com/gogs/go-gogs-client/user_app.go
index 965ed6eb..965ed6eb 100644
--- a/vendor/github.com/gogits/go-gogs-client/user_app.go
+++ b/vendor/github.com/gogs/go-gogs-client/user_app.go
diff --git a/vendor/github.com/gogits/go-gogs-client/user_email.go b/vendor/github.com/gogs/go-gogs-client/user_email.go
index 02dd4023..02dd4023 100644
--- a/vendor/github.com/gogits/go-gogs-client/user_email.go
+++ b/vendor/github.com/gogs/go-gogs-client/user_email.go
diff --git a/vendor/github.com/gogits/go-gogs-client/user_follow.go b/vendor/github.com/gogs/go-gogs-client/user_follow.go
index 36cc65d4..36cc65d4 100644
--- a/vendor/github.com/gogits/go-gogs-client/user_follow.go
+++ b/vendor/github.com/gogs/go-gogs-client/user_follow.go
diff --git a/vendor/github.com/gogits/go-gogs-client/user_key.go b/vendor/github.com/gogs/go-gogs-client/user_key.go
index c0278e0e..c0278e0e 100644
--- a/vendor/github.com/gogits/go-gogs-client/user_key.go
+++ b/vendor/github.com/gogs/go-gogs-client/user_key.go
diff --git a/vendor/github.com/gogits/go-gogs-client/utils.go b/vendor/github.com/gogs/go-gogs-client/utils.go
index a4d673e0..a4d673e0 100644
--- a/vendor/github.com/gogits/go-gogs-client/utils.go
+++ b/vendor/github.com/gogs/go-gogs-client/utils.go
diff --git a/vendor/github.com/gogits/go-libravatar/LICENSE b/vendor/github.com/gogs/go-libravatar/LICENSE
index 8c89d4e3..8c89d4e3 100644
--- a/vendor/github.com/gogits/go-libravatar/LICENSE
+++ b/vendor/github.com/gogs/go-libravatar/LICENSE
diff --git a/vendor/github.com/gogits/go-libravatar/Makefile b/vendor/github.com/gogs/go-libravatar/Makefile
index 2a70ddc7..2a70ddc7 100644
--- a/vendor/github.com/gogits/go-libravatar/Makefile
+++ b/vendor/github.com/gogs/go-libravatar/Makefile
diff --git a/vendor/github.com/gogits/go-libravatar/README.md b/vendor/github.com/gogs/go-libravatar/README.md
index c9d72c43..c9d72c43 100644
--- a/vendor/github.com/gogits/go-libravatar/README.md
+++ b/vendor/github.com/gogs/go-libravatar/README.md
diff --git a/vendor/github.com/gogits/go-libravatar/libravatar.go b/vendor/github.com/gogs/go-libravatar/libravatar.go
index 5088d02c..5088d02c 100644
--- a/vendor/github.com/gogits/go-libravatar/libravatar.go
+++ b/vendor/github.com/gogs/go-libravatar/libravatar.go
diff --git a/vendor/github.com/gogits/minwinsvc/LICENSE b/vendor/github.com/gogs/minwinsvc/LICENSE
index fce91b4e..fce91b4e 100644
--- a/vendor/github.com/gogits/minwinsvc/LICENSE
+++ b/vendor/github.com/gogs/minwinsvc/LICENSE
diff --git a/vendor/github.com/gogits/minwinsvc/README.md b/vendor/github.com/gogs/minwinsvc/README.md
index 260dceea..260dceea 100644
--- a/vendor/github.com/gogits/minwinsvc/README.md
+++ b/vendor/github.com/gogs/minwinsvc/README.md
diff --git a/vendor/github.com/gogits/minwinsvc/minwinsvc.go b/vendor/github.com/gogs/minwinsvc/minwinsvc.go
index 057ba7f9..057ba7f9 100644
--- a/vendor/github.com/gogits/minwinsvc/minwinsvc.go
+++ b/vendor/github.com/gogs/minwinsvc/minwinsvc.go
diff --git a/vendor/github.com/gogits/minwinsvc/svc_other.go b/vendor/github.com/gogs/minwinsvc/svc_other.go
index 197d3002..197d3002 100644
--- a/vendor/github.com/gogits/minwinsvc/svc_other.go
+++ b/vendor/github.com/gogs/minwinsvc/svc_other.go
diff --git a/vendor/github.com/gogits/minwinsvc/svc_windows.go b/vendor/github.com/gogs/minwinsvc/svc_windows.go
index e79755fa..e79755fa 100644
--- a/vendor/github.com/gogits/minwinsvc/svc_windows.go
+++ b/vendor/github.com/gogs/minwinsvc/svc_windows.go