aspera-cli 4.20.0 → 4.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +29 -3
  4. data/CONTRIBUTING.md +2 -0
  5. data/README.md +571 -375
  6. data/bin/asession +2 -2
  7. data/examples/get_proto_file.rb +1 -1
  8. data/lib/aspera/agent/alpha.rb +10 -16
  9. data/lib/aspera/agent/connect.rb +20 -2
  10. data/lib/aspera/agent/direct.rb +21 -30
  11. data/lib/aspera/agent/node.rb +1 -11
  12. data/lib/aspera/agent/{trsdk.rb → transferd.rb} +13 -34
  13. data/lib/aspera/api/aoc.rb +13 -8
  14. data/lib/aspera/api/node.rb +45 -28
  15. data/lib/aspera/ascp/installation.rb +87 -48
  16. data/lib/aspera/ascp/management.rb +27 -6
  17. data/lib/aspera/cli/formatter.rb +148 -154
  18. data/lib/aspera/cli/info.rb +1 -1
  19. data/lib/aspera/cli/main.rb +12 -0
  20. data/lib/aspera/cli/manager.rb +2 -2
  21. data/lib/aspera/cli/plugin.rb +2 -2
  22. data/lib/aspera/cli/plugins/aoc.rb +28 -18
  23. data/lib/aspera/cli/plugins/config.rb +106 -54
  24. data/lib/aspera/cli/plugins/cos.rb +1 -0
  25. data/lib/aspera/cli/plugins/faspex.rb +4 -2
  26. data/lib/aspera/cli/plugins/faspex5.rb +21 -9
  27. data/lib/aspera/cli/plugins/node.rb +45 -38
  28. data/lib/aspera/cli/transfer_progress.rb +2 -0
  29. data/lib/aspera/cli/version.rb +1 -1
  30. data/lib/aspera/command_line_builder.rb +1 -1
  31. data/lib/aspera/environment.rb +48 -14
  32. data/lib/aspera/node_simulator.rb +230 -112
  33. data/lib/aspera/oauth/base.rb +34 -47
  34. data/lib/aspera/oauth/factory.rb +41 -2
  35. data/lib/aspera/oauth/jwt.rb +4 -1
  36. data/lib/aspera/persistency_action_once.rb +1 -1
  37. data/lib/aspera/persistency_folder.rb +20 -2
  38. data/lib/aspera/preview/generator.rb +1 -1
  39. data/lib/aspera/preview/utils.rb +8 -3
  40. data/lib/aspera/products/alpha.rb +30 -0
  41. data/lib/aspera/products/connect.rb +48 -0
  42. data/lib/aspera/products/other.rb +82 -0
  43. data/lib/aspera/products/transferd.rb +54 -0
  44. data/lib/aspera/rest.rb +18 -13
  45. data/lib/aspera/secret_hider.rb +2 -2
  46. data/lib/aspera/ssh.rb +31 -24
  47. data/lib/aspera/transfer/parameters.rb +2 -1
  48. data/lib/aspera/transfer/spec.yaml +22 -20
  49. data/lib/aspera/transfer/sync.rb +1 -5
  50. data/lib/aspera/transfer/uri.rb +2 -2
  51. data/lib/transferd_pb.rb +86 -0
  52. data/lib/transferd_services_pb.rb +84 -0
  53. data.tar.gz.sig +0 -0
  54. metadata +38 -21
  55. metadata.gz.sig +0 -0
  56. data/lib/aspera/ascp/products.rb +0 -168
  57. data/lib/transfer_pb.rb +0 -84
  58. data/lib/transfer_services_pb.rb +0 -82
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fb5a0fc5c22da5479bff1858e9bedd7188e7622c751f7560af1f0ce318fffc9
4
- data.tar.gz: 22cb2c17972d50bc198a63cce4c8a29dbb52dc184fa1ffda6a220cd793ef4e28
3
+ metadata.gz: 94d8abaf1bf8e938fe9ef79a7f0ecc06870b799d44acb0783a8638e88be8585d
4
+ data.tar.gz: b8aeca6b8c34446aac0f4b54fac0ee52db502a6e28149583e30536cc7ba3ab58
5
5
  SHA512:
6
- metadata.gz: 3e468ed7fae059b54a56402bf4a1e414eb28cfe527325f22f645b9bfe754ba2a2084298186b6a0afceef8698e87a914045132c1126ab39d7b75163dc50d4440f
7
- data.tar.gz: 4c774e429d9b364b3e5382873e4926fecd355b2d5504af30a7ce5814cc556c5686c50c309ba10f89ba5e1e6666651fcd195266d043d27be5cc77f9abad4735e3
6
+ metadata.gz: e90b2de02a88fc84ca2e97df962f054200e14c8c2020dd1a1f42f271b15e0f8ca1e67a4ffaefda7c10f6a69c28611a83d400e140c8ccc9e4edb6f56399db8fe8
7
+ data.tar.gz: 6688107fb04c162b4c18bcc45c1450c73170ecae5d430af782ba596e5879fdaf0ecd01020e8ba48c2b39a543d3f0bb3b88f689242ee98714cfa6bd658b92b520
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,15 +1,41 @@
1
1
  # Changes (Release notes)
2
2
 
3
+ * 4.21.1
4
+
5
+ * New Features:
6
+ * `config`: New command: `transferd` to list and install specific version of `asperatransferd` and `ascp`
7
+ * `config`: New command: `token` to list and flush cached tokens.
8
+ * `faspex5`: New command: `admin contact reset_password`
9
+ * `config`: New command: `tokens` with `list`, `show`, `flush` (replace `flush_tokens`)
10
+ * `aoc`: #178 packages can be browsed, and individual files can be downloaded now.
11
+ * Issues Fixed:
12
+ * `config`: #180 problem in `ascp install`
13
+ * `aoc`: #184 token cache shall be different per aoc org.
14
+ * `config`: Soft links in transfer SDK archive are correctly extracted
15
+ * `aoc`: Fix `packages delete` not working.
16
+ * `direct` agent: #174 Race condition fix with `ascp`: timeout waiting mgt port connect (select not readable)
17
+ * `config`: #175 `ascli config preset set GLOBAL version_check_days 0` causes a bad `config.yaml` to be written
18
+ * `preview`: #177 fix bug that prevents preview generation to work.
19
+ * Breaking Changes:
20
+ * **global** : Ruby minimum versions is now 3.1 (mainly due to switch to openssl 3). Future minimum is 3.2. Recommended is 3.4.
21
+ * `transferd`: Use of Aspera Transfer Daemon requires minimum version 1.1.4. agent `trsdk` renamed `transferd`.
22
+ * `ascp`: Default SDK version is now 1.1.4. Removes support for ascp4.
23
+ * **global** : Options `transpose_single` and `multi_table` replaced with single option `multi_single` and values: `no`, `yes`, `single`.
24
+ * **global** : Column name for single object is now `field` instead of `key`.
25
+ * **global** : Ruby minimum versions is now 2.7 (2.6 previously, that removes macOS default ruby support, but newer ruby version can be installed on macOS)
26
+ * `node`: Removed deprecated command prefix `exec:`, use `@ruby:` instead.
27
+ * **global** : Now uses openssl 3.
28
+
3
29
  * 4.20.0
4
30
 
5
- ATTENTIION: Due to the fact that Faspex version 4 is end of support, the `faspex` command will be deprecated. Use Faspex 5 from now.
31
+ ATTENTION: [Faspex version 4 is now end of support](https://www.ibm.com/support/pages/lifecycle/search?q=faspex): the `faspex` plugin will be deprecated. Servers shall be upgraded to Faspex 5, and users use plugin `faspex5`.
6
32
 
7
33
  * New Features:
8
34
  * `aoc`: Improved usability for creation of Admin shared folders.
9
35
  * `node`: New option `node_cache` (bool) for gen4 operations.
10
36
  * `node`: Option `root_id` now works always for node gen4, as well as `%id:` for file selection in addition to path.
11
- * `node`: `transfer list` now uses the `iteratin_token` to retrieve all values. Option `once_only` is now supported.
12
- * `global` : option `http_options` now include retry options.
37
+ * `node`: `transfer list` now uses the `iteration_token` to retrieve all values. Option `once_only` is now supported.
38
+ * **global** : option `http_options` now include retry options.
13
39
  * Issues Fixed:
14
40
  * `aoc`: Fixed `find` command not working. (undefined variable)
15
41
  * `aoc`: #165 aoc mkdir now follows the last link of containing folder
data/CONTRIBUTING.md CHANGED
@@ -234,6 +234,8 @@ Update with:
234
234
  make grpc
235
235
  ```
236
236
 
237
+ It downloads the latest proto file and then compiles it.
238
+
237
239
  ## Docker image build
238
240
 
239
241
  The `Dockerfile.tmpl.erb` template allows customization of the optional copying of the `aspera-cli.gem` file, as opposed to installing from rubygems.org. It also supports customizing the retrieval of the SDK.