mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	There is no longer any reason for these to be intertwined. This deliberately avoids touching some files as much as possible because they are super tangled and due to be replaced. Those files are: * fdroidserver/build.py * fdroidserver/update.py # Conflicts: # tests/testcommon.py # Conflicts: # fdroidserver/btlog.py # fdroidserver/import_subcommand.py
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			309 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			309 B
		
	
	
	
		
			Python
		
	
	
	
	
	
#!/usr/bin/env python3
 | 
						|
 | 
						|
import ruamel.yaml
 | 
						|
 | 
						|
from pathlib import Path
 | 
						|
 | 
						|
mirrors_yml = Path('/home/hans/code/fdroid/fdroiddata/config/mirrors.yml')
 | 
						|
with mirrors_yml.open() as fp:
 | 
						|
    mirrors_config = ruamel.yaml.YAML(typ='safe').load(fp)
 | 
						|
 | 
						|
for d in mirrors_config:
 | 
						|
    d['url'] += '/repo'
 | 
						|
    print(d, end=',\n')
 |