1bd6f32b43 
					 
					
						
						
							
							src/client/http_client.rs: always convert fingerprint to lowercase  
						
						 
						
						
						
						
					 
					
						2020-02-11 11:42:03 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d1c657276a 
					 
					
						
						
							
							src/client/http_client.rs: remove useless password_env  
						
						 
						
						
						
						
					 
					
						2020-02-11 11:42:03 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						501f4fa220 
					 
					
						
						
							
							depend on proxmox 0.1.13, use new tty helpers from there  
						
						 
						
						
						
						
					 
					
						2020-01-31 08:16:00 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						99d863d770 
					 
					
						
						
							
							src/client/http_client.rs: new password_env option  
						
						 
						
						
						
						
					 
					
						2020-01-27 10:42:37 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5030b7cea4 
					 
					
						
						
							
							src/client/http_client.rs: new prefix options  
						
						 
						
						
						
						
					 
					
						2020-01-27 10:20:55 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5a74756c15 
					 
					
						
						
							
							src/client/http_client.rs: implement fingerprint cache  
						
						 
						
						
						
						
					 
					
						2020-01-25 15:37:34 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d59dbeca1b 
					 
					
						
						
							
							src/client/http_client.rs: new struct HttpClientOptions  
						
						 
						
						
						
						
					 
					
						2020-01-25 12:18:00 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						02141b4d9b 
					 
					
						
						
							
							src/client/pxar_backup_stream.rs: use a channel instead of a pipe  
						
						 
						
						
						
						
					 
					
						2020-01-22 11:37:16 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9ea4bce444 
					 
					
						
						
							
							bump proxmox crate to 0.1.7  
						
						 
						
						... 
						
						
						
						The -sys, -tools and -api crate have now been merged into
the proxmx crate directly. Only macro crates are separate
(but still reexported by the proxmox crate in their
designated locations).
When we need to depend on "parts" of the crate later on
we'll just have to use features.
The reason is mostly that these modules had
inter-dependencies which really make them not independent
enough to be their own crates.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2020-01-21 13:48:37 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d973aa827c 
					 
					
						
						
							
							introduce new runtime tokio helpers  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2020-01-20 13:12:40 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						138910bcd4 
					 
					
						
						
							
							src/client/pxar_backup_stream.rs: use std: 🧵 :Builder to name the thread  
						
						 
						
						... 
						
						
						
						To make debugging easier. 
						
						
					 
					
						2020-01-18 12:21:22 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						625d19621f 
					 
					
						
						
							
							src/client/remote_chunk_reader.rs: use tokio::task::block_in_place to avoid blocking  
						
						 
						
						... 
						
						
						
						Else we block the current executor. 
						
						
					 
					
						2020-01-16 13:55:19 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6fc053ed85 
					 
					
						
						
							
							pxar: encoder: limit number of max entries held at once in memory during archive creation.  
						
						 
						
						... 
						
						
						
						Limit the total number of entries and therefore the approximate memory
consumption instead of doing this on a per directory basis as it was previously.
This makes more sense as it limits not only the width but also the depth of the
directory tree.
Further, instead of hardcoding this value, allow to pass this information as
additional optional parameter 'entires-max'.
By this, creation of the archive with directories containing a large number of
entries is possible.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2020-01-10 13:45:08 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5e1d1bead1 
					 
					
						
						
							
							src/client/backup_reader.rs: make compute_file_csum() public  
						
						 
						
						
						
						
					 
					
						2020-01-05 14:50:54 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3743dee6de 
					 
					
						
						
							
							src/client/http_client.rs: allow access to AuthInfo fields  
						
						 
						
						
						
						
					 
					
						2020-01-05 10:31:19 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3758b398cd 
					 
					
						
						
							
							src/backup/read_chunk.rs: add read_raw_chunk()  
						
						 
						
						... 
						
						
						
						Allow to read chunk data without decoding. 
						
						
					 
					
						2020-01-02 13:29:10 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ca6119551d 
					 
					
						
						
							
							src/client/http_client.rs - start_h2_connection: correctly return error during upgrade  
						
						 
						
						
						
						
					 
					
						2019-12-27 13:41:31 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						25de1c8005 
					 
					
						
						
							
							src/client/backup_repo.rs: impl. new()  
						
						 
						
						
						
						
					 
					
						2019-12-19 08:44:38 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						feaa1ad35f 
					 
					
						
						
							
							replace file_set_contents with replace_file  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-12-18 11:16:04 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dc08934563 
					 
					
						
						
							
							drop Cancellable future in favor of abortable  
						
						 
						
						... 
						
						
						
						futures-0.3 has a futures::future::abortable() function
which does the exact same, returns an Abortable future with
an AbortHandle providing an abort() method.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-12-17 10:52:07 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8a1028e0e7 
					 
					
						
						
							
							update to url/percent-encoding to 2.1  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-12-13 11:57:01 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						db0cb9ce0b 
					 
					
						
						
							
							update a chunk of stuff to the hyper release  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-12-13 11:24:41 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5a0b484bdd 
					 
					
						
						
							
							src/client/task_log.rs: move display_task_log into extra file  
						
						 
						
						
						
						
					 
					
						2019-12-08 11:27:15 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f701d0335e 
					 
					
						
						
							
							src/pxar/sequential_decoder.rs: remove callback from new()  
						
						 
						
						... 
						
						
						
						And use an extra functzion  set_callback() to configure that.
Also rewrite pxar/fuse.rs and implement a generic Session (will get
further cleanups with next patches). 
						
						
					 
					
						2019-11-26 09:56:48 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cad540e969 
					 
					
						
						
							
							api/compat: remove remaining api_schema references  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-11-21 14:53:15 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						255f378a1b 
					 
					
						
						
							
							use const api definitions  
						
						 
						
						
						
						
					 
					
						2019-11-21 13:32:09 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bb19af7302 
					 
					
						
						
							
							src/client/backup_reader.rs: factor out download_blob() helper  
						
						 
						
						
						
						
					 
					
						2019-11-08 13:16:41 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7205050059 
					 
					
						
						
							
							src/client/backup_reader.rs: factor out download_fixed_index() helper  
						
						 
						
						
						
						
					 
					
						2019-11-08 12:51:52 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c3d84a2281 
					 
					
						
						
							
							src/client/backup_reader.rs: factor out download_dynamic_index() helper  
						
						 
						
						
						
						
					 
					
						2019-11-08 12:51:52 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bf6e321744 
					 
					
						
						
							
							change catalog format, use dynamic index to store catalog.  
						
						 
						
						... 
						
						
						
						In order to remove size restriction of a single blob. 
						
						
					 
					
						2019-11-08 10:35:48 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e016f9ff2f 
					 
					
						
						
							
							src/client/backup_writer.rs: rename force_close to cancel  
						
						 
						
						... 
						
						
						
						And do not consume self. 
						
						
					 
					
						2019-11-08 10:34:16 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						62ee2eb405 
					 
					
						
						
							
							avoid some clippy warnings  
						
						 
						
						
						
						
					 
					
						2019-10-26 11:42:05 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						11377a47bb 
					 
					
						
						
							
							avoid some clippy warnings  
						
						 
						
						
						
						
					 
					
						2019-10-25 18:04:37 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						62d123e50a 
					 
					
						
						
							
							pxar: add functionality to pass exclude MatchPatterns on create  
						
						 
						
						... 
						
						
						
						This exposes the option to pass a list of exclude MatchPattern via the
'--exclude' option.
The list is encoded as file '.pxarexclude-cli' in the archives root directory.
If such a file is present in the filesystem, it is skipped and not included in
the archive in order to avoid conflicting information.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-10-23 07:31:49 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f06b820ac0 
					 
					
						
						
							
							src/backup/manifest.rs: add verify_file  
						
						 
						
						
						
						
					 
					
						2019-10-13 10:09:12 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ad6e5a6f51 
					 
					
						
						
							
							rename INDEX_BLOB_NAME to MANIFEST_BLOB_NAME  
						
						 
						
						
						
						
					 
					
						2019-10-12 15:53:27 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						296c50ba3d 
					 
					
						
						
							
							src/client/backup_reader.rs: add download_manifest  
						
						 
						
						... 
						
						
						
						Also add crypt_config as member variable. 
						
						
					 
					
						2019-10-12 15:50:26 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cf9271e27c 
					 
					
						
						
							
							src/client/backup_writer.rs: move BackupClient code into extra file  
						
						 
						
						... 
						
						
						
						And rename it to BackupWriter. 
						
						
					 
					
						2019-10-12 13:53:11 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						913acb41fd 
					 
					
						
						
							
							src/client/backup_reader.rs: add documentation  
						
						 
						
						
						
						
					 
					
						2019-10-12 13:26:47 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9e490a7479 
					 
					
						
						
							
							src/client/backup_reader.rs: split BackupReader code into separate file  
						
						 
						
						
						
						
					 
					
						2019-10-12 12:57:08 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7123ff7d43 
					 
					
						
						
							
							src/backup/data_blob.rs: avoid Arc<CryptConfig>  
						
						 
						
						... 
						
						
						
						use simple reference instead. 
						
						
					 
					
						2019-10-07 11:41:35 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4ee8f53d07 
					 
					
						
						
							
							remove DataChunk file format - use DataBlob instead  
						
						 
						
						
						
						
					 
					
						2019-10-06 10:31:06 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						62e05bb3b3 
					 
					
						
						
							
							src/client/remote_chunk_reader.rs: pass reference to download_chunk  
						
						 
						
						... 
						
						
						
						Make sure we do not move data around. 
						
						
					 
					
						2019-10-05 11:45:20 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ff01c1e393 
					 
					
						
						
							
							src/client/http_client.rs: store raw data/blob size in index.json  
						
						 
						
						
						
						
					 
					
						2019-10-02 10:54:06 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f16aea687a 
					 
					
						
						
							
							src/client/http_client.rs: new helper send_upload_request()  
						
						 
						
						
						
						
					 
					
						2019-09-28 18:22:48 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9e603e254c 
					 
					
						
						
							
							src/backup/fixed_index.rs: do not use offset for checksum  
						
						 
						
						
						
						
					 
					
						2019-09-23 11:30:20 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						fb6026b66b 
					 
					
						
						
							
							backup writer api: verify checksum inside close  
						
						 
						
						
						
						
					 
					
						2019-09-23 10:56:53 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c8c4051aa7 
					 
					
						
						
							
							src/client/http_client.rs - H2Client::upload: fix parameter order  
						
						 
						
						
						
						
					 
					
						2019-09-20 13:19:55 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f011dba0f7 
					 
					
						
						
							
							src/client/http_client.rs: add method parameter to H2 upload  
						
						 
						
						
						
						
					 
					
						2019-09-20 12:40:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						792a70b9e1 
					 
					
						
						
							
							src/client/http_client.rs: add content type parameter to H2 upload/requets_builder  
						
						 
						
						
						
						
					 
					
						2019-09-20 12:26:21 +02:00