mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	add index V1 format, a direct translation of internal dict
Python encode/decode libs work directly with dicts, so the internal dict can just be passed directly to any of these libs (pyyaml, pyjson, msgpack, simplejson, etc). This still generates the exact same index.xml as before. This converts the internal format for the repo timestamp to a datetime instance, which can be easily converted to UNIX time in seconds for XML and UNIX time in milliseconds for the new index formats. UNIX time in milliseconds is directly serialized into a java.util.Date instance by Jackson.
This commit is contained in:
		
							parent
							
								
									b3a5db52f7
								
							
						
					
					
						commit
						c9aa26d89e
					
				
					 5 changed files with 196 additions and 77 deletions
				
			
		
							
								
								
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -36,6 +36,8 @@ makebuildserver.config.py
 | 
			
		|||
/tests/archive/icons*
 | 
			
		||||
/tests/archive/index.jar
 | 
			
		||||
/tests/archive/index.xml
 | 
			
		||||
/tests/archive/index-v1.jar
 | 
			
		||||
/tests/repo/index.jar
 | 
			
		||||
/tests/repo/index-v1.jar
 | 
			
		||||
/tests/urzip-πÇÇπÇÇ现代汉语通用字-български-عربي1234.apk
 | 
			
		||||
/unsigned/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue