mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	#1544 Creating new repository fails occasionally
This commit is contained in:
		
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							@@ -72,15 +72,8 @@ The goal of this project is to make the easiest, fastest, and most painless way
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Browser Support
 | 
					## Browser Support
 | 
				
			||||||
 | 
					
 | 
				
			||||||
According to [Semantic UI](https://github.com/Semantic-Org/Semantic-UI):
 | 
					- 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.
 | 
				
			||||||
- 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.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Installation
 | 
					## Installation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										11
									
								
								README_ZH.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README_ZH.md
									
									
									
									
									
								
							@@ -39,15 +39,8 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## 浏览器支持
 | 
					## 浏览器支持
 | 
				
			||||||
 | 
					
 | 
				
			||||||
根据 [Semantic UI](https://github.com/Semantic-Org/Semantic-UI) 的要求:
 | 
					- 请根据 [Semantic UI](https://github.com/Semantic-Org/Semantic-UI#browser-support) 查看具体支持的浏览器版本。
 | 
				
			||||||
 | 
					- 官方支持的最小 UI 尺寸为 **1024*768**,UI 不一定会在更小尺寸的设备上被破坏,但我们无法保证且不会修复。
 | 
				
			||||||
- 最新两版的 FF、Chrome、IE 10+ 和 Safari Mac
 | 
					 | 
				
			||||||
- IE 10+
 | 
					 | 
				
			||||||
- Android 4
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
尽管一些组件可以在 IE 9 下使用,但该版本的浏览器被没有被正式支持。
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
官方支持的最小 UI 尺寸为 **1024*768**,UI 不一定会在更小尺寸的设备上被破坏,但我们无法保证且不会修复。
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
## 安装部署
 | 
					## 安装部署
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -600,7 +600,7 @@ func initRepository(e Engine, repoPath string, u *User, repo *Repository, opts C
 | 
				
			|||||||
		return err
 | 
							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.
 | 
						// Initialize repository according to user's choice.
 | 
				
			||||||
	if opts.AutoInit {
 | 
						if opts.AutoInit {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user