aspera-cli 4.18.1 → 4.20.0
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 +33 -0
- data/CONTRIBUTING.md +17 -12
- data/README.md +396 -185
- data/bin/asession +26 -19
- data/examples/build_exec +74 -0
- data/examples/{rubyc → build_exec_rubyc} +18 -2
- data/examples/get_proto_file.rb +7 -0
- data/lib/aspera/agent/alpha.rb +8 -8
- data/lib/aspera/agent/base.rb +4 -18
- data/lib/aspera/agent/connect.rb +14 -13
- data/lib/aspera/agent/direct.rb +123 -120
- data/lib/aspera/agent/httpgw.rb +2 -3
- data/lib/aspera/agent/node.rb +10 -10
- data/lib/aspera/agent/trsdk.rb +17 -20
- data/lib/aspera/api/alee.rb +15 -0
- data/lib/aspera/api/aoc.rb +128 -99
- data/lib/aspera/api/ats.rb +1 -1
- data/lib/aspera/api/cos_node.rb +1 -1
- data/lib/aspera/api/httpgw.rb +104 -64
- data/lib/aspera/api/node.rb +33 -12
- data/lib/aspera/ascmd.rb +56 -48
- data/lib/aspera/ascp/installation.rb +142 -70
- data/lib/aspera/ascp/management.rb +7 -3
- data/lib/aspera/ascp/products.rb +13 -7
- data/lib/aspera/assert.rb +10 -5
- data/lib/aspera/cli/formatter.rb +42 -26
- data/lib/aspera/cli/hints.rb +2 -1
- data/lib/aspera/cli/info.rb +12 -10
- data/lib/aspera/cli/main.rb +16 -13
- data/lib/aspera/cli/manager.rb +15 -10
- data/lib/aspera/cli/plugin.rb +17 -31
- data/lib/aspera/cli/plugin_factory.rb +10 -1
- data/lib/aspera/cli/plugins/alee.rb +3 -3
- data/lib/aspera/cli/plugins/aoc.rb +222 -194
- data/lib/aspera/cli/plugins/ats.rb +16 -14
- data/lib/aspera/cli/plugins/config.rb +66 -53
- data/lib/aspera/cli/plugins/console.rb +3 -3
- data/lib/aspera/cli/plugins/faspex.rb +11 -21
- data/lib/aspera/cli/plugins/faspex5.rb +44 -42
- 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 +155 -96
- 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 +6 -10
- data/lib/aspera/cli/plugins/shares.rb +13 -9
- data/lib/aspera/cli/sync_actions.rb +72 -31
- data/lib/aspera/cli/transfer_agent.rb +13 -14
- data/lib/aspera/cli/transfer_progress.rb +36 -18
- data/lib/aspera/cli/version.rb +1 -1
- data/lib/aspera/command_line_builder.rb +3 -4
- data/lib/aspera/coverage.rb +13 -1
- data/lib/aspera/environment.rb +59 -10
- data/lib/aspera/faspex_gw.rb +3 -3
- data/lib/aspera/json_rpc.rb +1 -1
- data/lib/aspera/keychain/encrypted_hash.rb +2 -0
- data/lib/aspera/keychain/macos_security.rb +7 -12
- data/lib/aspera/log.rb +4 -4
- data/lib/aspera/node_simulator.rb +1 -1
- data/lib/aspera/oauth/base.rb +39 -45
- data/lib/aspera/oauth/factory.rb +11 -4
- data/lib/aspera/oauth/generic.rb +4 -8
- data/lib/aspera/oauth/jwt.rb +4 -4
- data/lib/aspera/oauth/url_json.rb +3 -2
- data/lib/aspera/oauth/web.rb +10 -6
- data/lib/aspera/persistency_action_once.rb +16 -8
- data/lib/aspera/preview/utils.rb +5 -16
- data/lib/aspera/rest.rb +100 -76
- data/lib/aspera/secret_hider.rb +3 -2
- data/lib/aspera/ssh.rb +1 -1
- data/lib/aspera/transfer/faux_file.rb +7 -5
- data/lib/aspera/transfer/parameters.rb +41 -35
- data/lib/aspera/transfer/spec.rb +16 -18
- data/lib/aspera/transfer/sync.rb +51 -50
- data/lib/aspera/transfer/uri.rb +1 -1
- data/lib/aspera/uri_reader.rb +1 -1
- data/lib/aspera/web_auth.rb +166 -18
- data/lib/aspera/web_server_simple.rb +27 -15
- data/lib/transfer_pb.rb +84 -0
- data/lib/transfer_services_pb.rb +82 -0
- data.tar.gz.sig +0 -0
- metadata +25 -6
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fb5a0fc5c22da5479bff1858e9bedd7188e7622c751f7560af1f0ce318fffc9
|
4
|
+
data.tar.gz: 22cb2c17972d50bc198a63cce4c8a29dbb52dc184fa1ffda6a220cd793ef4e28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e468ed7fae059b54a56402bf4a1e414eb28cfe527325f22f645b9bfe754ba2a2084298186b6a0afceef8698e87a914045132c1126ab39d7b75163dc50d4440f
|
7
|
+
data.tar.gz: 4c774e429d9b364b3e5382873e4926fecd355b2d5504af30a7ce5814cc556c5686c50c309ba10f89ba5e1e6666651fcd195266d043d27be5cc77f9abad4735e3
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,39 @@
|
|
1
1
|
# Changes (Release notes)
|
2
2
|
|
3
|
+
* 4.20.0
|
4
|
+
|
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.
|
6
|
+
|
7
|
+
* New Features:
|
8
|
+
* `aoc`: Improved usability for creation of Admin shared folders.
|
9
|
+
* `node`: New option `node_cache` (bool) for gen4 operations.
|
10
|
+
* `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.
|
13
|
+
* Issues Fixed:
|
14
|
+
* `aoc`: Fixed `find` command not working. (undefined variable)
|
15
|
+
* `aoc`: #165 aoc mkdir now follows the last link of containing folder
|
16
|
+
* Breaking Changes:
|
17
|
+
* Internal: Basic REST calls now return data directly. (no more `data` key). For advanced calls, use `call`.
|
18
|
+
* 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.
|
19
|
+
**global**: option `format=multi` is replaced with option `multi_table=yes`
|
20
|
+
* `faspex5`: removed deprecated option `value` replaced with positional parameter.
|
21
|
+
|
22
|
+
* 4.19.0
|
23
|
+
|
24
|
+
* New Features:
|
25
|
+
* `server`: add support for `async` (Aspera Sync) from Transfer SDK
|
26
|
+
* **global**: #156 support sending folders with httpgw
|
27
|
+
* **global**: new value for option `format`: `multi`
|
28
|
+
* Issues Fixed:
|
29
|
+
* `aoc`: #157 fix problem with `files browse` on a link
|
30
|
+
* `sync`: better documentation and handling of options.
|
31
|
+
* Breaking Changes:
|
32
|
+
* **global**: Default value for direct agent option `transfer_info.multi_incr_udp` is `true` on Windows, and now `false` on other platforms.
|
33
|
+
* **global**: Token based transfers now use the RSA key only. Direct agent option `transfer_info.client_ssh_key` allows changing this behavior.
|
34
|
+
|
3
35
|
* 4.18.1
|
36
|
+
|
4
37
|
* New Features:
|
5
38
|
* none
|
6
39
|
* Issues Fixed:
|
data/CONTRIBUTING.md
CHANGED
@@ -226,9 +226,17 @@ 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
|
+
|
229
237
|
## Docker image build
|
230
238
|
|
231
|
-
The Dockerfile template allows
|
239
|
+
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.
|
232
240
|
|
233
241
|
### Default image build
|
234
242
|
|
@@ -255,11 +263,11 @@ make docker_push
|
|
255
263
|
|
256
264
|
### Specific version image build
|
257
265
|
|
258
|
-
To build a specific version:
|
266
|
+
To build a specific version: override `make` macro `GEM_VERSION`:
|
259
267
|
|
260
268
|
```bash
|
261
|
-
GEM_VERSION=4.11.0
|
262
|
-
GEM_VERSION=4.11.0
|
269
|
+
make docker GEM_VERSION=4.11.0
|
270
|
+
make docker_push GEM_VERSION=4.11.0
|
263
271
|
```
|
264
272
|
|
265
273
|
> **Note:** This does not use the locally generated gem file.
|
@@ -278,18 +286,14 @@ make docker_push_beta
|
|
278
286
|
|
279
287
|
## Single executable build
|
280
288
|
|
281
|
-
|
282
|
-
|
283
|
-
```bash
|
284
|
-
make single
|
285
|
-
```
|
289
|
+
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.
|
286
290
|
|
287
|
-
|
291
|
+
<https://www.tebako.org/>
|
288
292
|
|
289
|
-
|
293
|
+
A modern version of this is now used: [`tebako`](https://github.com/tamatebako/tebako) for which a container is provided.
|
290
294
|
|
291
295
|
```bash
|
292
|
-
|
296
|
+
make single GEM_VERSION=4.11.0
|
293
297
|
```
|
294
298
|
|
295
299
|
## Long Term Implementation and delivery improvements
|
@@ -299,3 +303,4 @@ sudo dnf install -y perl perl-FindBin perl-IPC-Cmd
|
|
299
303
|
- <https://github.com/oauth-xx/oauth2>
|
300
304
|
- use gem Thor <http://whatisthor.com/> (or other standard Ruby CLI manager)
|
301
305
|
- Package a single-file executable for various architectures with <https://github.com/pmq20/ruby-packer> (`rubyc`)
|
306
|
+
- look at <https://github.com/phusion/traveling-ruby>
|