-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from richmahn/update/gitea-v0.9.97
Update to latest gitea code
- Loading branch information
Showing
955 changed files
with
311,971 additions
and
4,729 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,5 @@ | ||
.git | ||
.git/** | ||
packager | ||
packager/** | ||
scripts | ||
scripts/** | ||
.github/ | ||
.github/** | ||
config.codekit | ||
.dockerignore | ||
*.yml | ||
*.md | ||
.bra.toml | ||
.editorconfig | ||
.gitignore | ||
Dockerfile* | ||
vendor | ||
vendor/** | ||
gogs | ||
* | ||
!gitea | ||
!docker | ||
!public | ||
!templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
workspace: | ||
base: /srv/app | ||
path: src/code.gitea.io/gitea | ||
|
||
pipeline: | ||
test: | ||
image: webhippie/golang:edge | ||
pull: true | ||
environment: | ||
CGO_ENABLED: 1 | ||
TAGS: sqlite bindata | ||
GOPATH: /srv/app | ||
commands: | ||
- apk -U add openssh-client | ||
- make clean | ||
- make generate | ||
- make vet | ||
- make lint | ||
- make test | ||
- make build | ||
when: | ||
event: [ push, tag, pull_request ] | ||
|
||
test-mysql: | ||
image: webhippie/golang:edge | ||
pull: true | ||
environment: | ||
CGO_ENABLED: 1 | ||
TAGS: sqlite bindata | ||
GOPATH: /srv/app | ||
commands: | ||
- make test-mysql | ||
when: | ||
event: [ push ] | ||
|
||
test-pgsql: | ||
image: webhippie/golang:edge | ||
pull: true | ||
environment: | ||
CGO_ENABLED: 1 | ||
TAGS: sqlite bindata | ||
GOPATH: /srv/app | ||
commands: | ||
- make test-pgsql | ||
when: | ||
event: [ push ] | ||
|
||
updater: | ||
image: karalabe/xgo-latest:latest | ||
pull: true | ||
environment: | ||
CGO_ENABLED: 1 | ||
TAGS: sqlite bindata | ||
GOPATH: /srv/app | ||
commands: | ||
- make release | ||
when: | ||
event: [ push, tag ] | ||
branch: [ master, refs/tags/* ] | ||
|
||
coverage: | ||
image: plugins/coverage | ||
server: https://coverage.gitea.io | ||
when: | ||
event: [ push, tag, pull_request ] | ||
|
||
docker: | ||
image: plugins/docker | ||
repo: gitea/gitea | ||
tags: [ '${TAG}' ] | ||
when: | ||
event: [ tag ] | ||
branch: [ refs/tags/* ] | ||
|
||
docker: | ||
image: plugins/docker | ||
repo: gitea/gitea | ||
tags: [ 'latest' ] | ||
when: | ||
event: [ push ] | ||
branch: [ master ] | ||
|
||
release: | ||
image: plugins/s3 | ||
path_style: true | ||
strip_prefix: dist/release/ | ||
source: dist/release/* | ||
target: /gitea/master | ||
when: | ||
event: [ push ] | ||
branch: [ master ] | ||
|
||
release: | ||
image: plugins/s3 | ||
path_style: true | ||
strip_prefix: dist/release/ | ||
source: dist/release/* | ||
target: /gitea/$$TAG | ||
when: | ||
event: [ tag ] | ||
branch: [ refs/tags/* ] | ||
|
||
github: | ||
image: plugins/github-release | ||
files: | ||
- dist/release/* | ||
when: | ||
event: [ tag ] | ||
branch: [ refs/tags/* ] | ||
|
||
gitter: | ||
image: plugins/gitter | ||
|
||
services: | ||
mysql: | ||
image: mysql:5.7 | ||
environment: | ||
- MYSQL_DATABASE=test | ||
- MYSQL_ALLOW_EMPTY_PASSWORD=yes | ||
when: | ||
event: [ push ] | ||
|
||
pgsql: | ||
image: postgres:9.5 | ||
environment: | ||
- POSTGRES_DB=test | ||
when: | ||
event: [ push ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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GlzdC9yZWxlYXNlLwogICAgc291cmNlOiBkaXN0L3JlbGVhc2UvKgogICAgdGFyZ2V0OiAvZ2l0ZWEvbWFzdGVyCiAgICB3aGVuOgogICAgICBldmVudDogWyBwdXNoIF0KICAgICAgYnJhbmNoOiBbIG1hc3RlciBdCgogIHJlbGVhc2U6CiAgICBpbWFnZTogcGx1Z2lucy9zMwogICAgcGF0aF9zdHlsZTogdHJ1ZQogICAgc3RyaXBfcHJlZml4OiBkaXN0L3JlbGVhc2UvCiAgICBzb3VyY2U6IGRpc3QvcmVsZWFzZS8qCiAgICB0YXJnZXQ6IC9naXRlYS8kJFRBRwogICAgd2hlbjoKICAgICAgZXZlbnQ6IFsgdGFnIF0KICAgICAgYnJhbmNoOiBbIHJlZnMvdGFncy8qIF0KCiAgZ2l0aHViOgogICAgaW1hZ2U6IHBsdWdpbnMvZ2l0aHViLXJlbGVhc2UKICAgIGZpbGVzOgogICAgICAtIGRpc3QvcmVsZWFzZS8qCiAgICB3aGVuOgogICAgICBldmVudDogWyB0YWcgXQogICAgICBicmFuY2g6IFsgcmVmcy90YWdzLyogXQoKICBnaXR0ZXI6CiAgICBpbWFnZTogcGx1Z2lucy9naXR0ZXIKCnNlcnZpY2VzOgogIG15c3FsOgogICAgaW1hZ2U6IG15c3FsOjUuNwogICAgZW52aXJvbm1lbnQ6CiAgICAgIC0gTVlTUUxfREFUQUJBU0U9dGVzdAogICAgICAtIE1ZU1FMX0FMTE9XX0VNUFRZX1BBU1NXT1JEPXllcwogICAgd2hlbjoKICAgICAgZXZlbnQ6IFsgcHVzaCBdCgogIHBnc3FsOgogICAgaW1hZ2U6IHBvc3RncmVzOjkuNQogICAgZW52aXJvbm1lbnQ6CiAgICAgIC0gUE9TVEdSRVNfREI9dGVzdAogICAgd2hlbjoKICAgICAgZXZlbnQ6IFsgcHVzaCBdCg.O00lMwJDnAI1CFYbrs1bAmspX4wA5ufdye66vq5lcWw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
1. Please speak English, this is the language everybody of us can speak and write. | ||
2. Please ask questions or config/deploy problems on our Gitter channel: https://gitter.im/go-gitea/gitea | ||
3. Please take a moment to search that an issue doesn't already exist. | ||
4. Please give all relevant information below for bug reports, incomplete details will be handled as an invalid report. | ||
|
||
**You MUST delete the content above including this line before posting, otherwise your pull request will be invalid.** | ||
|
||
- Gitea version (or commit ref): | ||
- Git version: | ||
- Operating system: | ||
- Database (use `[x]`): | ||
- [ ] PostgreSQL | ||
- [ ] MySQL | ||
- [ ] SQLite | ||
- Log gist: | ||
|
||
## Description | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Please check the following: | ||
|
||
1. Make sure you are targeting the `master` branch, pull requests on release branches are only allowed for bug fixes. | ||
2. Read contributing guidelines: https://github.com/go-gitea/gitea/blob/master/CONTRIBUTING.md | ||
3. Describe what your pull request does and which issue you're targeting (if any) | ||
|
||
**You MUST delete the content above including this line before posting, otherwise your pull request will be invalid.** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,9 @@ _testmain.go | |
|
||
coverage.out | ||
|
||
/modules/public/bindata.go | ||
/modules/templates/bindata.go | ||
|
||
*.db | ||
*.log | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.