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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cd55cd81317773b0a3db9df127c37d38c7d4eb4b3740c12d9e950a175cdb3b7
4
- data.tar.gz: 8cf2aa9a26337d022f920ed616f61beaf45ee13a47e22f2908c374a1124a094c
3
+ metadata.gz: 0175000526a4dcbc1766f07f8bcf6124912dff8505663e7ee2b1f871f6a42380
4
+ data.tar.gz: d67d6fd5871c17d440255a158de02e5112fdf3c57a512bc5ff1d93e7d9cff846
5
5
  SHA512:
6
- metadata.gz: 66e364c4c859eb7b1495ba55095d0b737e87fb3c450fe3017f0848b8002ff686cdcd2f3ddc3054c20f524401489bfeda634a6c663e78ed217ae09e964bbc8e6e
7
- data.tar.gz: c117f95520d0d36bfa37c8a0cbac78727f0b085b89a22d0fa7318a1918d6510fa37a7cf01754ff7f8e45b7b43696e8fa26fda743ec74a03b5a67220846de6ac6
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.1"
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.1.linux-x86_64.tgz
149
- mv ascli.4.27.1.linux-x86_64 $HOME/bin/ascli
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.1
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.1 --no-document --install-dir temp_folder
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.1-gems
903
+ mv temp_folder/cache aspera-cli-4.27.2-gems
904
904
  rm -fr temp_folder
905
- tar zcvf aspera-cli-4.27.1-gems aspera-cli-4.27.1-gems.tgz
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.1
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 {boolean}`) |
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.1)
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}
@@ -4,6 +4,6 @@ module Aspera
4
4
  module Cli
5
5
  # For beta add extension : .beta1
6
6
  # For dev version add extension : .pre
7
- VERSION = '4.27.1'
7
+ VERSION = '4.27.2'
8
8
  end
9
9
  end
@@ -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
@@ -237,7 +237,7 @@ module Aspera
237
237
  OS_WINDOWS
238
238
  when /darwin/, /mac os/
239
239
  OS_MACOS
240
- when /linux/
240
+ when /linux/, /cosmo/
241
241
  OS_LINUX
242
242
  when /aix/
243
243
  OS_AIX
@@ -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:
@@ -478,6 +478,7 @@ properties:
478
478
  - direct
479
479
  - transferd
480
480
  - node
481
+ x-cli-switch: true
481
482
  x-cli-option: -p
482
483
  rate_policy:
483
484
  description: >-
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspera-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.27.1
4
+ version: 4.27.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent Martin
metadata.gz.sig CHANGED
Binary file