From a2ff8c3532d145b66374e3b3d60ab07a85a777e5 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Tue, 4 Jun 2024 02:19:59 +0100 Subject: [PATCH 1/2] Storage: TarExtract request --- flipper.proto | 1 + storage.options | 2 ++ storage.proto | 5 +++++ 3 files changed, 8 insertions(+) diff --git a/flipper.proto b/flipper.proto index 81cc8af..a4527e6 100644 --- a/flipper.proto +++ b/flipper.proto @@ -99,6 +99,7 @@ message Main { .PB_Storage.RenameRequest storage_rename_request = 30; .PB_Storage.BackupCreateRequest storage_backup_create_request = 42; .PB_Storage.BackupRestoreRequest storage_backup_restore_request = 43; + .PB_Storage.TarExtractRequest storage_tar_extract_request = 71; .PB_App.StartRequest app_start_request = 16; .PB_App.LockStatusRequest app_lock_status_request = 17; .PB_App.LockStatusResponse app_lock_status_response = 18; diff --git a/storage.options b/storage.options index 1031259..8e99754 100644 --- a/storage.options +++ b/storage.options @@ -13,6 +13,8 @@ PB_Storage.RenameRequest.old_path type:FT_POINTER PB_Storage.RenameRequest.new_path type:FT_POINTER PB_Storage.BackupCreateRequest.archive_path type:FT_POINTER PB_Storage.BackupRestoreRequest.archive_path type:FT_POINTER +PB_Storage.TarExtractRequest.tar_path type:FT_POINTER +PB_Storage.TarExtractRequest.out_path type:FT_POINTER PB_Storage.ListResponse.file max_count:8 diff --git a/storage.proto b/storage.proto index a56a1ff..eb6269b 100644 --- a/storage.proto +++ b/storage.proto @@ -92,3 +92,8 @@ message BackupCreateRequest { message BackupRestoreRequest { string archive_path = 1; } + +message TarExtractRequest { + string tar_path = 1; + string out_path = 2; +} From 7c210222fc943e8a3f58dffdbfcb8f744d1374f4 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Fri, 7 Jun 2024 00:41:22 +0100 Subject: [PATCH 2/2] Bump changelog --- Changelog | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Changelog b/Changelog index 19fa3fa..9d10ef1 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,9 @@ # Changelog +## [0.23] +### Added +- Storage: New TarExtract request to unpack a tar archive to a given directory + ## [0.22] ### Added - StartVirtualDisplayRequest: optional send_input to request input from device