mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	Specify that disabled builds aren't failing builds
This commit is contained in:
		
							parent
							
								
									de1c599127
								
							
						
					
					
						commit
						f4e96cfd7a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -148,7 +148,7 @@ def update_wiki(apps, sortedids, apks):
 | 
			
		|||
                # TODO: Nasty: vercode is a string in the build, and an int elsewhere
 | 
			
		||||
                apklist.append({'versioncode': int(thisbuild['vercode']),
 | 
			
		||||
                                'version': thisbuild['version'],
 | 
			
		||||
                                'buildproblem': thisbuild['disable']
 | 
			
		||||
                                'buildproblem': "The build for this version was manually disabled. Reason: {0}".format(thisbuild['disable']),
 | 
			
		||||
                                })
 | 
			
		||||
            else:
 | 
			
		||||
                builtit = False
 | 
			
		||||
| 
						 | 
				
			
			@ -160,7 +160,7 @@ def update_wiki(apps, sortedids, apks):
 | 
			
		|||
                    buildfails = True
 | 
			
		||||
                    apklist.append({'versioncode': int(thisbuild['vercode']),
 | 
			
		||||
                                    'version': thisbuild['version'],
 | 
			
		||||
                                    'buildproblem': "The build for this version appears to have failed. Check the [[{0}/lastbuild_{1}|build log]].".format(appid, thisbuild['vercode'])
 | 
			
		||||
                                    'buildproblem': "The build for this version appears to have failed. Check the [[{0}/lastbuild_{1}|build log]].".format(appid, thisbuild['vercode']),
 | 
			
		||||
                                    })
 | 
			
		||||
        if app['Current Version Code'] == '0':
 | 
			
		||||
            cantupdate = True
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue