SAP-samples / cloud-sdk-ios-specs

Dependency Manager specs repository for SAP BTP SDK for iOS.
Apache License 2.0
14 stars 5 forks source link

[INFRA] version update 6.1.7 #22

Closed serajahmad01 closed 2 years ago

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

pietbrauer commented 2 years ago

@MarcoEidinger @serajahmad01 I am having trouble downloading anything above 6.0.2 (6.0.2 itself works fine so creds can't be the issue).

I noticed that the maven id (?) changed from maven73554900100900005307 to maven73554900100900005307dev maybe outsiders don't have access to that?

Package Version URL
SAPCommon 6.0.2 https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307/com/sap/mobile/platform/client/hcp/sdk/ios/foundation/SAPCommon/6.0.2/SAPCommon-6.0.2-Release-xcframework.zip
SAPCommon 6.0.3 https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307dev/com/sap/mobile/platform/client/hcp/sdk/ios/foundation/SAPCommon/6.0.3/SAPCommon-6.0.3-Release-xcframework.zip
MarcoEidinger commented 2 years ago

@pietbrauer the change in the download url is expected but this shall not prohibit you to download the binaries. In a GitHub action workflow we do verify the possibility to install the SDK binaries with a ~/.netrc file using a technical user.

You said that creds can't be the issue but please do visit the Technical Users' UI Home Page to check the validity of the technical username/password anyway.

What is the output of make download_zips VERSION=6.1.0 when executing in the root folder of this (cloned) repo? Maybe this gives us an indicator.

pietbrauer commented 2 years ago

@MarcoEidinger

Output:

$make download_zips VERSION=6.1.0                                                                                                                                                               
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307dev/com/sap/mobile/platform/client/hcp/sdk/ios/foundation/SAPCommon/6.1.0/SAPCommon-6.1.0-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2174  100  2174    0     0   5341      0 --:--:-- --:--:-- --:--:--  5341
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307dev/com/sap/mobile/platform/client/hcp/sdk/ios/foundation/SAPFoundation/6.1.0/SAPFoundation-6.1.0-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2174  100  2174    0     0  10254      0 --:--:-- --:--:-- --:--:-- 10254
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307dev/com/sap/mobile/platform/client/hcp/sdk/ios/uireuse/SAPFiori/6.1.0/SAPFiori-6.1.0-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2174  100  2174    0     0   8172      0 --:--:-- --:--:-- --:--:--  8142
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307dev/com/sap/mobile/platform/client/hcp/sdk/ios/flows/SAPFioriFlows/6.1.0/SAPFioriFlows-6.1.0-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2174  100  2174    0     0   8525      0 --:--:-- --:--:-- --:--:--  8525
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307dev/com/sap/mobile/platform/client/hcp/sdk/ios/uireuse/SAPML/6.1.0/SAPML-6.1.0-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2174  100  2174    0     0   7934      0 --:--:-- --:--:-- --:--:--  7934
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307dev/com/sap/mobile/platform/client/hcp/sdk/ios/foundation/SAPOData/6.1.0/SAPOData-6.1.0-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2174  100  2174    0     0   7127      0 --:--:-- --:--:-- --:--:--  7104
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307dev/com/sap/mobile/platform/client/hcp/sdk/ios/foundation/SAPOfflineOData/6.1.0/SAPOfflineOData-6.1.0-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2174  100  2174    0     0  10111      0 --:--:-- --:--:-- --:--:-- 10111

Running file on a downloaded file

$ file SAPFiori-6.1.0-Release-xcframework.zip                                                                                                                                                    
SAPFiori-6.1.0-Release-xcframework.zip: HTML document text, ASCII text

The same for 6.0.2, if I remove the dev from the hard coded URLs in the Makefile:

$ make download_zips VERSION=6.0.2                                                                                                                                                            
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307/com/sap/mobile/platform/client/hcp/sdk/ios/foundation/SAPCommon/6.0.2/SAPCommon-6.0.2-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1612k  100 1612k    0     0  1131k      0  0:00:01  0:00:01 --:--:-- 1131k
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307/com/sap/mobile/platform/client/hcp/sdk/ios/foundation/SAPFoundation/6.0.2/SAPFoundation-6.0.2-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 19.2M  100 19.2M    0     0  1201k      0  0:00:16  0:00:16 --:--:-- 1343k
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307/com/sap/mobile/platform/client/hcp/sdk/ios/uireuse/SAPFiori/6.0.2/SAPFiori-6.0.2-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 50.5M  100 50.5M    0     0  1263k      0  0:00:40  0:00:40 --:--:-- 1253k
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307/com/sap/mobile/platform/client/hcp/sdk/ios/flows/SAPFioriFlows/6.0.2/SAPFioriFlows-6.0.2-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4840k  100 4840k    0     0   998k      0  0:00:04  0:00:04 --:--:-- 1133k
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307/com/sap/mobile/platform/client/hcp/sdk/ios/uireuse/SAPML/6.0.2/SAPML-6.0.2-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1267k  100 1267k    0     0   655k      0  0:00:01  0:00:01 --:--:--  655k
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307/com/sap/mobile/platform/client/hcp/sdk/ios/foundation/SAPOData/6.0.2/SAPOData-6.0.2-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 16.3M  100 16.3M    0     0  1188k      0  0:00:14  0:00:14 --:--:-- 1431k
curl -LO https://rbsc.repositories.sap.ondemand.com/nexus3/repository/maven73554900100900005307/com/sap/mobile/platform/client/hcp/sdk/ios/foundation/SAPOfflineOData/6.0.2/SAPOfflineOData-6.0.2-Release-xcframework.zip -netrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11.6M  100 11.6M    0     0  1143k      0  0:00:10  0:00:10 --:--:-- 1136k

Did you try running the GitHub Actions Workflow command with a non sap-XXXX user?

MarcoEidinger commented 2 years ago

@pietbrauer thank you very much for the provided information. We determined that this repository is indeed not suitable for customers/partners. We are in discussion with experts about the next steps forward. Please bear with us.

pietbrauer commented 2 years ago

@MarcoEidinger any updates on this? Whats happened to the previously used repository 😄 that worked fine.

MarcoEidinger commented 2 years ago

@pietbrauer thanks to @serajahmad01 the popdspecs are now available in the right repository

pietbrauer commented 2 years ago

@MarcoEidinger Thanks, works like a charm!