0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-21 21:41:10 +01:00

#1544 Creating new repository fails occasionally

This commit is contained in:
Unknwon 2015-08-29 16:07:02 +08:00
parent 9ef063cbb0
commit a3683ca5d6
3 changed files with 5 additions and 19 deletions

View file

@ -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

View 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 不一定会在更小尺寸的设备上被破坏,但我们无法保证且不会修复。
## 安装部署

View 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 {