update/cgcs-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 Add flake8-bugbear and address warnings 2020-01-16 13:24:24 -05:00
authapi Fix zuul fail due to sysinv method signature change 2022-08-03 22:15:57 +00:00
templates cgcs-patch: fix permissions 2019-06-19 12:26:16 -07:00
tests Migrate patch-agent to use DNF for swmgmt 2020-01-13 09:20:06 -05:00
__init__.py Resolve bashate and pep8 warnings 2018-08-08 19:36:58 -05:00
app.py Add pylint support 2018-08-24 09:19:44 -05:00
base.py sw-patch: remove explicit bind on outgoing socket. 2021-09-08 10:07:08 -04:00
certificates.py Resolve bashate and pep8 warnings 2018-08-08 19:36:58 -05:00
config.py Convert sw-patch to use python3 2021-07-28 09:13:22 -04:00
constants.py Update bindep to pass zuul on ubuntu workers 2021-12-15 15:32:45 -05:00
exceptions.py Introduce patch apply/remove semantic support 2019-10-02 16:59:53 -04:00
messages.py Clean up pylint W1201 logging-not-lazy in cgcs-patch 2019-12-23 14:51:20 -05:00
patch_agent.py Re-enable important py3k checks for update 2021-10-26 20:18:00 +00:00
patch_client.py Convert sw-patch to use python3 2021-07-28 09:13:22 -04:00
patch_controller.py Re-enable important py3k checks for update 2021-10-26 20:18:00 +00:00
patch_functions.py Patch extraction and validation enhancements 2023-12-19 01:42:52 +00:00
patch_signing.py Convert sw-patch to use python3 2021-07-28 09:13:22 -04:00
patch_verify.py Convert sw-patch to use python3 2021-07-28 09:13:22 -04:00
utils.py Add test coverage for cgcs-patch/utils.py 2019-06-28 00:46:14 -04:00