mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-03 22:20:28 +03:00 
			
		
		
		
	update: handle APKs with a blank versionName
Instead of just crashing, first try to use the versionName as written in the build metadata, otherwise just let it be blank. A blank versionName will cause fdroidclient < 1.3 to crash. Blank versionNames are not allowed in the .txt metadata format, only .yml. closes #477 closes #478 closes fdroidclient#1416 closes fdroidclient#1417 closes fdroidclient#1418 fdroiddata!3061
This commit is contained in:
		
							parent
							
								
									9bf9159a77
								
							
						
					
					
						commit
						de35f1b05b
					
				
					 5 changed files with 36 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -25,11 +25,10 @@
 | 
			
		|||
		<marketversion></marketversion>
 | 
			
		||||
		<marketvercode>9999999</marketvercode>
 | 
			
		||||
		<package>
 | 
			
		||||
			<version>0.3-7-gb817ac8</version>
 | 
			
		||||
			<versioncode>9999999</versioncode>
 | 
			
		||||
			<apkname>duplicate.permisssions_9999999.apk</apkname>
 | 
			
		||||
			<hash type="sha256">3d5db5f1ee6fd1d5d9e3c97cc9139b447f538bacd9907f648ba96cfd0848321d</hash>
 | 
			
		||||
			<size>27507</size>
 | 
			
		||||
			<hash type="sha256">8367857fe75f85321ce2c344b34804d0bc193707f6ba03710d025d9030803434</hash>
 | 
			
		||||
			<size>27446</size>
 | 
			
		||||
			<sdkver>18</sdkver>
 | 
			
		||||
			<targetSdkVersion>27</targetSdkVersion>
 | 
			
		||||
			<added>2017-12-22</added>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue