]> source.dussan.org Git - gitea.git/commitdiff
#1544 Creating new repository fails occasionally
authorUnknwon <u@gogs.io>
Sat, 29 Aug 2015 08:07:02 +0000 (16:07 +0800)
committerUnknwon <u@gogs.io>
Sat, 29 Aug 2015 08:07:02 +0000 (16:07 +0800)
README.md
README_ZH.md
models/repo.go

index f7c31b78fc79731101c8505bc31e25492f53fdc9..4ee0cc5f1e9ac14c707f0e7e74b2961d8b379bd6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -72,15 +72,8 @@ The goal of this project is to make the easiest, fastest, and most painless way
 
 ## Browser Support
 
-According to [Semantic UI](https://github.com/Semantic-Org/Semantic-UI):
-
-- Last 2 Versions FF, Chrome, IE 10+, Safari Mac
-- IE 10+
-- Android 4
-
-Some components will work in IE 9, but the browser is not officially supported.
-
-The official support minimal size  is **1024*768**, UI may still looks right in smaller size but no promises and fixes.
+- Please see [Semantic UI](https://github.com/Semantic-Org/Semantic-UI#browser-support) for specific versions of supported browsers.
+- The official support minimal size  is **1024*768**, UI may still looks right in smaller size but no promises and fixes.
 
 ## Installation
 
index a5241c556e4686a536be4e5281617748d77403e9..940448643380989a46ea7943db5a1279aab6d8c5 100644 (file)
@@ -39,15 +39,8 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
 
 ## 浏览器支持
 
-根据 [Semantic UI](https://github.com/Semantic-Org/Semantic-UI) 的要求:
-
-- 最新两版的 FF、Chrome、IE 10+ 和 Safari Mac
-- IE 10+
-- Android 4
-
-尽管一些组件可以在 IE 9 下使用,但该版本的浏览器被没有被正式支持。
-
-官方支持的最小 UI 尺寸为 **1024*768**,UI 不一定会在更小尺寸的设备上被破坏,但我们无法保证且不会修复。
+- 请根据 [Semantic UI](https://github.com/Semantic-Org/Semantic-UI#browser-support) 查看具体支持的浏览器版本。
+- 官方支持的最小 UI 尺寸为 **1024*768**,UI 不一定会在更小尺寸的设备上被破坏,但我们无法保证且不会修复。
 
 ## 安装部署
 
index 9934ec5ab07e1e94d907b785c19aedd0ba3c7b09..3aa7b5e47b06cba02d671b91ee8eaf9d92aa179b 100644 (file)
@@ -600,7 +600,7 @@ func initRepository(e Engine, repoPath string, u *User, repo *Repository, opts C
                return err
        }
 
-       tmpDir := filepath.Join(os.TempDir(), com.ToStr(time.Now().Nanosecond()))
+       tmpDir := filepath.Join(os.TempDir(), "gogs", repo.Name, com.ToStr(time.Now().Nanosecond()))
 
        // Initialize repository according to user's choice.
        if opts.AutoInit {