mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	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.
		
			
				
	
	
		
			43 lines
		
	
	
	
		
			782 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
	
		
			782 B
		
	
	
	
		
			Text
		
	
	
	
	
	
/config.py
 | 
						|
/makebs.config.py
 | 
						|
*~
 | 
						|
*.pyc
 | 
						|
*.class
 | 
						|
*.box
 | 
						|
TAGS
 | 
						|
 | 
						|
# files generated by build
 | 
						|
build/
 | 
						|
dist/
 | 
						|
env/
 | 
						|
fdroidserver.egg-info/
 | 
						|
pylint.parseable
 | 
						|
/.testfiles/
 | 
						|
docs/html/
 | 
						|
 | 
						|
# files generated by tests
 | 
						|
tmp/
 | 
						|
/tests/repo/icons*
 | 
						|
/tests/repo/latestapps.dat
 | 
						|
 | 
						|
# files used in manual testing
 | 
						|
/config.py
 | 
						|
/tmp/
 | 
						|
/logs/
 | 
						|
/metadata/
 | 
						|
makebuildserver.config.py
 | 
						|
/tests/.fdroid.keypass.txt
 | 
						|
/tests/.fdroid.keystorepass.txt
 | 
						|
/tests/fdroid-icon.png
 | 
						|
/tests/OBBMainOldVersion.apk
 | 
						|
/tests/OBBMainPatchCurrent.apk
 | 
						|
/tests/OBBMainTwoVersions.apk
 | 
						|
/tests/archive/categories.txt
 | 
						|
/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/
 |