aspera-cli 4.27.1 → 4.27.2
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 +17 -1
- data/docs/README.md +10 -10
- data/lib/aspera/cli/plugins/aoc.rb +6 -1
- data/lib/aspera/cli/version.rb +1 -1
- data/lib/aspera/command_line_builder.rb +1 -0
- data/lib/aspera/environment.rb +1 -1
- data/lib/aspera/schema/IBM Aspera on Cloud API-0.2.6-enhanced.yaml +39 -0
- data/lib/aspera/transfer/spec.schema.yaml +1 -0
- data.tar.gz.sig +0 -0
- metadata +1 -1
- 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: 0175000526a4dcbc1766f07f8bcf6124912dff8505663e7ee2b1f871f6a42380
|
|
4
|
+
data.tar.gz: d67d6fd5871c17d440255a158de02e5112fdf3c57a512bc5ff1d93e7d9cff846
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65980ab8cddeae594ec2889baf99712827e521dd0070f66b3a74eb0c4030e99bee8c08f5b56914d5a32c7069c1d80247db3a3c974d53b95387a6989a3fc5c90d
|
|
7
|
+
data.tar.gz: 73b0b4ebbbf8eefcab707cf72fa890be96ebed21a59deb4b8b1a6023e442efc191b70fa1a324e47afb417bd0f223a562339cda8743acd282ed203408dfb6ad33
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changes (Release notes)
|
|
2
2
|
|
|
3
|
+
## 4.27.2
|
|
4
|
+
|
|
5
|
+
Released: 2026-09-18
|
|
6
|
+
|
|
7
|
+
### New Features
|
|
8
|
+
|
|
9
|
+
* `aoc`: Added `admin node update_status` to tell AoC to scan the node and get a new status.
|
|
10
|
+
* **Windows**: Zip installer supports per-user or global installation.
|
|
11
|
+
* **general**: Harden single file executable generation with `ocran`.
|
|
12
|
+
|
|
13
|
+
### Issues Fixed
|
|
14
|
+
|
|
15
|
+
* `direct`: Fixed #263: Boolean transfer spec parameter `preserve_times` was incorrectly generating ascp option: `-p true`. Leading to error message: `no remote host specified`. Now it correctly generates `-p`.
|
|
16
|
+
|
|
17
|
+
### Breaking Changes
|
|
18
|
+
|
|
3
19
|
## 4.27.1
|
|
4
20
|
|
|
5
21
|
Released: 2026-09-16
|
|
@@ -111,7 +127,7 @@ Released: 2026-05-28
|
|
|
111
127
|
### Issues Fixed
|
|
112
128
|
|
|
113
129
|
* `format`: In `table` format with option `flat_hash=yes`, fixed that some parameters were not shown. Moreover, (Node API: /info), if an array of hash with name/value keys is returned with one extra key, still apply simplification.
|
|
114
|
-
* **global**: Fixed #254.
|
|
130
|
+
* **global**: Fixed #254: Security for SDK installation.
|
|
115
131
|
|
|
116
132
|
### Breaking Changes
|
|
117
133
|
|
data/docs/README.md
CHANGED
|
@@ -11,7 +11,7 @@ EDITING GUIDELINES (developers and AI):
|
|
|
11
11
|
DO NOT EDIT: THIS FILE IS GENERATED, edit docs/README.erb.md.
|
|
12
12
|
PANDOC_DEFAULTS_BEGIN
|
|
13
13
|
metadata:
|
|
14
|
-
subtitle: "ascli 4.27.
|
|
14
|
+
subtitle: "ascli 4.27.2"
|
|
15
15
|
author: "Laurent Martin"
|
|
16
16
|
PANDOC_DEFAULTS_END
|
|
17
17
|
-->
|
|
@@ -145,8 +145,8 @@ This section walks you through your first interaction with `ascli` on Linux.
|
|
|
145
145
|
|
|
146
146
|
```shell
|
|
147
147
|
mkdir -p $HOME/bin
|
|
148
|
-
tar zxvf ascli.4.27.
|
|
149
|
-
mv ascli.4.27.
|
|
148
|
+
tar zxvf ascli.4.27.2.linux-x86_64.tgz
|
|
149
|
+
mv ascli.4.27.2.linux-x86_64 $HOME/bin/ascli
|
|
150
150
|
export PATH=$PATH:$HOME/bin
|
|
151
151
|
```
|
|
152
152
|
|
|
@@ -160,7 +160,7 @@ ascli -v
|
|
|
160
160
|
```
|
|
161
161
|
|
|
162
162
|
```text
|
|
163
|
-
4.27.
|
|
163
|
+
4.27.2
|
|
164
164
|
```
|
|
165
165
|
|
|
166
166
|
- Install the Aspera transfer runtime (tested version), as it is not included in the `ascli` package:
|
|
@@ -898,11 +898,11 @@ Alternatively, the necessary gems can be packaged into a `tar.gz` archive as fol
|
|
|
898
898
|
|
|
899
899
|
```shell
|
|
900
900
|
mkdir temp_folder
|
|
901
|
-
gem install aspera-cli:4.27.
|
|
901
|
+
gem install aspera-cli:4.27.2 --no-document --install-dir temp_folder
|
|
902
902
|
find temp_folder
|
|
903
|
-
mv temp_folder/cache aspera-cli-4.27.
|
|
903
|
+
mv temp_folder/cache aspera-cli-4.27.2-gems
|
|
904
904
|
rm -fr temp_folder
|
|
905
|
-
tar zcvf aspera-cli-4.27.
|
|
905
|
+
tar zcvf aspera-cli-4.27.2-gems aspera-cli-4.27.2-gems.tgz
|
|
906
906
|
```
|
|
907
907
|
|
|
908
908
|
#### Unix-like: Alternative installation using `rvm`
|
|
@@ -1036,7 +1036,7 @@ ascli -v
|
|
|
1036
1036
|
```
|
|
1037
1037
|
|
|
1038
1038
|
```text
|
|
1039
|
-
4.27.
|
|
1039
|
+
4.27.2
|
|
1040
1040
|
```
|
|
1041
1041
|
|
|
1042
1042
|
To keep persistency of configuration on the host, specify your user's configuration folder as a volume for the container.
|
|
@@ -4393,7 +4393,7 @@ ascli config ascp schema transferd --format=jsonpp
|
|
|
4393
4393
|
| `preserve_remote_acls` | `String` | Preserve remote access control lists.<br/>(A, T)<br/>Allowed values: `none`, `native`, `metafile`.<br/>Default: `none`.<br/>(`--remote-preserve-acls={enum}`) |
|
|
4394
4394
|
| `preserve_remote_extended_attrs` | `String` | Preserve remote extended attributes.<br/>(A, T)<br/>Allowed values: `none`, `native`, `metafile`.<br/>Default: `none`.<br/>(`--remote-preserve-xattrs={enum}`) |
|
|
4395
4395
|
| `preserve_source_access_time` | `Bool` | Preserve the time logged for when the source file was accessed.<br/>(A, T)<br/>(`--preserve-source-access-time`) |
|
|
4396
|
-
| `preserve_times` | `Bool` | Preserve file timestamps.<br/>(A, N, T)<br/>(`-p
|
|
4396
|
+
| `preserve_times` | `Bool` | Preserve file timestamps.<br/>(A, N, T)<br/>(`-p`) |
|
|
4397
4397
|
| `proxy` | `String` | Specify the address of the Aspera high-speed proxy server.<br/>`dnat(s)://[user[:password]@]server:port`<br/>Default ports for DNAT and DNATS protocols are 9091 and 9092.<br/>Password, if specified here, overrides the value of environment variable `ASPERA_PROXY_PASS`.<br/>(A)<br/>(`--proxy={string}`) |
|
|
4398
4398
|
| `rate_policy_allowed` | `String` | Specifies most aggressive rate policy that is allowed. Returned by node API.<br/>(C)<br/>Allowed values: `low`, `fair`, `high`, `fixed`. |
|
|
4399
4399
|
| `rate_policy` | `String` | The transfer rate policy to use when sharing bandwidth. Allowable values:<br/>- `high` : When sharing bandwidth, transfer at twice the rate of a transfer using a fair policy.<br/>- `fair` : (Default) Share bandwidth equally with other traffic.<br/>- `low` : Use only unused bandwidth.<br/>- `fixed` : Transfer at the target rate, regardless of the actual network capacity. Do not share bandwidth. Aspera recommends that you do not use this setting except under special circumstances, otherwise the destination storage can be damaged.<br/>Allowed values: `low`, `fair`, `high`, `fixed`.<br/>(`--policy={enum}`) |
|
|
@@ -5121,7 +5121,7 @@ Key query parameters:
|
|
|
5121
5121
|
```text
|
|
5122
5122
|
ascli -h
|
|
5123
5123
|
NAME
|
|
5124
|
-
ascli -- a command line tool for Aspera Applications (v4.27.
|
|
5124
|
+
ascli -- a command line tool for Aspera Applications (v4.27.2)
|
|
5125
5125
|
|
|
5126
5126
|
SYNOPSIS
|
|
5127
5127
|
ascli [GLOBAL_OPTIONS] <command> [OPTIONS] [ARGS]
|
|
@@ -500,7 +500,7 @@ module Aspera
|
|
|
500
500
|
group_membership: {list_fields: %w[id group_id member_type member_id], create_schema: false},
|
|
501
501
|
kms_profile: {path: 'integrations/kms_profiles', create_schema: false},
|
|
502
502
|
network_policy: {list_fields: nil},
|
|
503
|
-
node: {list_fields: %w[id name host access_key], extra_ops: %i[do bearer_token], extra_op_args: {bearer_token: [{name: :scope, mandatory: false, default: nil}]}},
|
|
503
|
+
node: {list_fields: %w[id name host access_key], extra_ops: %i[do bearer_token update_status], extra_op_args: {bearer_token: [{name: :scope, mandatory: false, default: nil}]}},
|
|
504
504
|
operation: {list_fields: %w[id type status created_at updated_at workspace_id user_id workspace_membership_id group_membership_id], ops: %i[list show modify]},
|
|
505
505
|
organization: {singleton: true},
|
|
506
506
|
package: {},
|
|
@@ -1484,6 +1484,11 @@ module Aspera
|
|
|
1484
1484
|
Result::Text.new(node_api.oauth.authorization)
|
|
1485
1485
|
end
|
|
1486
1486
|
|
|
1487
|
+
# admin > node > update_status
|
|
1488
|
+
def action_admin_node_update_status(node_id:, **)
|
|
1489
|
+
Result::SingleObject.new(aoc_api.read("#{aoc_res_path(:node)}/#{node_id}/update_status"), fields: %w[status error_time error_message])
|
|
1490
|
+
end
|
|
1491
|
+
|
|
1487
1492
|
# admin > workspace > dropbox — res_id: already in ctx via arguments:(:identifier)
|
|
1488
1493
|
def setup_admin_workspace_dropbox(workspace_id:, **)
|
|
1489
1494
|
{ws_res_id: workspace_id}
|
data/lib/aspera/cli/version.rb
CHANGED
|
@@ -70,6 +70,7 @@ module Aspera
|
|
|
70
70
|
Aspera.assert(unsupported_keys.empty?) { "Unsupported definition keys: #{unsupported_keys}" }
|
|
71
71
|
Aspera.assert(node.key?('type') || node.key?('enum')) { "Missing type for #{name} in #{schema.current.dig('description').current}" }
|
|
72
72
|
Aspera.assert(node['type'].eql?('boolean')) { "switch must be bool: #{name}" } if node['x-cli-switch'] && !node['x-cli-special']
|
|
73
|
+
Aspera.assert(node['x-cli-switch']) { "boolean direct option must have x-cli-switch: #{name}" } if node['type'].eql?('boolean') && node.key?('x-cli-option') && supported_by_agent(:direct, node) && !node['x-cli-special']
|
|
73
74
|
node['x-cli-option'] = "--#{name.to_s.tr('_', '-')}" if node['x-cli-option'].eql?(true) || (node['x-cli-switch'].eql?(true) && !node.key?('x-cli-option'))
|
|
74
75
|
Aspera.assert(DIRECT_PROPERTIES.any? { |i| node.key?(i) }, name, type: :warn) if ascp && supported_by_agent(:direct, node)
|
|
75
76
|
node.freeze
|
data/lib/aspera/environment.rb
CHANGED
|
@@ -2296,6 +2296,43 @@ paths:
|
|
|
2296
2296
|
description: Internal Server Error
|
|
2297
2297
|
tags:
|
|
2298
2298
|
- Nodes
|
|
2299
|
+
/nodes/{id}/update_status:
|
|
2300
|
+
get:
|
|
2301
|
+
operationId: get_node_update_status
|
|
2302
|
+
summary: Get Node Update Status
|
|
2303
|
+
description: Retrieve the update status of a specific transfer node, including any error information.
|
|
2304
|
+
parameters:
|
|
2305
|
+
- name: id
|
|
2306
|
+
in: path
|
|
2307
|
+
required: true
|
|
2308
|
+
schema:
|
|
2309
|
+
type: string
|
|
2310
|
+
description: Unique identifier of the node.
|
|
2311
|
+
responses:
|
|
2312
|
+
'200':
|
|
2313
|
+
description: OK
|
|
2314
|
+
content:
|
|
2315
|
+
application/json:
|
|
2316
|
+
schema:
|
|
2317
|
+
$ref: '#/components/schemas/node_update_status_response'
|
|
2318
|
+
'400':
|
|
2319
|
+
description: Bad Request
|
|
2320
|
+
'401':
|
|
2321
|
+
description: Unauthorized
|
|
2322
|
+
content:
|
|
2323
|
+
application/json:
|
|
2324
|
+
schema:
|
|
2325
|
+
$ref: '#/components/schemas/UnauthorizedError'
|
|
2326
|
+
'404':
|
|
2327
|
+
description: Not Found
|
|
2328
|
+
content:
|
|
2329
|
+
application/json:
|
|
2330
|
+
schema:
|
|
2331
|
+
$ref: '#/components/schemas/NotFoundError'
|
|
2332
|
+
'500':
|
|
2333
|
+
description: Internal Server Error
|
|
2334
|
+
tags:
|
|
2335
|
+
- Nodes
|
|
2299
2336
|
/organizations/{id}:
|
|
2300
2337
|
get:
|
|
2301
2338
|
operationId: get_organization
|
|
@@ -8232,6 +8269,8 @@ components:
|
|
|
8232
8269
|
type: string
|
|
8233
8270
|
examples:
|
|
8234
8271
|
- '2'
|
|
8272
|
+
node_update_status_response:
|
|
8273
|
+
$ref: '#/components/schemas/nodes_response'
|
|
8235
8274
|
organizations_response:
|
|
8236
8275
|
type: object
|
|
8237
8276
|
properties:
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|