aspera-cli 4.13.0 → 4.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +28 -5
  4. data/CONTRIBUTING.md +17 -1
  5. data/README.md +782 -401
  6. data/examples/dascli +1 -1
  7. data/examples/rubyc +24 -0
  8. data/lib/aspera/aoc.rb +21 -32
  9. data/lib/aspera/ascmd.rb +1 -0
  10. data/lib/aspera/cli/basic_auth_plugin.rb +6 -6
  11. data/lib/aspera/cli/formatter.rb +17 -25
  12. data/lib/aspera/cli/main.rb +21 -27
  13. data/lib/aspera/cli/manager.rb +128 -114
  14. data/lib/aspera/cli/plugin.rb +87 -38
  15. data/lib/aspera/cli/plugins/alee.rb +2 -2
  16. data/lib/aspera/cli/plugins/aoc.rb +216 -102
  17. data/lib/aspera/cli/plugins/ats.rb +16 -18
  18. data/lib/aspera/cli/plugins/bss.rb +3 -3
  19. data/lib/aspera/cli/plugins/config.rb +177 -367
  20. data/lib/aspera/cli/plugins/console.rb +4 -6
  21. data/lib/aspera/cli/plugins/cos.rb +12 -13
  22. data/lib/aspera/cli/plugins/faspex.rb +17 -18
  23. data/lib/aspera/cli/plugins/faspex5.rb +332 -216
  24. data/lib/aspera/cli/plugins/node.rb +171 -142
  25. data/lib/aspera/cli/plugins/orchestrator.rb +15 -18
  26. data/lib/aspera/cli/plugins/preview.rb +38 -60
  27. data/lib/aspera/cli/plugins/server.rb +22 -15
  28. data/lib/aspera/cli/plugins/shares.rb +24 -33
  29. data/lib/aspera/cli/plugins/sync.rb +3 -3
  30. data/lib/aspera/cli/transfer_agent.rb +29 -26
  31. data/lib/aspera/cli/version.rb +1 -1
  32. data/lib/aspera/colors.rb +9 -7
  33. data/lib/aspera/data/6 +0 -0
  34. data/lib/aspera/environment.rb +7 -3
  35. data/lib/aspera/fasp/agent_connect.rb +5 -0
  36. data/lib/aspera/fasp/agent_direct.rb +5 -5
  37. data/lib/aspera/fasp/agent_httpgw.rb +138 -60
  38. data/lib/aspera/fasp/agent_trsdk.rb +2 -0
  39. data/lib/aspera/fasp/error_info.rb +2 -0
  40. data/lib/aspera/fasp/installation.rb +18 -19
  41. data/lib/aspera/fasp/parameters.rb +18 -17
  42. data/lib/aspera/fasp/parameters.yaml +2 -1
  43. data/lib/aspera/fasp/resume_policy.rb +3 -3
  44. data/lib/aspera/fasp/transfer_spec.rb +6 -5
  45. data/lib/aspera/fasp/uri.rb +23 -21
  46. data/lib/aspera/faspex_postproc.rb +1 -1
  47. data/lib/aspera/hash_ext.rb +12 -2
  48. data/lib/aspera/keychain/macos_security.rb +13 -13
  49. data/lib/aspera/log.rb +1 -0
  50. data/lib/aspera/node.rb +62 -80
  51. data/lib/aspera/oauth.rb +1 -1
  52. data/lib/aspera/persistency_action_once.rb +1 -1
  53. data/lib/aspera/preview/terminal.rb +61 -15
  54. data/lib/aspera/preview/utils.rb +3 -3
  55. data/lib/aspera/proxy_auto_config.js +2 -2
  56. data/lib/aspera/rest.rb +37 -0
  57. data/lib/aspera/secret_hider.rb +6 -1
  58. data/lib/aspera/ssh.rb +1 -1
  59. data/lib/aspera/sync.rb +2 -0
  60. data.tar.gz.sig +0 -0
  61. metadata +3 -4
  62. metadata.gz.sig +0 -0
  63. data/docs/test_env.conf +0 -186
  64. data/lib/aspera/data/7 +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86109a9ac1ef2f30ea4fd192b5535367d72ca679bcf588f86452289cf451dc72
4
- data.tar.gz: 94d5d460d4ed2ab49637119711f03e81f2ab1793e75f8f6c5da098c8d93c26dc
3
+ metadata.gz: 98bd3e1d6ade2f96ff4ddbf4ae825e1926f56990b6552ff22aab6007546fd32e
4
+ data.tar.gz: edab64f8c8a7108a4614f4f5b7494ddb73611587c54bf6a4c270385303d9d53b
5
5
  SHA512:
6
- metadata.gz: '05729a6bcf5db7f2831883e2da68c2fc3e3cc542ea3fb7969a5095b87d094b0cc98845ac73f300865f358ff70751cdbde4cab16dc10349076168e5266c62a98a'
7
- data.tar.gz: 7ebdeaaf9a8408137f7057665f0b8e12f6314f2328cd235be78cfd531df9ffa422f0574331d3fed2436fd3e97f3aff452c9ce778dc06112fc012f6e48b5adaf8
6
+ metadata.gz: 26c290fd4cd0d6d2a564b8e8dacaab4f584a0548c096999870b43dc755128faf23db58105ccbc16f424aac5384e79a51d07eada5e7a82e66b3d76abec69ad8e7
7
+ data.tar.gz: 1ee2fe285c913db6851ac97198d73c7159972c35c3c30e2b57342d226d0387e4940df19b7bd737769bfac3b2ab74fec3813d41a1f70c2d39e5202c20c35b8369
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changes (Release notes)
2
2
 
3
+ * 4.14.0
4
+
5
+ * new: server: option `passphrase` for simpler command line (#114)
6
+ * new: percent selector for entities identifier
7
+ * new: faspex5: shared inbox and workgroup membership management
8
+ * new: faspex5: invite external user to shared inbox
9
+ * new: faspex5: package list and receive from workgroups and shared inboxes
10
+ * new: config: Command `ascp info` shows default transfer spec.
11
+ * new: httpgw: synchronous and asynchronous upload modes
12
+ * new: node: command `bandwidth_average` to get average bandwidth of node, per periods
13
+ * fix: option `ts`: deep add and remove of keys. (#117)
14
+ * fix: faspex5: user lookup for `packages send` shall be exact match (#120)
15
+ * fix: direct: if transfer spec contains "paths" and elements with "destination", but first element has only "source", then destinations were ignored. Now "destination" all or none is enforced.
16
+ * change: using `aoc files` or node gen4 operations (`browse`, `delete`) on a link will follow the link only if path ends with /
17
+ * change: shares: command `repository` is changed to `files` for consistency with aoc and upcoming faspex5, but is still available as alias
18
+ * change: aoc: better handling of shared links
19
+ * change: global: option `value` is deprecated. Use positional parameter for creation data and option `query` for list/delete operations.
20
+ * change: config: remove deprecated command: `export_to_cli`
21
+ * change: config: removed all legacy preset command, newer command `preset` shall be used now.
22
+ * change: config: SDK is now installed in $HOME/.aspera/sdk instead of $HOME/.aspera/ascli/sdk
23
+ * change(break): aoc/node: Simplification: gen4 operations: show modify permission thumbnail are now directly under node gen 4 command. Command `file` is suppressed. Option `path` is suppressed. The default expected argument is a path. To provide a file id, use selector syntax: %id:_file_id_
24
+ * change(break): node: option `token_type` is removed, as starting with HSTS 4.3 basic token is only allowed with access keys, so use gen4 operations: `acc do self`
25
+
3
26
  * 4.13.0
4
27
 
5
28
  * new: preview: option `reencode_ffmpeg` allows overriding all re-encoding options
@@ -189,7 +212,7 @@
189
212
  * new: agent `http_gw` now supports upload
190
213
  * new: added option `sdk_url` to install SDK from local file for offline install
191
214
  * new: check new gem version periodically
192
- * new: the --fields= option, support -_fieldname_ to remove a field from default fields
215
+ * new: the --fields= option, support -_field_name_ to remove a field from default fields
193
216
  * new: Oauth tokens are discarded automatically after 30 minutes (useful for COS delegated refresh tokens)
194
217
  * new: mimemagic is now optional, needs manual install for `preview`, compatible with version 0.4.x
195
218
  * new: AoC a password can be provided for a public link
@@ -209,7 +232,7 @@
209
232
 
210
233
  * 0.11.8
211
234
 
212
- * Simplified to use `unoconv` instead of bare `libreoffice` for office conversion, as `unoconv` does not require a X server (previously using Xvfb)
235
+ * Simplified to use `unoconv` instead of bare `libreoffice` for office conversion, as `unoconv` does not require a X server (previously using `Xvfb`)
213
236
 
214
237
  * 0.11.7
215
238
 
@@ -330,7 +353,7 @@
330
353
  * 0.10.4
331
354
 
332
355
  * new options for AoC : `secrets`
333
- * ACLI-533 temp file list folder to use file lists is set by default, and used by `asession`
356
+ * `ACLI-533` temp file list folder to use file lists is set by default, and used by `asession`
334
357
 
335
358
  * 0.10.3
336
359
 
@@ -370,13 +393,13 @@
370
393
 
371
394
  * new command to display basic token of node
372
395
  * new command to display bearer token of node in AoC
373
- * the --fields= option, support +_fieldname_ to add a field to default fields
396
+ * the --fields= option, support +_field_name_ to add a field to default fields
374
397
  * many small changes
375
398
 
376
399
  * 0.9.32
377
400
 
378
401
  * all Faspex public links are now supported
379
- * removed faspex operation recv_publink
402
+ * removed faspex operation `recv_publink`
380
403
  * replaced with option `link` (consistent with AoC)
381
404
 
382
405
  * 0.9.31
data/CONTRIBUTING.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Contributing
2
-
2
+ <!-- cspell:words passin GEMVERS -->
3
3
  ## Reporting Issues and Vulnerabilities
4
4
 
5
5
  You can report issues at <https://github.com/IBM/aspera-cli/issues>
@@ -209,6 +209,22 @@ make dockerbeta
209
209
  make dpushversion
210
210
  ```
211
211
 
212
+ ## Single executable build
213
+
214
+ It is possible to build `ascli` as a single native executable using `rubyc` (gem `ruby-packer`).
215
+
216
+ ```bash
217
+ make single
218
+ ```
219
+
220
+ This is based on tool `rubyc` (gem `ruby-packer`): either place the executable in folder `tmp`, or the architecture-specific version will be automatically downloaded.
221
+
222
+ > **Note:** Perl Findbin is needed, install on Linux with:
223
+
224
+ ```bash
225
+ sudo dnf install -y perl perl-FindBin perl-IPC-Cmd
226
+ ```
227
+
212
228
  ## Long Term Implementation and delivery improvements
213
229
 
214
230
  - replace rest and oauth classes with ruby standard gems: