Merge pull request 'v5.0.0' (#209) from v5.0.0-dev into main
EIVE/-/pipeline/head There was a failure building this commit Details

Reviewed-on: #209
This commit is contained in:
Robin Müller 2023-06-22 17:33:52 +02:00
commit c9f4a8070d
3 changed files with 13 additions and 4 deletions

View File

@ -10,6 +10,12 @@ list yields a list of all related PRs for each release.
# [unreleased]
# [v5.0.0]
## Changed
- Force flag for copy helper.
# [v4.1.0] 2023-06-14
## Added

View File

@ -1,11 +1,11 @@
__version__ = "4.1.0"
__version__ = "5.0.0"
import logging
from pathlib import Path
SW_NAME = "eive-tmtc"
VERSION_MAJOR = 4
VERSION_MINOR = 1
VERSION_MAJOR = 5
VERSION_MINOR = 0
VERSION_REVISION = 0
EIVE_TMTC_ROOT = Path(__file__).parent

View File

@ -406,7 +406,10 @@ def pack_core_commands( # noqa C901
cp_recursive = int(input("Copy recursively (0/1) ?: "))
if cp_recursive not in [0, 1]:
raise ValueError("Invalid value, only 0 or 1 allowed")
user_data = bytearray([cp_recursive])
cp_force = int(input("Copy with force option(0/1) ?: "))
if cp_force not in [0, 1]:
raise ValueError("Invalid value, only 0 or 1 allowed")
user_data = bytearray([cp_recursive, cp_force])
user_data.extend(packet_source_dest_path("Copy"))
q.add_log_cmd(Info.CP_HELPER)
q.add_pus_tc(