Unknwon лет назад: 8
Родитель
Сommit
bf26808fb3
3 измененных файлов с 19 добавлено и 19 удалено
  1. 11 18
      README.md
  2. 6 1
      README_ZH.md
  3. 2 0
      models/webhook.go

+ 11 - 18
README.md

@@ -7,23 +7,11 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
 
 ##### Current version: 0.7.32 Beta
 
-<table>
-    <tr>
-        <td width="33%"><img src="https://gogs.io/img/screenshots/1.png"></td>
-        <td width="33%"><img src="https://gogs.io/img/screenshots/2.png"></td>
-        <td width="33%"><img src="https://gogs.io/img/screenshots/3.png"></td>
-    </tr>
-    <tr>
-        <td><img src="https://gogs.io/img/screenshots/4.png"></td>
-        <td><img src="https://gogs.io/img/screenshots/5.png"></td>
-        <td><img src="https://gogs.io/img/screenshots/6.png"></td>
-    </tr>
-    <tr>
-        <td><img src="https://gogs.io/img/screenshots/7.png"></td>
-        <td><img src="https://gogs.io/img/screenshots/8.png"></td>
-        <td><img src="https://gogs.io/img/screenshots/9.png"></td>
-    </tr>
-</table>
+| Web | UI  | Preview  |
+|:-------------:|:-------:|:-------:|
+|![Dashboard](https://gogs.io/img/screenshots/1.png)|![Repository](https://gogs.io/img/screenshots/2.png)|![Commits History](https://gogs.io/img/screenshots/3.png)|
+|![Profile](https://gogs.io/img/screenshots/4.png)|![Admin Dashboard](https://gogs.io/img/screenshots/5.png)|![Diff](https://gogs.io/img/screenshots/6.png)|
+|![Issues](https://gogs.io/img/screenshots/7.png)|![Releases](https://gogs.io/img/screenshots/8.png)|![Organization](https://gogs.io/img/screenshots/9.png)|
 
 ### NOTICES
 
@@ -63,7 +51,6 @@ The goal of this project is to make the easiest, fastest, and most painless way
 - Gravatar and custom source
 - Mail service
 - Administration panel
-- CI integration: [Drone](https://github.com/drone/drone)
 - Supports MySQL, PostgreSQL, SQLite3 and [TiDB](https://github.com/pingcap/tidb) (experimental)
 - Multi-language support ([14 languages](https://crowdin.com/project/gogs))
 
@@ -111,6 +98,12 @@ There are 5 ways to install Gogs:
 - [Sandstorm](https://github.com/cem/gogs-sandstorm)
 - [sloppy.io](https://github.com/sloppyio/quickstarters/tree/master/gogs)
 
+## Software and Service Support
+
+- [Drone](https://github.com/drone/drone) (CI)
+- [Fabric8](http://fabric8.io/) (DevOps)
+- [Taiga](https://taiga.io/) (Project Management)
+
 ### Product Support
 
 - [Synology](https://www.synology.com) (Docker)

+ 6 - 1
README_ZH.md

@@ -29,7 +29,6 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
 - 支持 Gravatar 以及自定义源
 - 支持邮件服务
 - 支持后台管理面板
-- 支持 CI 集成:[Drone](https://github.com/drone/drone)
 - 支持 MySQL、PostgreSQL、SQLite3 和 [TiDB](https://github.com/pingcap/tidb)(实验性支持) 数据库
 - 支持多语言本地化([14 种语言]([more](https://crowdin.com/project/gogs)))
 
@@ -69,6 +68,12 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
 - [Sandstorm](https://github.com/cem/gogs-sandstorm)
 - [sloppy.io](https://github.com/sloppyio/quickstarters/tree/master/gogs)
 
+## 软件及服务支持
+
+- [Drone](https://github.com/drone/drone)(CI)
+- [Fabric8](http://fabric8.io/)(DevOps)
+- [Taiga](https://taiga.io/)(项目管理)
+
 ### 产品支持
 
 - [Synology](https://www.synology.com)(Docker)

+ 2 - 0
models/webhook.go

@@ -526,6 +526,8 @@ func (t *HookTask) deliver() {
 		t.Delivered = time.Now().UTC().UnixNano()
 		if t.IsSucceed {
 			log.Trace("Hook delivered: %s", t.UUID)
+		} else {
+			log.Trace("Hook delivery failed: %s", t.UUID)
 		}
 
 		// Update webhook last delivery status.