all: add specific download check for ASE #65
sean-freeman
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
sap_sso_login(username, password)
# Special catch:
# Check for SAP ASE RDBMS Linux on x86_64 64bit media that uses prefix 5105 followed by 5-9
# Ignore 5105[0-4] used by ECC 6.0, NWAS 7.5/7.52 ABAP, MaxDB, Oracle DB
# Filter to avoid catch of 5105[5] used by NWAS JAVA, 5105[6] for IBM Db2 LUW, or 5105[7] for ECC IDES
# As Title ID may be duplicated, sort by fastkey as proxy for date released
# Then sort by Description to ascertain latest version sequence
import re
if re.search('^5105[5-9]', input_search_file):
special_flag = 1
special_query = search_software_fuzzy('SAP ASE 16 RDBMS Linux on x86_64 64bit')
if any('SAP ASE' in sublist['Description'] for sublist in special_query):
if any('RDBMS' in sublist['Description'] for sublist in special_query):
special_query_sorted1 = sorted(special_query, key=lambda sublist: sublist['Fastkey'], reverse=True)
special_query_sorted2 = sorted(special_query_sorted1, key=lambda sublist: sublist['Description'], reverse=True)
print(special_query_sorted2[0]['Title'])
else:
special_flag = 0
query_result = search_software_fuzzy(input_search_file)
if len(query_result) >= 2 and special_flag == 0: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ASE uses numeric filename without prefix or suffix, and therefore cannot be detected once the file is removed. Suggest additional weekly GH Action...
Part 1:
SAP ASE 16 RDBMS Linux on x86_64 64bit
[0]
)Part 2:
16.0.04.06
); parse to get SP04
and Patch Level06
04
P_6
; if Patch Level00
, then search ASEBC16004
_0
ASEBC160
Low priority.
Beta Was this translation helpful? Give feedback.
All reactions