aspera-cli 4.17.0 → 4.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +2 -4
  3. data/CHANGELOG.md +23 -0
  4. data/CONTRIBUTING.md +15 -1
  5. data/README.md +620 -378
  6. data/bin/ascli +5 -0
  7. data/bin/asession +2 -2
  8. data/lib/aspera/agent/alpha.rb +6 -4
  9. data/lib/aspera/agent/base.rb +9 -6
  10. data/lib/aspera/agent/connect.rb +4 -4
  11. data/lib/aspera/agent/direct.rb +56 -37
  12. data/lib/aspera/agent/httpgw.rb +23 -324
  13. data/lib/aspera/agent/node.rb +19 -20
  14. data/lib/aspera/agent/trsdk.rb +19 -20
  15. data/lib/aspera/api/aoc.rb +17 -14
  16. data/lib/aspera/api/cos_node.rb +4 -4
  17. data/lib/aspera/api/httpgw.rb +339 -0
  18. data/lib/aspera/api/node.rb +34 -21
  19. data/lib/aspera/ascmd.rb +4 -3
  20. data/lib/aspera/ascp/installation.rb +15 -7
  21. data/lib/aspera/ascp/management.rb +2 -2
  22. data/lib/aspera/cli/basic_auth_plugin.rb +5 -9
  23. data/lib/aspera/cli/extended_value.rb +12 -6
  24. data/lib/aspera/cli/formatter.rb +155 -65
  25. data/lib/aspera/cli/hints.rb +18 -0
  26. data/lib/aspera/cli/main.rb +22 -29
  27. data/lib/aspera/cli/manager.rb +53 -36
  28. data/lib/aspera/cli/plugin.rb +26 -17
  29. data/lib/aspera/cli/plugin_factory.rb +31 -20
  30. data/lib/aspera/cli/plugins/alee.rb +14 -2
  31. data/lib/aspera/cli/plugins/aoc.rb +141 -131
  32. data/lib/aspera/cli/plugins/ats.rb +1 -1
  33. data/lib/aspera/cli/plugins/config.rb +52 -46
  34. data/lib/aspera/cli/plugins/console.rb +8 -5
  35. data/lib/aspera/cli/plugins/faspex.rb +27 -19
  36. data/lib/aspera/cli/plugins/faspex5.rb +222 -149
  37. data/lib/aspera/cli/plugins/faspio.rb +85 -0
  38. data/lib/aspera/cli/plugins/httpgw.rb +55 -0
  39. data/lib/aspera/cli/plugins/node.rb +86 -29
  40. data/lib/aspera/cli/plugins/orchestrator.rb +31 -29
  41. data/lib/aspera/cli/plugins/preview.rb +6 -2
  42. data/lib/aspera/cli/plugins/server.rb +5 -5
  43. data/lib/aspera/cli/plugins/shares.rb +16 -14
  44. data/lib/aspera/cli/sync_actions.rb +6 -6
  45. data/lib/aspera/cli/transfer_agent.rb +5 -4
  46. data/lib/aspera/cli/version.rb +1 -1
  47. data/lib/aspera/environment.rb +7 -6
  48. data/lib/aspera/faspex_gw.rb +5 -4
  49. data/lib/aspera/faspex_postproc.rb +2 -2
  50. data/lib/aspera/log.rb +6 -3
  51. data/lib/aspera/node_simulator.rb +2 -2
  52. data/lib/aspera/oauth/base.rb +31 -19
  53. data/lib/aspera/oauth/factory.rb +12 -13
  54. data/lib/aspera/oauth/generic.rb +1 -0
  55. data/lib/aspera/oauth/jwt.rb +18 -15
  56. data/lib/aspera/oauth/url_json.rb +8 -6
  57. data/lib/aspera/open_application.rb +5 -7
  58. data/lib/aspera/persistency_folder.rb +2 -2
  59. data/lib/aspera/preview/generator.rb +3 -3
  60. data/lib/aspera/preview/options.rb +3 -3
  61. data/lib/aspera/preview/terminal.rb +4 -4
  62. data/lib/aspera/preview/utils.rb +3 -3
  63. data/lib/aspera/proxy_auto_config.rb +5 -1
  64. data/lib/aspera/rest.rb +60 -74
  65. data/lib/aspera/rest_call_error.rb +1 -1
  66. data/lib/aspera/rest_error_analyzer.rb +2 -2
  67. data/lib/aspera/rest_errors_aspera.rb +1 -1
  68. data/lib/aspera/resumer.rb +1 -1
  69. data/lib/aspera/secret_hider.rb +2 -4
  70. data/lib/aspera/ssh.rb +1 -1
  71. data/lib/aspera/transfer/parameters.rb +39 -36
  72. data/lib/aspera/transfer/spec.rb +2 -0
  73. data/lib/aspera/transfer/sync.rb +2 -1
  74. data/lib/aspera/transfer/uri.rb +1 -1
  75. data/lib/aspera/uri_reader.rb +5 -4
  76. data/lib/aspera/web_auth.rb +1 -1
  77. data/lib/aspera/web_server_simple.rb +4 -3
  78. data.tar.gz.sig +0 -0
  79. metadata +5 -3
  80. metadata.gz.sig +0 -0
  81. data/lib/aspera/cli/plugins/bss.rb +0 -71
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff1358fcea41068f9c45d563e9a9853c55611f7ca67941de4f399e722e7523d7
4
- data.tar.gz: 96ac3d8ada6aa386551f386939d215e541cea2478a1a6d169af82249966063c4
3
+ metadata.gz: 71adcb69e4f2f4bb9db31713c2a5b7f251ddb052418d3a11e6061e55bf4979ce
4
+ data.tar.gz: af9cc1ab42b8b6f89d2e561becdb07e05e6ca0d6c2275e0834848ab3f2496eb6
5
5
  SHA512:
6
- metadata.gz: 3e9bbf157f77d9babfb030235de132cecf7b596b1a11f2ba9a54fdb34d7a1d6d9cf5621db111e80da36ddf0234021802dfeed32a14509c452d9ecbef4f15e5cf
7
- data.tar.gz: 580d7897a44122ab51735ef790ba1ce69692d4022cc34f85bcfeffc0b66acc02b6eb2a12ab724af3fb26d2cc481c500fcbd321a66648478bada3523549d66c8c
6
+ metadata.gz: b48fab716de4e3d3c3a4175c8a5a4139f02d0ff29f2a8e9c1e57b12f1fe6e0bbb1aed85eeb04a894087da6b360675695e0017a97be1ee210b1ff9b3b70beeeff
7
+ data.tar.gz: e31d43642a703b5b2a9b3f65ce712ed848b174b7dc122e7be760ef51849d292accc104f90acc02e4bc9c6eaae579246f6a68239b204ebb514a6d6783d0a82cb1
checksums.yaml.gz.sig CHANGED
@@ -1,4 +1,2 @@
1
- �/1j'R��[�`&w���N��@��*�[�r��b/��tK/إ�'�����?\�$��0����y6$y)� ll��+=�ø� ����jTc���@�-(��T���.I�OD��UM���|��M�����]�����%0��� ]N���9O��˿7P�����Wn������\�X���8a��k8(�+,�9B��H�,0B�������Pt�u[(8k
2
- �ښ�c+x�a�-Cm�3m��a_*�沝{��9�
3
- ��n�(˗ϸ�v����R���R���J�'���λ-��x��^�4����;7�H򠪋��5hKl#O�q��cw�(̀��
4
- �������Lɰ���#��v��Ӑ3iᾜ�
1
+ �ّ���D�����,,KȪ��] ��Ntw1/�֕[�?Or����ѹo��;JHn��VWa��n��s]���B�,$7���v�b㡇�X��y)�ey"A�~8w����/��ݱ(��HN=s�ЄJc5�|�>��VeW��Ȓ�\��#�[��3/�rp�I��K��^�����{ f
2
+ / �W&����?�g��9�Y�^/�g�@DsywE�t�t�H�6C�
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changes (Release notes)
2
2
 
3
+ * 4.18.0
4
+
5
+ * New Features:
6
+ * `faspex5`: added command `admin configuration` for global parameters.
7
+ * `faspex5`: added command `admin clean_deleted`.
8
+ * `faspex5`: added resource `distribution_list`.
9
+ * `node`: "gen3" browse now returns all elements using pages, and supports option `query` with parameter `recursive`, `max`, `self`.
10
+ * `httpgw`: new plugin, detect the GW.
11
+ * `faspio`: new plugin, configure bridges.
12
+ * `config`: `ascp info` also shows the version of the openssl library used by `ascp`.
13
+ * `node`: new action: `transport` to display transfer address and ports
14
+ * **global**: added option `http_proxy`, as an alias to env var `http_proxy`.
15
+ * **global**: Possibility to filter fields when using formats like `json` or `yaml`.
16
+ * Issues Fixed:
17
+ * `faspex5`: fixed support for percent selector for metadata profiles.
18
+ * Breaking Changes:
19
+ * `aoc` : `admin resource` is deprecated, use just `admin`.
20
+ * `faspex5` : `admin resource` is deprecated, use just `admin`.
21
+ * **global**: option `value` is deprecated and replaced with option `query` when used in generic commands: `delete` and `list`, as well as node ak browse, node stream and watch folder list. (#142)
22
+ * **global**: option `warnings` (and short `w`) is removed. To get ruby warnings invoke with `ruby -w .../ascli ...`. See `Makefile` in `test`
23
+ * **global**: option `table_style` now expects a Hash, not String.
24
+ * **bss**: Removed unused plugin.
25
+
3
26
  * 4.17.0
4
27
 
5
28
  * New Features:
data/CONTRIBUTING.md CHANGED
@@ -65,7 +65,21 @@ TODO: document installation of tool chain.
65
65
  ### Documentation
66
66
 
67
67
  Documentation is generated with `pandoc` and `LaTeX`.
68
- IBM font `Plex` is used, see [IBM Plex](https://www.ibm.com/plex/).
68
+
69
+ IBM font `Plex` is used, for installation see [IBM Plex](https://www.ibm.com/plex/).
70
+
71
+ On macOS to install `lualatex` and all packages:
72
+
73
+ ```bash
74
+ brew install texlive
75
+ ```
76
+
77
+ If `lualatex` is installed using another method, ensure that the following packages are installed:
78
+
79
+ ```bash
80
+ tlmgr update --self
81
+ tlmgr install fvextra selnolig lualatex-math
82
+ ```
69
83
 
70
84
  ## Running Tests
71
85