]> source.dussan.org Git - gitea.git/commit
Remove GoGet option from repository and handle it with ?go-get=1 instead
authorPeter Smit <peter@smitmail.eu>
Tue, 17 Feb 2015 08:36:17 +0000 (10:36 +0200)
committerPeter Smit <peter@smitmail.eu>
Tue, 17 Feb 2015 08:36:17 +0000 (10:36 +0200)
commite6fc58a74461bd67efb06fc2e5658265ede2edb5
tree95c72c548ad48163c72534a05853eb0faadf007d
parentd85366930c94145c8f1119ff0b6bb95d77c5200e
Remove GoGet option from repository and handle it with ?go-get=1 instead

The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
conf/locale/locale_en-US.ini
models/repo.go
modules/auth/repo_form.go
modules/middleware/repo.go
routers/repo/setting.go
templates/base/head.tmpl
templates/ng/base/head.tmpl
templates/repo/settings/options.tmpl