mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	tests: fix and test fdroid deploy
				
					
				
			This commit is contained in:
		
							parent
							
								
									1daa1063c5
								
							
						
					
					
						commit
						0a15a9b65b
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								fdroid
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								fdroid
									
										
									
									
									
								
							| 
						 | 
					@ -126,7 +126,7 @@ def main():
 | 
				
			||||||
    # temporary workaround until server.py becomes deploy.py
 | 
					    # temporary workaround until server.py becomes deploy.py
 | 
				
			||||||
    if command == 'deploy':
 | 
					    if command == 'deploy':
 | 
				
			||||||
        command = 'server'
 | 
					        command = 'server'
 | 
				
			||||||
        sys.argv.insert(1, 'update')
 | 
					        sys.argv.insert(2, 'update')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Trick optparse into displaying the right usage when --help is used.
 | 
					    # Trick optparse into displaying the right usage when --help is used.
 | 
				
			||||||
    sys.argv[0] += ' ' + command
 | 
					    sys.argv[0] += ' ' + command
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -610,6 +610,7 @@ $fdroid gpgsign
 | 
				
			||||||
$fdroid lint
 | 
					$fdroid lint
 | 
				
			||||||
$fdroid readmeta
 | 
					$fdroid readmeta
 | 
				
			||||||
$fdroid rewritemeta fake
 | 
					$fdroid rewritemeta fake
 | 
				
			||||||
 | 
					$fdroid deploy
 | 
				
			||||||
$fdroid server update
 | 
					$fdroid server update
 | 
				
			||||||
$fdroid scanner
 | 
					$fdroid scanner
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -643,6 +644,7 @@ $fdroid init
 | 
				
			||||||
$fdroid update --create-metadata --verbose
 | 
					$fdroid update --create-metadata --verbose
 | 
				
			||||||
$fdroid readmeta
 | 
					$fdroid readmeta
 | 
				
			||||||
$fdroid server update --local-copy-dir=/tmp/fdroid
 | 
					$fdroid server update --local-copy-dir=/tmp/fdroid
 | 
				
			||||||
 | 
					$fdroid deploy --local-copy-dir=/tmp/fdroid --verbose
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# now test the errors work
 | 
					# now test the errors work
 | 
				
			||||||
set +e
 | 
					set +e
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue