From 2ae8bca9f1047b809e3322251131027e41adcc1c Mon Sep 17 00:00:00 2001 From: Jake Scott Date: Sat, 8 Feb 2014 18:27:47 +1300 Subject: [PATCH 1/4] Fix documentation comment --- pkg/handler/admin.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/handler/admin.go b/pkg/handler/admin.go index be3b67a75..1d553d988 100644 --- a/pkg/handler/admin.go +++ b/pkg/handler/admin.go @@ -140,7 +140,7 @@ func AdminUserDelete(w http.ResponseWriter, r *http.Request, u *User) error { return nil } -// Display a list of ALL users in the system +// Return an HTML form for the User to update the site settings. func AdminSettings(w http.ResponseWriter, r *http.Request, u *User) error { // get settings from database settings := database.SettingsMust() @@ -153,7 +153,6 @@ func AdminSettings(w http.ResponseWriter, r *http.Request, u *User) error { return RenderTemplate(w, "admin_settings.html", &data) } -// Display a list of ALL users in the system func AdminSettingsUpdate(w http.ResponseWriter, r *http.Request, u *User) error { // get settings from database settings := database.SettingsMust() From 9904f921f51405bd3f9d242cf88e4ada4034ebe1 Mon Sep 17 00:00:00 2001 From: yosssi Date: Sat, 8 Feb 2014 16:08:54 +0900 Subject: [PATCH 2/4] Fixed the badge markdown's wrong path. --- pkg/template/pages/repo_badges.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/template/pages/repo_badges.html b/pkg/template/pages/repo_badges.html index 10d8a2acc..515e78417 100644 --- a/pkg/template/pages/repo_badges.html +++ b/pkg/template/pages/repo_badges.html @@ -34,7 +34,7 @@
- +
@@ -47,4 +47,4 @@ {{ end }} {{ define "script" }} -{{ end }} \ No newline at end of file +{{ end }} From 941cbd12033b143e3409dbf1b5ac81b7b8bf6fd0 Mon Sep 17 00:00:00 2001 From: yosssi Date: Sun, 9 Feb 2014 01:17:47 +0900 Subject: [PATCH 3/4] Fixed "service" to "services" in .drone.yml. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2cce6aedd..899425a74 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ env: script: - go build - go test -v -service: +services: - redis notify: email: @@ -147,7 +147,7 @@ if you are using a custom Docker image. Drone can launch database containers for your build: ``` -service: +services: - cassandra - couchdb - elasticsearch From c567eb0926812a5153ebddd2e81650a44df08548 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Sat, 8 Feb 2014 11:54:59 -0800 Subject: [PATCH 4/4] Update README.md Installation needs permission --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 899425a74..be0c1223d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ using the following commands: ```sh $ wget http://downloads.drone.io/latest/drone.deb -$ dpkg -i drone.deb +$ sudo dpkg -i drone.deb $ sudo start drone ```