aspera-cli 4.19.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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +46 -0
- data/CONTRIBUTING.md +18 -4
- data/README.md +886 -510
- data/bin/asession +27 -20
- data/examples/build_exec +65 -76
- data/examples/build_exec_rubyc +40 -0
- data/examples/get_proto_file.rb +7 -0
- data/lib/aspera/agent/alpha.rb +18 -24
- data/lib/aspera/agent/base.rb +2 -18
- data/lib/aspera/agent/connect.rb +34 -15
- data/lib/aspera/agent/direct.rb +44 -54
- data/lib/aspera/agent/httpgw.rb +2 -3
- data/lib/aspera/agent/node.rb +11 -21
- data/lib/aspera/agent/{trsdk.rb → transferd.rb} +27 -51
- data/lib/aspera/api/alee.rb +15 -0
- data/lib/aspera/api/aoc.rb +139 -105
- data/lib/aspera/api/ats.rb +1 -1
- data/lib/aspera/api/cos_node.rb +1 -1
- data/lib/aspera/api/httpgw.rb +15 -10
- data/lib/aspera/api/node.rb +70 -32
- data/lib/aspera/ascmd.rb +56 -48
- data/lib/aspera/ascp/installation.rb +166 -70
- data/lib/aspera/ascp/management.rb +30 -8
- data/lib/aspera/assert.rb +10 -5
- data/lib/aspera/cli/formatter.rb +166 -162
- data/lib/aspera/cli/hints.rb +2 -1
- data/lib/aspera/cli/info.rb +12 -10
- data/lib/aspera/cli/main.rb +28 -13
- data/lib/aspera/cli/manager.rb +7 -2
- data/lib/aspera/cli/plugin.rb +17 -31
- data/lib/aspera/cli/plugins/alee.rb +3 -3
- data/lib/aspera/cli/plugins/aoc.rb +246 -208
- data/lib/aspera/cli/plugins/ats.rb +16 -14
- data/lib/aspera/cli/plugins/config.rb +154 -94
- data/lib/aspera/cli/plugins/console.rb +3 -3
- data/lib/aspera/cli/plugins/cos.rb +1 -0
- data/lib/aspera/cli/plugins/faspex.rb +15 -23
- data/lib/aspera/cli/plugins/faspex5.rb +64 -50
- data/lib/aspera/cli/plugins/faspio.rb +2 -2
- data/lib/aspera/cli/plugins/httpgw.rb +1 -1
- data/lib/aspera/cli/plugins/node.rb +174 -109
- data/lib/aspera/cli/plugins/orchestrator.rb +14 -13
- data/lib/aspera/cli/plugins/preview.rb +8 -9
- data/lib/aspera/cli/plugins/server.rb +5 -9
- data/lib/aspera/cli/plugins/shares.rb +2 -2
- data/lib/aspera/cli/sync_actions.rb +2 -2
- data/lib/aspera/cli/transfer_agent.rb +12 -14
- data/lib/aspera/cli/transfer_progress.rb +37 -17
- data/lib/aspera/cli/version.rb +1 -1
- data/lib/aspera/command_line_builder.rb +4 -5
- data/lib/aspera/coverage.rb +13 -1
- data/lib/aspera/environment.rb +75 -25
- data/lib/aspera/faspex_gw.rb +2 -2
- data/lib/aspera/json_rpc.rb +1 -1
- data/lib/aspera/keychain/macos_security.rb +7 -12
- data/lib/aspera/log.rb +3 -4
- data/lib/aspera/node_simulator.rb +230 -112
- data/lib/aspera/oauth/base.rb +64 -83
- data/lib/aspera/oauth/factory.rb +52 -6
- data/lib/aspera/oauth/generic.rb +4 -8
- data/lib/aspera/oauth/jwt.rb +6 -3
- data/lib/aspera/oauth/url_json.rb +1 -2
- data/lib/aspera/oauth/web.rb +5 -2
- data/lib/aspera/persistency_action_once.rb +16 -8
- data/lib/aspera/persistency_folder.rb +20 -2
- data/lib/aspera/preview/generator.rb +1 -1
- data/lib/aspera/preview/utils.rb +11 -17
- data/lib/aspera/products/alpha.rb +30 -0
- data/lib/aspera/products/connect.rb +48 -0
- data/lib/aspera/products/other.rb +82 -0
- data/lib/aspera/products/transferd.rb +54 -0
- data/lib/aspera/rest.rb +116 -87
- data/lib/aspera/secret_hider.rb +2 -2
- data/lib/aspera/ssh.rb +31 -24
- data/lib/aspera/transfer/faux_file.rb +4 -4
- data/lib/aspera/transfer/parameters.rb +16 -17
- data/lib/aspera/transfer/spec.rb +12 -12
- data/lib/aspera/transfer/spec.yaml +22 -20
- data/lib/aspera/transfer/sync.rb +2 -10
- data/lib/aspera/transfer/uri.rb +3 -3
- data/lib/aspera/uri_reader.rb +1 -1
- data/lib/aspera/web_auth.rb +166 -17
- data/lib/aspera/web_server_simple.rb +4 -3
- data/lib/transferd_pb.rb +86 -0
- data/lib/transferd_services_pb.rb +84 -0
- data.tar.gz.sig +0 -0
- metadata +58 -22
- metadata.gz.sig +0 -0
- data/lib/aspera/ascp/products.rb +0 -156
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94d8abaf1bf8e938fe9ef79a7f0ecc06870b799d44acb0783a8638e88be8585d
|
4
|
+
data.tar.gz: b8aeca6b8c34446aac0f4b54fac0ee52db502a6e28149583e30536cc7ba3ab58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e90b2de02a88fc84ca2e97df962f054200e14c8c2020dd1a1f42f271b15e0f8ca1e67a4ffaefda7c10f6a69c28611a83d400e140c8ccc9e4edb6f56399db8fe8
|
7
|
+
data.tar.gz: 6688107fb04c162b4c18bcc45c1450c73170ecae5d430af782ba596e5879fdaf0ecd01020e8ba48c2b39a543d3f0bb3b88f689242ee98714cfa6bd658b92b520
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,52 @@
|
|
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
|
+
|
29
|
+
* 4.20.0
|
30
|
+
|
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`.
|
32
|
+
|
33
|
+
* New Features:
|
34
|
+
* `aoc`: Improved usability for creation of Admin shared folders.
|
35
|
+
* `node`: New option `node_cache` (bool) for gen4 operations.
|
36
|
+
* `node`: Option `root_id` now works always for node gen4, as well as `%id:` for file selection in addition to path.
|
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.
|
39
|
+
* Issues Fixed:
|
40
|
+
* `aoc`: Fixed `find` command not working. (undefined variable)
|
41
|
+
* `aoc`: #165 aoc mkdir now follows the last link of containing folder
|
42
|
+
* Breaking Changes:
|
43
|
+
* Internal: Basic REST calls now return data directly. (no more `data` key). For advanced calls, use `call`.
|
44
|
+
* Internal: Transfer SDK download is now a 2-step procedure: First get the YAML file from github with URLS for the various platforms and versions, and then download the archive from the official IBM repository.
|
45
|
+
**global**: option `format=multi` is replaced with option `multi_table=yes`
|
46
|
+
* `faspex5`: removed deprecated option `value` replaced with positional parameter.
|
47
|
+
|
3
48
|
* 4.19.0
|
49
|
+
|
4
50
|
* New Features:
|
5
51
|
* `server`: add support for `async` (Aspera Sync) from Transfer SDK
|
6
52
|
* **global**: #156 support sending folders with httpgw
|
data/CONTRIBUTING.md
CHANGED
@@ -226,6 +226,16 @@ Then procedure is as follows:
|
|
226
226
|
SIGNING_KEY=/path/to/vault/gem-private_key.pem make check-cert-key
|
227
227
|
```
|
228
228
|
|
229
|
+
### gRPC stubs for transfer SDK
|
230
|
+
|
231
|
+
Update with:
|
232
|
+
|
233
|
+
```bash
|
234
|
+
make grpc
|
235
|
+
```
|
236
|
+
|
237
|
+
It downloads the latest proto file and then compiles it.
|
238
|
+
|
229
239
|
## Docker image build
|
230
240
|
|
231
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.
|
@@ -255,11 +265,11 @@ make docker_push
|
|
255
265
|
|
256
266
|
### Specific version image build
|
257
267
|
|
258
|
-
To build a specific version:
|
268
|
+
To build a specific version: override `make` macro `GEM_VERSION`:
|
259
269
|
|
260
270
|
```bash
|
261
|
-
GEM_VERSION=4.11.0
|
262
|
-
GEM_VERSION=4.11.0
|
271
|
+
make docker GEM_VERSION=4.11.0
|
272
|
+
make docker_push GEM_VERSION=4.11.0
|
263
273
|
```
|
264
274
|
|
265
275
|
> **Note:** This does not use the locally generated gem file.
|
@@ -280,10 +290,14 @@ make docker_push_beta
|
|
280
290
|
|
281
291
|
Initially, `rubyc` (gem [`ruby-packer`](https://github.com/pmq20/ruby-packer) and [here](https://github.com/you54f/ruby-packer)) was used to build a single executable.
|
282
292
|
|
283
|
-
https://www.tebako.org
|
293
|
+
<https://www.tebako.org/>
|
284
294
|
|
285
295
|
A modern version of this is now used: [`tebako`](https://github.com/tamatebako/tebako) for which a container is provided.
|
286
296
|
|
297
|
+
```bash
|
298
|
+
make single GEM_VERSION=4.11.0
|
299
|
+
```
|
300
|
+
|
287
301
|
## Long Term Implementation and delivery improvements
|
288
302
|
|
289
303
|
- replace rest and oauth classes with ruby standard gems:
|