Browse Source

prepare release

pull/2166/head
Unknwon 9 years ago
parent
commit
351dfc95a9
  1. 24
      .gopmfile
  2. 2
      README.md
  3. 4
      docker/build.sh
  4. 2
      gogs.go
  5. 7
      public/css/gogs.css
  6. 4
      public/less/_base.less
  7. 2
      public/less/_repository.less
  8. 2
      templates/.VERSION
  9. 2
      templates/repo/diff_box.tmpl

24
.gopmfile

@ -3,7 +3,7 @@ path = github.com/gogits/gogs
[deps] [deps]
github.com/bradfitz/gomemcache = commit:72a68649ba github.com/bradfitz/gomemcache = commit:72a68649ba
github.com/codegangsta/cli = commit:0302d39 github.com/codegangsta/cli = commit:b5232bb
github.com/go-macaron/binding = commit:2502aaf github.com/go-macaron/binding = commit:2502aaf
github.com/go-macaron/cache = commit:5617353 github.com/go-macaron/cache = commit:5617353
github.com/go-macaron/captcha = commit:8aa5919 github.com/go-macaron/captcha = commit:8aa5919
@ -17,12 +17,12 @@ github.com/go-sql-driver/mysql = commit:d512f20
github.com/go-xorm/core = commit:acb6f00 github.com/go-xorm/core = commit:acb6f00
github.com/go-xorm/xorm = commit:a8fba4d github.com/go-xorm/xorm = commit:a8fba4d
github.com/gogits/chardet = commit:2404f77725 github.com/gogits/chardet = commit:2404f77725
github.com/gogits/git-shell = github.com/gogits/git-shell = commit:1ffc4bc
github.com/gogits/go-gogs-client = commit:4b541fa github.com/gogits/go-gogs-client = commit:4b541fa
github.com/issue9/identicon = commit:f8c0d2c github.com/issue9/identicon = commit:f8c0d2c
github.com/kardianos/minwinsvc = github.com/kardianos/minwinsvc = commit:cad6b2b
github.com/klauspost/compress = commit:bcd0709 github.com/klauspost/compress = commit:42eb574
github.com/klauspost/cpuid = commit:8d9fe96 github.com/klauspost/cpuid = commit:eebb3ea
github.com/klauspost/crc32 = commit:0aff1ea github.com/klauspost/crc32 = commit:0aff1ea
github.com/lib/pq = commit:11fc39a github.com/lib/pq = commit:11fc39a
github.com/mattn/go-sqlite3 = commit:5651a9d github.com/mattn/go-sqlite3 = commit:5651a9d
@ -30,19 +30,19 @@ github.com/mcuadros/go-version = commit:d52711f
github.com/microcosm-cc/bluemonday = commit:4ac6f27 github.com/microcosm-cc/bluemonday = commit:4ac6f27
github.com/msteinert/pam = commit:02ccfbf github.com/msteinert/pam = commit:02ccfbf
github.com/nfnt/resize = commit:dc93e1b98c github.com/nfnt/resize = commit:dc93e1b98c
github.com/russross/blackfriday = commit:300106c github.com/russross/blackfriday = commit:d18b67a
github.com/shurcooL/sanitized_anchor_name = commit:10ef21a github.com/shurcooL/sanitized_anchor_name = commit:10ef21a
github.com/Unknwon/cae = commit:7f5e046 github.com/Unknwon/cae = commit:7f5e046
github.com/Unknwon/com = commit:28b053d github.com/Unknwon/com = commit:28b053d
github.com/Unknwon/i18n = commit:3b48b66 github.com/Unknwon/i18n = commit:3b48b66
github.com/Unknwon/paginater = commit:7748a72 github.com/Unknwon/paginater = commit:7748a72
golang.org/x/net = golang.org/x/net = commit:d75b190
golang.org/x/text = golang.org/x/text = commit:458f474
golang.org/x/crypto = golang.org/x/crypto = commit:7b85b09
gopkg.in/asn1-ber.v1 = commit:4e86f43 gopkg.in/asn1-ber.v1 = commit:4e86f43
gopkg.in/gomail.v2 = commit:df6fc79 gopkg.in/gomail.v2 = commit:fbb71dd
gopkg.in/ini.v1 = commit:65f8c74 gopkg.in/ini.v1 = commit:a4e5487
gopkg.in/ldap.v2 = e9a325d gopkg.in/ldap.v2 = commit:e9a325d
gopkg.in/macaron.v1 = commit:1c6dd87 gopkg.in/macaron.v1 = commit:1c6dd87
gopkg.in/redis.v2 = commit:e617904962 gopkg.in/redis.v2 = commit:e617904962

2
README.md

@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true) ![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
##### Current version: 0.7.44 ##### Current version: 0.8.0
| Web | UI | Preview | | Web | UI | Preview |
|:-------------:|:-------:|:-------:| |:-------------:|:-------:|:-------:|

4
docker/build.sh

@ -13,8 +13,8 @@ apk -U --no-progress add linux-pam-dev go@community gcc musl-dev
mkdir -p ${GOPATH}/src/github.com/gogits/ mkdir -p ${GOPATH}/src/github.com/gogits/
ln -s /app/gogs/ ${GOPATH}/src/github.com/gogits/gogs ln -s /app/gogs/ ${GOPATH}/src/github.com/gogits/gogs
cd ${GOPATH}/src/github.com/gogits/gogs cd ${GOPATH}/src/github.com/gogits/gogs
go get -v -tags "sqlite redis memcache cert pam" go get -v -tags "sqlite cert pam"
go build -tags "sqlite redis memcache cert pam" go build -tags "sqlite cert pam"
# Cleanup GOPATH # Cleanup GOPATH
rm -r $GOPATH rm -r $GOPATH

2
gogs.go

@ -18,7 +18,7 @@ import (
"github.com/gogits/gogs/modules/setting" "github.com/gogits/gogs/modules/setting"
) )
const APP_VER = "0.7.44.1212" const APP_VER = "0.8.0.1212"
func init() { func init() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())

7
public/css/gogs.css

@ -896,10 +896,10 @@ pre.raw {
border-color: #F0C36D; border-color: #F0C36D;
} }
.ui .info.segment { .ui .info.segment {
border-color: #85c5e5; border: 1px solid #c5d5dd;
} }
.ui .info.segment.top { .ui .info.segment.top {
background-color: #d9edf7 !important; background-color: #e6f1f6 !important;
} }
.ui .info.segment.top h3, .ui .info.segment.top h3,
.ui .info.segment.top h4 { .ui .info.segment.top h4 {
@ -2310,7 +2310,8 @@ footer .container .links > *:first-child {
color: #888; color: #888;
} }
.repository .diff-file-box .header { .repository .diff-file-box .header {
border-bottom: 1px solid #d4d4d5!important; border-bottom: 1px solid #d8d8d8;
background-color: #f7f7f7;
} }
.repository .diff-file-box .file-body.file-code .lines-num { .repository .diff-file-box .file-body.file-code .lines-num {
text-align: right; text-align: right;

4
public/less/_base.less

@ -197,9 +197,9 @@ pre {
} }
.info { .info {
&.segment { &.segment {
border-color: #85c5e5; border: 1px solid #c5d5dd;
&.top { &.top {
background-color: #d9edf7 !important; background-color: #e6f1f6 !important;
h3, h4 { h3, h4 {
margin-top: 0; margin-top: 0;
} }

2
public/less/_repository.less

@ -661,7 +661,7 @@
} }
.diff-file-box { .diff-file-box {
.header { .header {
border-bottom: 1px solid #d4d4d5!important; background-color: #f7f7f7;
} }
.file-body.file-code { .file-body.file-code {
.lines-num { .lines-num {

2
templates/.VERSION

@ -1 +1 @@
0.7.44.1212 0.8.0.1212

2
templates/repo/diff_box.tmpl

@ -6,7 +6,7 @@
<i class="fa fa-retweet"></i> <i class="fa fa-retweet"></i>
{{.i18n.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion | Str2html}} {{.i18n.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion | Str2html}}
<div class="ui right"> <div class="ui right">
<a class="ui tiny basic black toggle button" data-target="#diff-files">{{.i18n.Tr "repo.diff.show_diff_stats"}}</a> <a class="ui tiny basic toggle button" data-target="#diff-files">{{.i18n.Tr "repo.diff.show_diff_stats"}}</a>
</div> </div>
</div> </div>
<ol class="detail-files hide" id="diff-files"> <ol class="detail-files hide" id="diff-files">

Loading…
Cancel
Save