Commit Graph
70 Commits
Author SHA1 Message Date
mvdbeek d5607fd65c Drop legacy-ish use of model.context.current 2021-02-11 16:01:34 +01:00
Nicola Soranzo 9d74bba7fb Drop support for retired Python 3.5
Upgrade syntax using `pyupgrade --py36-plus` .

Manually drop several `six` imports.

Also:
- Remove broken pr_cache in scripts/bootstrap_history.py
- Fix broken prefix removal in lib/galaxy/tool_util/deps/mulled/mulled_build.py
2020-10-07 11:52:13 +01:00
vahid 3798a3d124 Commented-out cloudbridge requirement for the cloud/send tool. 2019-04-12 08:46:46 -04:00
vahid 1aa19ec99b Update cloud imports to adhere with cloudbridge interface changes. 2019-03-22 14:02:48 -07:00
Enis Afgan 566ffaf9d5 Update send tool help text 2018-11-05 15:53:47 -05:00
vahid 6c07a0370d Update description on send tool wrapper. 2018-10-31 10:33:03 -07:00
vahid 341f7d6372 Update output label & tool name to compose a more intuitive log label. 2018-10-31 10:31:48 -07:00
vahid 43e5a1828d In Cloud send tool: surround error raising blocks of code in try-catch. 2018-10-29 11:05:46 -07:00
vahid 7433e2640b Extend the help section and refactor Authz to Cloud Authorization. 2018-10-28 12:09:23 -07:00
vahid 39bdb67273 Make duplicate object timestamp shorter and use _ instead of -. 2018-10-28 11:39:47 -07:00
vahid 6f56ff10b9 Remove @ & msec from send tool timestamp. 2018-10-28 11:11:51 -07:00
vahid ef70f20a58 Swap authz_id and bucket; bucket is the first parameter now. 2018-10-28 10:07:50 -07:00
vahid e30460049f Remove _ and capitalize each work in "overwrite_existing". 2018-10-28 10:04:34 -07:00
vahid a236c64ea7 Repalce "sys.exc_info" with "Exception as e" in cloud Send tool wrapper. 2018-10-25 20:48:06 -07:00
vahid d4d659a851 Replace the hardcoded msg with the exception msg in the cloud send tool. 2018-10-25 13:23:18 -07:00
vahid 8c95f174ba Fix lint issues. 2018-10-24 21:45:46 -07:00
vahid 8543231b40 Surround getting cloudauthz cred. in Send tool in a try-catch block. 2018-10-24 21:21:45 -07:00
vahid 47b41d1bb0 Add timestamp, and transfer ET & rate to the Send to cloud tool's log. 2018-10-23 16:27:13 -07:00
vahid 8f11f78aa2 download > send refactoring in the tool. 2018-10-16 12:30:00 -07:00
vahid b62e0476be cloud Download > Send refactoring in tool wrapper, & related places. 2018-10-16 12:28:42 -07:00
vahid 01a124314d Rename cloud/download.* to cloud/send.* 2018-10-16 12:25:12 -07:00
vahid e943ec2bb4 Rename cloud download tool log dataset. 2018-10-15 10:43:13 -07:00
vahid 3ce2a35647 Update print func syntax in cloud download tool to adhere with py3 req. 2018-10-15 10:40:55 -07:00
vahid 847f66340d Remove a comment from download tool wrapper. 2018-10-11 13:42:51 -07:00
vahid 4305e2c56c Add some logging steps in the cloud download tool. 2018-10-11 13:18:12 -07:00
vahid 6504fe6ef1 Always pass user_id as int to authnz/managers so to avoid check & cast. 2018-10-11 09:55:35 -07:00
vahid 9eabf5c6c6 Only download tool wrapper creates tmp credentials tmp file. 2018-10-10 23:42:33 -07:00
vahid 1efa294198 Encode and decode authnz id in download tool wrapper & manager. 2018-10-10 23:35:31 -07:00
vahid 8cd1b0e118 Remove hidden credentials_file arg from download tool wrapper. 2018-10-10 23:24:39 -07:00
vahid d9baf394d5 Cloud download tool: don't create cred. files if manager has provided. 2018-10-10 23:03:22 -07:00
vahid b3a12919ca Update download tool wrapper to leverage tmp credentials in tmp file. 2018-10-10 20:51:11 -07:00
vahid 81eabec6e6 Update cloud download to adhere with cloudbridge v1 interface changes. 2018-10-10 20:47:51 -07:00
vahid cf919d7bef Do not assert provider name in cloud download tool. 2018-10-10 20:46:23 -07:00
vahid 9cf7cf6b1e In the cloud download tool, accept credentials via a tmp file only. 2018-10-10 20:45:33 -07:00
vjalili 4d73ea6a6e Add azure storage account & resource group to the download tool wrapper. 2018-08-08 14:25:50 -07:00
vjalili 909c7a72d6 Add storage account and resource group as required args for Azure. 2018-08-08 14:22:50 -07:00
vjalili 2528c83bf2 Add docs to the download-to-cloud tool. 2018-08-08 13:59:22 -07:00
vjalili 9de5927b5b Rename the label of the output of the download-to-cloud. 2018-08-08 13:49:35 -07:00
vjalili b5cbaaecbc Fix some lint issues. 2018-08-08 13:40:39 -07:00
vjalili 1dd62afa7f Fix some lint issues. 2018-08-08 13:38:48 -07:00
vjalili 0aae050595 In the download-to-cloud tool, replace blank space in hda name with _. 2018-08-08 13:23:19 -07:00
vjalili 8502dc5b61 In the wrapper of download-to-cloud tool, hide object_label. 2018-08-08 13:06:51 -07:00
vjalili 35eabd5543 In the download-to-cloud tool, set object_label to hda.name. 2018-08-08 13:05:56 -07:00
vjalili 6c710ed85f Fix a bug defining provider credentials in the download-to-cloud tool. 2018-08-05 17:09:15 -07:00
vjalili b4950a9678 The Download-to-cloud tool now reads provider-specific credential args. 2018-08-05 16:19:50 -07:00
vjalili 13aa6be720 Add a comment. 2018-08-05 15:51:11 -07:00
vjalili 6c62cc57eb Refactor the parser function in the download-to-cloud tool. 2018-08-03 15:11:57 -07:00
vjalili ef0dbb2931 Implement a args parser function in the download-to-cloud tool. 2018-08-03 15:05:45 -07:00
vjalili f8ee1c1614 Update args list in the download.py. 2018-08-03 14:53:28 -07:00
vjalili b60246c8e1 Pass credentials args based on the selected provider. 2018-08-03 14:52:09 -07:00