Commit Graph

37 Commits

Author SHA1 Message Date
Zhong Lufan 82fc9947f4 Fix some error messages are not output to stderr 2024-02-03 21:28:58 +08:00
Zhong Lufan 278d087239
Support manual set ALIYUN_SDK_RUN_ON_MUSL_LIBC 2023-01-30 23:55:42 +08:00
Zhong Lufan 7e24386e51
Minor changes 2023-01-30 23:54:15 +08:00
Zhong Lufan 72b452db96
Fix error on musl libc 2023-01-29 22:35:48 +08:00
Zhong Lufan 8c206a4b73
curl output no longer needs to be saved to tempfile 2023-01-29 15:37:01 +08:00
Zhong Lufan c2126d26ce
Improve build URL query string 2023-01-29 15:37:00 +08:00
Zhong Lufan b5193a284c
Correct call to openssl 2023-01-29 15:36:50 +08:00
Zhong Lufan 5be0482a1f
Rewrite urlencode implementation 2023-01-29 15:21:10 +08:00
Zhong Lufan 142bc49a07
Add ALIYUN_SDK_LAST_HTTP_CODE variable 2022-06-20 03:27:09 +08:00
Zhong Lufan 6317079f20
Replacing strings using bash built-in method 2022-06-20 03:26:14 +08:00
Zhong Lufan 33494ce4b7
To execute as script need to add '--rpc' parameter 2022-06-20 02:06:05 +08:00
Zhong Lufan 3c2942b31c
Add _aliapi_check_vars helper function 2022-06-20 01:57:10 +08:00
Zhong Lufan 731434bc05
Improve error messages 2022-06-20 01:45:31 +08:00
Zhong Lufan ab7e309b29
Use bash built-in method to match regex 2022-06-20 01:18:45 +08:00
Zhong Lufan 28eafb7ede
Use bash built-in method to convert case 2022-06-20 01:01:06 +08:00
Zhong Lufan e23e702b4e
Avoid variable name conflicts 2022-06-20 00:51:46 +08:00
Zhong Lufan 1d2666fab0
Enhanced SignatureNonce Uniqueness 2022-06-20 00:13:38 +08:00
Zhong Lufan c928752bbb
Rewrite call method 2022-06-20 00:13:38 +08:00
Zhong Lufan c952f1c372
Execute curl command with long arguments 2022-06-20 00:08:22 +08:00
Zhong Lufan a221ef7e97
Use the date command to output standard ISO8601 UTC time. 2022-06-20 00:07:34 +08:00
Zhong Lufan 35efcdf74b
Update function sign comment 2021-07-12 18:20:17 +08:00
Zhong Lufan e08c12e1b1
Support separate as script execution 2021-07-12 18:05:00 +08:00
Zhong Lufan 32579938e0
Fix bug for unset 2021-07-12 18:03:49 +08:00
Zhong Lufan a90d906afc
Restore part of df878ae Change 2021-04-18 17:09:40 +08:00
Zhong Lufan d81cede0fa
Fix bug 2021-04-18 16:51:45 +08:00
Zhong Lufan 273298eb77
Get AliaccessKeyId and AliaccessKeysecret in real time
To use different AliaccessKeyID and AliaccessKeysecret
2021-04-18 16:43:29 +08:00
Zhong Lufan df878aea3b
Modify the method to check whether the value is a function 2021-04-18 16:34:28 +08:00
Zhong Lufan 6cfc7c233a
Formatted style 2021-04-18 16:31:11 +08:00
Zhong Lufan fb2607af08
Modify comment 2021-04-18 15:51:35 +08:00
Zhong Lufan e75b524c52
Do not run SDK scripts alone 2020-05-17 02:05:22 +08:00
Zhong Lufan 36ed1f46d7
Update
Improve: Handle errors
Improve: Use curl for urlencode
Optimization: Auto convert HTTP method to uppercase
2020-04-28 23:09:28 +08:00
Zhong Lufan b688e3d965
Fix urlencode is invalid in some cases 2020-04-19 23:07:02 +08:00
Zhong Lufan 7e6b2eecca
Update 2020-01-10 12:43:35 +08:00
Zhong Lufan 9e821cc3cc
Check if custom function exists 2020-01-02 00:11:53 +08:00
Zhong Lufan 604123797a
Change how variables are checked 2020-01-01 23:58:21 +08:00
Zhong Lufan f6e3c0ed7c
More stringent checks run 2020-01-01 15:19:19 +08:00
Zhong Lufan 639d002dcf
Use curl implement urlencode() 2020-01-01 12:40:40 +08:00