mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-03 22:20:28 +03:00 
			
		
		
		
	Don't copy per version anti features to all versions
make_v0() modified the apps data structure to copy an anti feature for a specific version to all versions resulting in index-v1 and -v2 to contain wrong anti feature annotations. This patch fixes this and adds a test that the data structure is no longer modified. The bug shadowed bugs in the AF implementation of -v1 and -v2 resulting in not coping the version specific data. This is corrected as well. This is also tested now. For -v2 the AF dict is now sorted to make the result reproducible. Finally The NoSourceSince AF was added as a per version and overall AF in -v1 and is now only applied as an overall AF and the test is updated accordingly.
This commit is contained in:
		
							parent
							
								
									484f289919
								
							
						
					
					
						commit
						889b8cb372
					
				
					 10 changed files with 63 additions and 67 deletions
				
			
		| 
						 | 
				
			
			@ -318,7 +318,7 @@ APK is called F-Droid Privileged Extension.</desc>
 | 
			
		|||
		<tracker>https://github.com/miguelvps/PoliteDroid/issues</tracker>
 | 
			
		||||
		<marketversion>1.5</marketversion>
 | 
			
		||||
		<marketvercode>6</marketvercode>
 | 
			
		||||
		<antifeatures>NoSourceSince</antifeatures>
 | 
			
		||||
		<antifeatures>NoSourceSince,NonFreeNet</antifeatures>
 | 
			
		||||
		<package>
 | 
			
		||||
			<version>1.5</version>
 | 
			
		||||
			<versioncode>6</versioncode>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue