mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	Adding rclone as an option to fdroid deploy
This commit is contained in:
		
							parent
							
								
									eadbf06d48
								
							
						
					
					
						commit
						7aabfbcbf0
					
				
					 3 changed files with 255 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -267,10 +267,20 @@
 | 
			
		|||
# sync_from_local_copy_dir: true
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# To upload the repo to an Amazon S3 bucket using `fdroid server
 | 
			
		||||
# update`.  Warning, this deletes and recreates the whole fdroid/
 | 
			
		||||
# directory each time. This prefers s3cmd, but can also use
 | 
			
		||||
# apache-libcloud.  To customize how s3cmd interacts with the cloud
 | 
			
		||||
# To upload the repo to an Amazon S3 bucket using `fdroid deploy'
 | 
			
		||||
# . rclone, s3cmd and apache libcloud are the available options.
 | 
			
		||||
# If rclone and s3cmd are not installed, apache libcloud is used.
 | 
			
		||||
# To use apache libcloud, add the following options to this file
 | 
			
		||||
# (config.yml)
 | 
			
		||||
#
 | 
			
		||||
# awsbucket: myawsfdroid
 | 
			
		||||
# awsaccesskeyid: SEE0CHAITHEIMAUR2USA
 | 
			
		||||
# awssecretkey: {env: awssecretkey}
 | 
			
		||||
#
 | 
			
		||||
# In case s3cmd is installed and rclone is not installed,
 | 
			
		||||
# s3cmd will be the preferred sync option.
 | 
			
		||||
# It will delete and recreate the whole fdroid directory each time.
 | 
			
		||||
# To customize how s3cmd interacts with the cloud
 | 
			
		||||
# provider, create a 's3cfg' file next to this file (config.yml), and
 | 
			
		||||
# those settings will be used instead of any 'aws' variable below.
 | 
			
		||||
# Secrets can be fetched from environment variables to ensure that
 | 
			
		||||
| 
						 | 
				
			
			@ -279,6 +289,47 @@
 | 
			
		|||
# awsbucket: myawsfdroid
 | 
			
		||||
# awsaccesskeyid: SEE0CHAITHEIMAUR2USA
 | 
			
		||||
# awssecretkey: {env: awssecretkey}
 | 
			
		||||
#
 | 
			
		||||
# In case rclone is installed and s3cmd is not installed,
 | 
			
		||||
# rclone will be the preferred sync option.
 | 
			
		||||
# It will sync the local folders with remote folders without
 | 
			
		||||
# deleting anything in one go.
 | 
			
		||||
# To ensure success, install rclone as per
 | 
			
		||||
# the instructions at https://rclone.org/install/ and also configure for
 | 
			
		||||
# object storage services as detailed at https://rclone.org/s3/#configuration
 | 
			
		||||
# By default rclone uses the configuration file at ~/.config/rclone/rclone.conf
 | 
			
		||||
# To specify a custom configuration file, please add the full path to the
 | 
			
		||||
# configuration file as below
 | 
			
		||||
#
 | 
			
		||||
# path_to_custom_rclone_config: /home/mycomputer/somedir/example.conf
 | 
			
		||||
#
 | 
			
		||||
# This setting will ignore the default rclone config found at
 | 
			
		||||
# ~/.config/rclone/rclone.conf
 | 
			
		||||
#
 | 
			
		||||
# Please note that rclone_config can be assigned a string or list
 | 
			
		||||
#
 | 
			
		||||
# awsbucket: myawsfdroid
 | 
			
		||||
# rclone_config: aws-sample-config
 | 
			
		||||
#
 | 
			
		||||
# or
 | 
			
		||||
#
 | 
			
		||||
# awsbucket: myawsfdroid
 | 
			
		||||
# rclone_config: [aws-sample-config, rclone-supported-service-config]
 | 
			
		||||
#
 | 
			
		||||
# In case both rclone and s3cmd are installed, the preferred sync
 | 
			
		||||
# tool can be specified in this file (config.yml)
 | 
			
		||||
# if s3cmd is preferred, set it as below
 | 
			
		||||
#
 | 
			
		||||
# s3cmd: true
 | 
			
		||||
#
 | 
			
		||||
# if rclone is preferred, set it as below
 | 
			
		||||
#
 | 
			
		||||
# rclone: true
 | 
			
		||||
#
 | 
			
		||||
# Please note that only one can be set to true at any time
 | 
			
		||||
# Also, in the event that both s3cmd and rclone are installed
 | 
			
		||||
# and both are missing from the config.yml file, the preferred
 | 
			
		||||
# tool will be s3cmd.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# If you want to force 'fdroid server' to use a non-standard serverwebroot.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue