mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	SOURCE_DATE_EPOCH from app's git otherwise fdroiddata metadata file
https://reproducible-builds.org/docs/source-date-epoch
This commit is contained in:
		
							parent
							
								
									0b6e304922
								
							
						
					
					
						commit
						20b36f1970
					
				
					 5 changed files with 84 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -350,6 +350,8 @@ class ScannerTest(unittest.TestCase):
 | 
			
		|||
                with mock.patch(
 | 
			
		||||
                    'fdroidserver.common.get_apk_id',
 | 
			
		||||
                    return_value=(app.id, build.versionCode, build.versionName),
 | 
			
		||||
                ), mock.patch(
 | 
			
		||||
                    'fdroidserver.common.get_source_date_epoch', lambda f: '1234567890'
 | 
			
		||||
                ):
 | 
			
		||||
                    with mock.patch(
 | 
			
		||||
                        'fdroidserver.common.is_debuggable_or_testOnly',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue