update/sw-patch/cgcs-patch/cgcs_patch
Jessica Castelino 00575b6dc2 Patch extraction and validation enhancements
This commit updates patch extraction process to read and untar
specific files. Additionally, it updates the process used to
extract sw_version from deeply nested tar archives of a patch
file.

Test Plan:
[PASS] Ran below command in DC env that invokes this code path
sw-patch --os-region-name SystemController upload <patch>.patch
[PASS] Uploaded an in-service and RR patch

Story: 2010993
Task: 49289
Change-Id: I7ada7b55f458c50ed3bf51e66841cc49592f2f71
Signed-off-by: Jessica Castelino <jessica.castelino@windriver.com>
2023-12-19 01:42:52 +00:00
..
api Debian: Patch current implementation 2022-05-17 19:34:16 +00:00
authapi Change access control in patching API 2022-10-13 16:30:11 -03:00
templates Debian: Patch current implementation 2022-05-17 19:34:16 +00:00
tests Patch extraction and validation enhancements 2023-12-19 01:42:52 +00:00
__init__.py Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
app.py Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
base.py Debian: Minor sw-patch cleanup 2022-07-13 17:54:33 +00:00
certificates.py Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
config.py Minor sw-patch tox cleanup 2022-09-12 16:28:43 +00:00
constants.py Sync patch restart scripts to other hosts 2022-12-16 03:52:32 +00:00
exceptions.py Patch Remove 2022-05-10 19:39:32 +00:00
messages.py Debian: Patch current implementation 2022-05-17 19:34:16 +00:00
ostree_utils.py Add retry logic for mount 2023-11-29 21:09:06 +00:00
patch_agent.py Fix system raising alarm due to outdated file in memory 2023-09-29 09:25:48 -03:00
patch_client.py Debian: Add compatability for older patches 2022-12-11 15:19:02 +00:00
patch_controller.py Updates after the mgmt network reconfiguration 2023-12-12 20:27:51 +00:00
patch_functions.py Patch extraction and validation enhancements 2023-12-19 01:42:52 +00:00
patch_signing.py Cleanup tox targets for debian patching 2022-04-28 21:35:30 +00:00
patch_verify.py Debian: Fix dev certificate handling for patching 2022-04-05 19:14:57 +00:00
utils.py Minor sw-patch tox cleanup 2022-09-12 16:28:43 +00:00