From d8c30c549ea38803af71926c738d80ae452c9782 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 1 Nov 2014 17:45:43 +0800 Subject: [PATCH 1/3] . --- conf/wide.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conf/wide.go b/conf/wide.go index bccf642..78f6c04 100644 --- a/conf/wide.go +++ b/conf/wide.go @@ -338,7 +338,11 @@ func UpdateCustomizedConf(username string) { defer fout.Close() - t.Execute(fout, model) + if err := t.Execute(fout, model); nil != err { + glog.Error(err) + + os.Exit(-1) + } } // initWorkspaceDirs initializes the directories of master workspace, users' workspaces. From b2e98180a8325a4626e5986b8c9d3a332cc3bc82 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 1 Nov 2014 17:54:36 +0800 Subject: [PATCH 2/3] . --- conf/wide.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/wide.go b/conf/wide.go index 78f6c04..420f10d 100644 --- a/conf/wide.go +++ b/conf/wide.go @@ -299,7 +299,7 @@ func initCustomizedConfs() { // 1. /static/user/{username}/style.css func UpdateCustomizedConf(username string) { var u *User = nil - for _, user := range Wide.Users { // ... maybe a beauty of the trade-off between design and implementation + for _, user := range Wide.Users { // maybe it is a beauty of the trade-off of the another world between design and implementation if user.Name == username { u = user } From 6806bd7ac2095100d2465e2b70f8170bd6ea09da Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 1 Nov 2014 20:48:26 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4dcaed8..63c05e3 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ A Web-based IDE for Teams using Golang. ## Motivation * **Team** IDE: - * Safe and reliable: the project source code stored on the server in real time, the developer's machine crashes without losing any source code - * Unified environment: server unified development environment configuration, the developer machine without any additional configuration - * Out of the box: 5 minutes to setup a server then open browser to develop, debug - * Version Control: each developer has its own source code repository, easy sync with the trunk + * _Safe and reliable_: the project source code stored on the server in real time, the developer's machine crashes without losing any source code + * _Unified environment_: server unified development environment configuration, the developer machine without any additional configuration + * _Out of the box_: 5 minutes to setup a server then open browser to develop, debug + * _Version Control_: each developer has its own source code repository, easy sync with the trunk * **Web-based** IDE: * Developer needs a browser only * Cross-platform, even on mobile devices