26 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
### ubuntu-sdk-ide  
 | 
						|
1. ubuntu touch 用的集成开发环境
 | 
						|
2. 原始仓库: https://launchpad.net/ubuntu-sdk-ide
 | 
						|
3. 原始仓库开源协议: GNU LGPL v3 
 | 
						|
4. 转换后 git 仓库: https://git.kuailexs.com/ubports-cn/ubuntu-sdk-ide_orig
 | 
						|
5. 直接转换后的git仓库因代码里有.git等目录,无法推送到github、gitlib、gitee等免费git服务上
 | 
						|
6. 仓库最后一个提交记录: Remove hard-coded /usr/bin/ prefix from ubuntuconstants. Fixes: https://bugs.launchpad.net/bugs/1647484
 | 
						|
### ubuntu touch 用的开发环境
 | 
						|
```
 | 
						|
# 安装转换工具
 | 
						|
apt-get install bzr-fastimport
 | 
						|
# 下载Bazaar仓库代码
 | 
						|
bzr branch lp:ubuntu-sdk-ide
 | 
						|
# 转成git仓库
 | 
						|
git init
 | 
						|
git init bzr fast-export --plain . | git fast-import
 | 
						|
# 减小仓库大小,去掉提交历史,去掉多余的.git目录
 | 
						|
git checkout --orphan new_branch_name
 | 
						|
rm -rf dist/qt5/qtwebengine/src/3rdparty/.git
 | 
						|
rm -rf dist/qt5/qtxmlpatterns/tests/auto/3rdparty/testsuites/.git
 | 
						|
git add dist/qt5/qtwebengine/src/3rdparty/.git
 | 
						|
git add dist/qt5/qtxmlpatterns/tests/auto/3rdparty/testsuites/.git
 | 
						|
git commit -m '提交描述'
 | 
						|
git push ... new_branch_name:mater
 | 
						|
```
 |