Skip to content

Commit

Permalink
Ignore repository with issue disabled or use external tracker in dash…
Browse files Browse the repository at this point in the history
…board issues
  • Loading branch information
unknwon committed Aug 5, 2016
1 parent 50422f1 commit cf6d321
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@ NOW = $(shell date -u '+%Y%m%d%I%M%S')

.IGNORE: public/css/gogs.css

build: $(GENERATED)
go install $(BUILD_FLAGS) -ldflags '$(LDFLAGS)' -tags '$(TAGS)'
cp '$(GOPATH)/bin/gogs' .

# FIXME: find a way to ignore /vendor/ and /data/ directories.
govet:
go tool vet -composites=false -methods=false -structtags=false .

build-dev: $(GENERATED) govet
build: $(GENERATED) govet
go install $(BUILD_FLAGS) -ldflags '$(LDFLAGS)' -tags '$(TAGS)'
cp '$(GOPATH)/bin/gogs' .

build-dev: $(GENERATED)
go install $(BUILD_FLAGS) -tags '$(TAGS)'
cp '$(GOPATH)/bin/gogs' .

build-dev-race: $(GENERATED) govet
build-dev-race: $(GENERATED)
go install $(BUILD_FLAGS) -race -tags '$(TAGS)'
cp '$(GOPATH)/bin/gogs' .

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

##### Current tip version: 0.9.62 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions)
##### Current tip version: 0.9.63 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions)

| Web | UI | Preview |
|:-------------:|:-------:|:-------:|
Expand Down
2 changes: 1 addition & 1 deletion gogs.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)

const APP_VER = "0.9.62.0805"
const APP_VER = "0.9.63.0805"

func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
Expand Down
3 changes: 2 additions & 1 deletion routers/user/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ func Issues(ctx *context.Context) {
showRepos := make([]*models.Repository, 0, len(repos))
for _, repo := range repos {
if (isPullList && repo.NumPulls == 0) ||
(!isPullList && repo.NumIssues == 0) {
(!isPullList &&
(!repo.EnableIssues || repo.EnableExternalTracker || repo.NumIssues == 0)) {
continue
}

Expand Down
2 changes: 1 addition & 1 deletion templates/.VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.62.0805
0.9.63.0805

0 comments on commit cf6d321

Please sign in to comment.