summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Fanninger2016-12-30 10:26:02 +0100
committerThomas Fanninger2016-12-30 10:26:02 +0100
commit55057bf619aa8521c659c711434f898224a082d5 (patch)
tree1b7124206533bffa494b30c05ea9bde95c356d11
parentcaf02f1a112ab0ce81ba691f0026af88ba83d9f1 (diff)
downloadaur-55057bf619aa8521c659c711434f898224a082d5.tar.gz
new git-version
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD6
-rw-r--r--app.ini.patch20
-rw-r--r--app_new.ini22
-rw-r--r--app_old.ini16
5 files changed, 39 insertions, 35 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b35648ba7f92..4e0268558743 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Sep 28 16:48:20 UTC 2016
+# Fri Dec 30 09:25:45 UTC 2016
pkgbase = gogs-git
pkgdesc = Gogs(Go Git Service) is a Self Hosted Git Service in the Go Programming Language. This is the current git version from branch master.
- pkgver = 4186.2bec8a4
- pkgrel = 3
+ pkgver = 4256.8059175a
+ pkgrel = 1
epoch = 1
url = http://gogs.io/
install = gogs.install
@@ -33,9 +33,9 @@ pkgbase = gogs-git
backup = srv/gogs/conf/app.ini
source = gogs.service.patch
source = app.ini.patch
- source = gogs-4186.2bec8a4::git+https://github.com/gogits/gogs.git#branch=master
+ source = gogs-4256.8059175a::git+https://github.com/gogits/gogs.git#branch=master
sha512sums = db36fd44c29de387b066e52a71a61214aa876a27574eb054ec9517a175b5a47db9a7de01be2dd635023a11d5e1224772a66accc4b63b6936f7c58e6314555a66
- sha512sums = 2f9caddd82063bf37ac94c85e4092b74dec9def8d9c830c0f490bb932951590eaa8b65e5ee6300e3890e0f26dcef014561e346df9dc34257a7b969a7f83b698f
+ sha512sums = dd88280d0ae028085d5834e7579477257331287f6892ec9489a6ba07f1c1f9f993a2b23513ea128ddf523b69ead2be9c309833ad22901a6a6ec6180720ee81bd
sha512sums = SKIP
pkgname = gogs-git
diff --git a/PKGBUILD b/PKGBUILD
index 6a6976696341..f924a762b8bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
pkgname=gogs-git
_pkgname=gogs
_branch=master
-pkgver=4186.2bec8a4
-pkgrel=3
+pkgver=4256.8059175a
+pkgrel=1
epoch=1
pkgdesc="Gogs(Go Git Service) is a Self Hosted Git Service in the Go Programming Language. This is the current git version from branch ${_branch}."
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
@@ -33,7 +33,7 @@ source=('gogs.service.patch'
"$_pkgname-$pkgver::git+https://${_gourl}.git#branch=${_branch}")
sha512sums=(db36fd44c29de387b066e52a71a61214aa876a27574eb054ec9517a175b5a47db9a7de01be2dd635023a11d5e1224772a66accc4b63b6936f7c58e6314555a66
- 2f9caddd82063bf37ac94c85e4092b74dec9def8d9c830c0f490bb932951590eaa8b65e5ee6300e3890e0f26dcef014561e346df9dc34257a7b969a7f83b698f
+ dd88280d0ae028085d5834e7579477257331287f6892ec9489a6ba07f1c1f9f993a2b23513ea128ddf523b69ead2be9c309833ad22901a6a6ec6180720ee81bd
'SKIP')
_goroot="/usr/lib/go"
diff --git a/app.ini.patch b/app.ini.patch
index 60890d47e1b2..b0c100fe15a0 100644
--- a/app.ini.patch
+++ b/app.ini.patch
@@ -6,31 +6,19 @@
< ROOT =
---
> ROOT = /srv/gogs/repo
-131c131
+135c135
< STATIC_ROOT_PATH =
---
> STATIC_ROOT_PATH = /usr/share/themes/gogs/default
-133c133
+137c137
< APP_DATA_PATH = data
---
> APP_DATA_PATH = /srv/gogs/data
-156c156
+160c160
< PATH = data/gogs.db
---
> PATH = /srv/gogs/sqlite/gogs.db
-245c245
-< PROVIDER_CONFIG = data/sessions
----
-> PROVIDER_CONFIG = /srv/gogs/sessions
-258c258
-< AVATAR_UPLOAD_PATH = data/avatars
----
-> AVATAR_UPLOAD_PATH = /srv/gogs/data/avatars
-273c273
-< PATH = data/attachments
----
-> PATH = /srv/gogs/data/attachments
-288c288
+292c292
< ROOT_PATH =
---
> ROOT_PATH = /var/log/gogs
diff --git a/app_new.ini b/app_new.ini
index c5a4497e9795..0c800fcd05f4 100644
--- a/app_new.ini
+++ b/app_new.ini
@@ -24,6 +24,8 @@ PULL_REQUEST_QUEUE_LENGTH = 1000
; Preferred Licenses to place at the top of the List
; Name must match file name in conf/license or custom/conf/license
PREFERRED_LICENSES = Apache License 2.0,MIT License
+; Disable ability to interact with repositories by HTTP protocol
+DISABLE_HTTP_GIT = false
[repository.editor]
; List of file extensions that should have line wraps in the CodeMirror editor
@@ -101,6 +103,8 @@ DISABLE_SSH = false
START_SSH_SERVER = false
; Domain name to be exposed in clone URL
SSH_DOMAIN = %(DOMAIN)s
+; Network interface builtin SSH server listens on
+SSH_LISTEN_HOST = 0.0.0.0
; Port number to be exposed in clone URL
SSH_PORT = 22
; Port number builtin SSH server listens on
@@ -242,7 +246,7 @@ PROVIDER = memory
; file: session file path, e.g. `data/sessions`
; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table`
-PROVIDER_CONFIG = /srv/gogs/sessions
+PROVIDER_CONFIG = data/sessions
; Session cookie name
COOKIE_NAME = i_like_gogits
; If you use session in https only, default is false
@@ -255,7 +259,7 @@ GC_INTERVAL_TIME = 86400
SESSION_LIFE_TIME = 86400
[picture]
-AVATAR_UPLOAD_PATH = /srv/gogs/data/avatars
+AVATAR_UPLOAD_PATH = data/avatars
; Chinese users can choose "duoshuo"
; or a custom avatar source, like: http://cn.gravatar.com/avatar/
GRAVATAR_SOURCE = gravatar
@@ -270,7 +274,7 @@ ENABLE_FEDERATED_AVATAR = false
; Whether attachments are enabled. Defaults to `true`
ENABLE = true
; Path for attachments. Defaults to `data/attachments`
-PATH = /srv/gogs/data/attachments
+PATH = data/attachments
; One or more allowed types, e.g. image/jpeg|image/png
ALLOWED_TYPES = image/jpeg|image/png
; Max size of each file. Defaults to 32MB
@@ -334,7 +338,7 @@ HOST =
; Mailer user name and password
USER =
PASSWD =
-; Receivers, can be one or more, e.g. ["1@example.com","2@example.com"]
+; Receivers, can be one or more, e.g. 1@example.com,2@example.com
RECEIVERS =
; For "database" mode only
@@ -398,8 +402,8 @@ DEFAULT_INTERVAL = 8
MAX_RESPONSE_ITEMS = 50
[i18n]
-LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP
-NAMES = English,简体中文,繁體中文(香港),繁體中文(台湾),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски
+LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR,gl-ES
+NAMES = English,简体中文,繁體中文(香港),繁體中文(台湾),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски,Svenska,한국어,Galego
; Used for datetimepicker
[i18n.datelang]
@@ -421,6 +425,10 @@ it-IT = it
fi-FI = fi
tr-TR = tr
cs-CZ = cs-CZ
+sr-SP = sr
+sv-SE = sv
+ko-KR = ko
+gl-ES = gl
; Extension mapping to highlight class
; e.g. .toml=ini
@@ -431,4 +439,4 @@ SHOW_FOOTER_BRANDING = false
; Show version information about Gogs and Go in the footer
SHOW_FOOTER_VERSION = true
; Show time of template execution in the footer
-SHOW_FOOTER_TEMPLATE_LOAD_TIME = true
+SHOW_FOOTER_TEMPLATE_LOAD_TIME = true \ No newline at end of file
diff --git a/app_old.ini b/app_old.ini
index 8110ac851d45..367a09aa58b6 100644
--- a/app_old.ini
+++ b/app_old.ini
@@ -24,6 +24,8 @@ PULL_REQUEST_QUEUE_LENGTH = 1000
; Preferred Licenses to place at the top of the List
; Name must match file name in conf/license or custom/conf/license
PREFERRED_LICENSES = Apache License 2.0,MIT License
+; Disable ability to interact with repositories by HTTP protocol
+DISABLE_HTTP_GIT = false
[repository.editor]
; List of file extensions that should have line wraps in the CodeMirror editor
@@ -101,6 +103,8 @@ DISABLE_SSH = false
START_SSH_SERVER = false
; Domain name to be exposed in clone URL
SSH_DOMAIN = %(DOMAIN)s
+; Network interface builtin SSH server listens on
+SSH_LISTEN_HOST = 0.0.0.0
; Port number to be exposed in clone URL
SSH_PORT = 22
; Port number builtin SSH server listens on
@@ -334,7 +338,7 @@ HOST =
; Mailer user name and password
USER =
PASSWD =
-; Receivers, can be one or more, e.g. ["1@example.com","2@example.com"]
+; Receivers, can be one or more, e.g. 1@example.com,2@example.com
RECEIVERS =
; For "database" mode only
@@ -398,8 +402,8 @@ DEFAULT_INTERVAL = 8
MAX_RESPONSE_ITEMS = 50
[i18n]
-LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP
-NAMES = English,简体中文,繁體中文(香港),繁體中文(台湾),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски
+LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR,gl-ES
+NAMES = English,简体中文,繁體中文(香港),繁體中文(台湾),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски,Svenska,한국어,Galego
; Used for datetimepicker
[i18n.datelang]
@@ -421,6 +425,10 @@ it-IT = it
fi-FI = fi
tr-TR = tr
cs-CZ = cs-CZ
+sr-SP = sr
+sv-SE = sv
+ko-KR = ko
+gl-ES = gl
; Extension mapping to highlight class
; e.g. .toml=ini
@@ -431,4 +439,4 @@ SHOW_FOOTER_BRANDING = false
; Show version information about Gogs and Go in the footer
SHOW_FOOTER_VERSION = true
; Show time of template execution in the footer
-SHOW_FOOTER_TEMPLATE_LOAD_TIME = true
+SHOW_FOOTER_TEMPLATE_LOAD_TIME = true \ No newline at end of file