aspera-cli 4.17.0 → 4.18.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +3 -4
  3. data/CHANGELOG.md +33 -0
  4. data/CONTRIBUTING.md +15 -1
  5. data/README.md +711 -432
  6. data/bin/ascli +5 -0
  7. data/bin/asession +2 -2
  8. data/examples/build_package.sh +28 -0
  9. data/lib/aspera/agent/alpha.rb +10 -8
  10. data/lib/aspera/agent/base.rb +9 -6
  11. data/lib/aspera/agent/connect.rb +7 -8
  12. data/lib/aspera/agent/direct.rb +56 -37
  13. data/lib/aspera/agent/httpgw.rb +23 -324
  14. data/lib/aspera/agent/node.rb +19 -20
  15. data/lib/aspera/agent/trsdk.rb +19 -20
  16. data/lib/aspera/api/aoc.rb +17 -14
  17. data/lib/aspera/api/cos_node.rb +4 -4
  18. data/lib/aspera/api/httpgw.rb +342 -0
  19. data/lib/aspera/api/node.rb +135 -89
  20. data/lib/aspera/ascmd.rb +4 -3
  21. data/lib/aspera/ascp/installation.rb +15 -7
  22. data/lib/aspera/ascp/management.rb +2 -2
  23. data/lib/aspera/ascp/products.rb +1 -1
  24. data/lib/aspera/cli/basic_auth_plugin.rb +5 -9
  25. data/lib/aspera/cli/extended_value.rb +35 -16
  26. data/lib/aspera/cli/formatter.rb +161 -70
  27. data/lib/aspera/cli/hints.rb +18 -0
  28. data/lib/aspera/cli/main.rb +32 -39
  29. data/lib/aspera/cli/manager.rb +151 -119
  30. data/lib/aspera/cli/plugin.rb +27 -21
  31. data/lib/aspera/cli/plugin_factory.rb +31 -20
  32. data/lib/aspera/cli/plugins/alee.rb +14 -2
  33. data/lib/aspera/cli/plugins/aoc.rb +152 -141
  34. data/lib/aspera/cli/plugins/ats.rb +1 -1
  35. data/lib/aspera/cli/plugins/config.rb +72 -65
  36. data/lib/aspera/cli/plugins/console.rb +8 -5
  37. data/lib/aspera/cli/plugins/faspex.rb +32 -23
  38. data/lib/aspera/cli/plugins/faspex5.rb +232 -156
  39. data/lib/aspera/cli/plugins/faspio.rb +85 -0
  40. data/lib/aspera/cli/plugins/httpgw.rb +55 -0
  41. data/lib/aspera/cli/plugins/node.rb +129 -64
  42. data/lib/aspera/cli/plugins/orchestrator.rb +33 -30
  43. data/lib/aspera/cli/plugins/preview.rb +7 -3
  44. data/lib/aspera/cli/plugins/server.rb +6 -6
  45. data/lib/aspera/cli/plugins/shares.rb +16 -14
  46. data/lib/aspera/cli/special_values.rb +13 -0
  47. data/lib/aspera/cli/sync_actions.rb +10 -10
  48. data/lib/aspera/cli/transfer_agent.rb +7 -6
  49. data/lib/aspera/cli/version.rb +1 -1
  50. data/lib/aspera/environment.rb +70 -9
  51. data/lib/aspera/faspex_gw.rb +5 -4
  52. data/lib/aspera/faspex_postproc.rb +2 -2
  53. data/lib/aspera/log.rb +6 -3
  54. data/lib/aspera/node_simulator.rb +2 -2
  55. data/lib/aspera/oauth/base.rb +31 -19
  56. data/lib/aspera/oauth/factory.rb +12 -13
  57. data/lib/aspera/oauth/generic.rb +1 -0
  58. data/lib/aspera/oauth/jwt.rb +18 -15
  59. data/lib/aspera/oauth/url_json.rb +8 -6
  60. data/lib/aspera/oauth/web.rb +2 -2
  61. data/lib/aspera/persistency_folder.rb +2 -2
  62. data/lib/aspera/preview/generator.rb +3 -3
  63. data/lib/aspera/preview/options.rb +3 -3
  64. data/lib/aspera/preview/terminal.rb +4 -4
  65. data/lib/aspera/preview/utils.rb +3 -3
  66. data/lib/aspera/proxy_auto_config.rb +5 -1
  67. data/lib/aspera/rest.rb +105 -88
  68. data/lib/aspera/rest_call_error.rb +1 -1
  69. data/lib/aspera/rest_error_analyzer.rb +2 -2
  70. data/lib/aspera/rest_errors_aspera.rb +1 -1
  71. data/lib/aspera/resumer.rb +1 -1
  72. data/lib/aspera/secret_hider.rb +2 -4
  73. data/lib/aspera/ssh.rb +1 -1
  74. data/lib/aspera/transfer/parameters.rb +39 -36
  75. data/lib/aspera/transfer/spec.rb +2 -0
  76. data/lib/aspera/transfer/sync.rb +2 -1
  77. data/lib/aspera/transfer/uri.rb +1 -1
  78. data/lib/aspera/uri_reader.rb +5 -4
  79. data/lib/aspera/web_auth.rb +1 -1
  80. data/lib/aspera/web_server_simple.rb +4 -3
  81. data.tar.gz.sig +0 -0
  82. metadata +7 -4
  83. metadata.gz.sig +0 -0
  84. data/lib/aspera/cli/plugins/bss.rb +0 -71
  85. data/lib/aspera/open_application.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: 98185fd9f823fc0d85ebf7183d5c88cf6e0aac7cafd8325802bfa0724c52ddf4
4
+ data.tar.gz: 848811c07aa60060cae1320cd0512e72a73bb78fee9e1837245ef856af3883de
5
5
  SHA512:
6
- metadata.gz: 3e9bbf157f77d9babfb030235de132cecf7b596b1a11f2ba9a54fdb34d7a1d6d9cf5621db111e80da36ddf0234021802dfeed32a14509c452d9ecbef4f15e5cf
7
- data.tar.gz: 580d7897a44122ab51735ef790ba1ce69692d4022cc34f85bcfeffc0b66acc02b6eb2a12ab724af3fb26d2cc481c500fcbd321a66648478bada3523549d66c8c
6
+ metadata.gz: ede08e6e6c6ce3ef33d0c402730ee1854b5d0364da3d47ef736f0e7680a9f8cc1098316fe5945c15aab98ed931c26dd625ea7fb9673e70068dfd2755bb7a053a
7
+ data.tar.gz: 1bf901163167844fbada435d0cbac759075b51e9f2da22f6f2b97e99be53c202d69e83ec38f0ee4cade3f937a29c502e22e75ac4452b5e0bb426b0fafa7d883c
checksums.yaml.gz.sig CHANGED
@@ -1,4 +1,3 @@
1
- �/1�j�'�R��[�`&w���N��@��*�[�r��b/��tK/إ�'�����?\�$��0����y6$y)� ll��+=�ø� ����j�Tc���@�-(��T���.I�OD��UM���|��M�����]�����%0��� �]N���9O��˿7P�����W�n������\�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����;7H򠪋��5hKl#O�q��cw(̀��
4
- �������Lɰ���#��v��Ӑ3iᾜ�
1
+ 
2
+ ��� ��C��^����2���Bm�� Y��.{I}� _��I�^�0<8#�׼�4���Fn��q�u*�O�9J�f:��rl�`��Ifفaߣ}8���� V"z��0JX���Ġ�Ad���6�?���b��� F��=@�*Ϩ�]Rc���z
3
+ �a��P�pXw�4ׅ��7�෣�C��������ӳU�0��vԟ�m���d��N�?�T2�����wxjn��oZGf�,�o��Fi1��Wޕ�=DY�IKc�j%އ�7x`O��Ąyo.��{���VS!��a��nsN�|��}���n�c�V�Ά��x��pɗ>�`�� Rl,[,Ϥ󦱡������.V�U#6.e|���<��dWdcַ�)n]� %G5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # Changes (Release notes)
2
2
 
3
+ * 4.18.1
4
+ * New Features:
5
+ * none
6
+ * Issues Fixed:
7
+ * **global**: #146 (@junkimu) Fix problem on Windows WRT terminal detection
8
+ * **global**: node gen4 (aoc) browsing through link now follows the link correctly
9
+ * `shares`: #147 Fix problem for `shares files mkdir`
10
+ * Breaking Changes:
11
+ * **global**: Removed option `id`, deprecated since 4.14.0
12
+
13
+ * 4.18.0
14
+
15
+ * New Features:
16
+ * `faspex5`: added command `admin configuration` for global parameters.
17
+ * `faspex5`: added command `admin clean_deleted`.
18
+ * `faspex5`: added resource `distribution_list`.
19
+ * `node`: "gen3" browse now returns all elements using pages, and supports option `query` with parameter `recursive`, `max`, `self`.
20
+ * `httpgw`: new plugin, detect the GW.
21
+ * `faspio`: new plugin, configure bridges.
22
+ * `config`: `ascp info` also shows the version of the openssl library used by `ascp`.
23
+ * `node`: new action: `transport` to display transfer address and ports
24
+ * **global**: added option `http_proxy`, as an alias to env var `http_proxy`.
25
+ * **global**: Possibility to filter fields when using formats like `json` or `yaml`.
26
+ * Issues Fixed:
27
+ * `faspex5`: fixed support for percent selector for metadata profiles.
28
+ * Breaking Changes:
29
+ * `aoc` : `admin resource` is deprecated, use just `admin`.
30
+ * `faspex5` : `admin resource` is deprecated, use just `admin`.
31
+ * **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)
32
+ * **global**: option `warnings` (and short `w`) is removed. To get ruby warnings invoke with `ruby -w .../ascli ...`. See `Makefile` in `test`
33
+ * **global**: option `table_style` now expects a Hash, not String.
34
+ * **bss**: Removed unused plugin.
35
+
3
36
  * 4.17.0
4
37
 
5
38
  * 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