chore: initial sanitized public snapshot
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# CLI Golden Snapshots
|
||||
|
||||
This directory stores evidence-backed CLI compatibility snapshots captured from:
|
||||
|
||||
- upstream Windows aria2 `1.37.0`
|
||||
- the current local `aria2-rust-pro` binary
|
||||
|
||||
The current capture script is:
|
||||
|
||||
- `xtask compat capture-cli-goldens`
|
||||
- `scripts/compat/capture-cli-goldens.ps1` (thin compatibility shim)
|
||||
|
||||
It writes:
|
||||
|
||||
- `cli/upstream/version.txt`
|
||||
- `cli/upstream/help-all.txt`
|
||||
- `cli/rust/version.txt`
|
||||
- `cli/rust/help-all.txt`
|
||||
- `cli/manifest.json`
|
||||
|
||||
Run it from the repo root with:
|
||||
|
||||
```powershell
|
||||
rtk cargo run --manifest-path .\xtask\Cargo.toml -- compat capture-cli-goldens
|
||||
powershell -NoProfile -File .\scripts\compat\capture-cli-goldens.ps1
|
||||
```
|
||||
|
||||
These files are evidence. They do not claim parity by themselves.
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"generated_at_utc": "2026-05-27T02:54:18Z",
|
||||
"captured": [
|
||||
"upstream/version.txt",
|
||||
"upstream/help-all.txt",
|
||||
"rust/version.txt",
|
||||
"rust/help-all.txt"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,220 @@
|
||||
Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
|
||||
Printing all options.
|
||||
Options:
|
||||
-v, --version Print the version number and exit.
|
||||
Tags: #basic
|
||||
-h, --help[=TAG|KEYWORD] Print usage and exit.
|
||||
|
||||
Possible Values: #basic, #advanced, #http, #https, #ftp, #metalink, #bittorrent, #cookie, #hook, #file, #rpc, #checksum, #experimental, #deprecated, #help, #all
|
||||
Default: #basic
|
||||
Tags: #basic, #help
|
||||
--dir=PATH download target directory
|
||||
|
||||
Possible Values: /path/to/file
|
||||
Default: .
|
||||
Tags: #advanced, #basic
|
||||
--out=FILE output file name override
|
||||
|
||||
Possible Values: FILE
|
||||
Tags: #advanced, #basic
|
||||
--split=NUM piece split count
|
||||
|
||||
Possible Values: NUM
|
||||
Default: 5
|
||||
Tags: #advanced, #basic, #ftp, #http
|
||||
--continue[=true|false], -c resume partial download
|
||||
|
||||
Possible Values: true, false
|
||||
Default: false
|
||||
Tags: #advanced, #basic
|
||||
--enable-rpc[=true|false] enable rpc server
|
||||
|
||||
Possible Values: true, false
|
||||
Default: false
|
||||
Tags: #basic, #rpc
|
||||
--rpc-listen-port=PORT rpc tcp port
|
||||
|
||||
Possible Values: PORT
|
||||
Default: 6800
|
||||
Tags: #basic, #rpc
|
||||
--rpc-listen-all[=true|false] bind rpc server to all interfaces
|
||||
|
||||
Possible Values: true, false
|
||||
Default: false
|
||||
Tags: #basic, #rpc
|
||||
--rpc-secret=VALUE rpc auth token
|
||||
Tags: #basic, #rpc
|
||||
--listen-port=PORT bt tcp/udp listen port
|
||||
|
||||
Possible Values: PORT
|
||||
Default: 6881
|
||||
Tags: #basic, #bittorrent
|
||||
--dht-listen-port=PORT dht udp listen port
|
||||
|
||||
Possible Values: PORT
|
||||
Default: 6881
|
||||
Tags: #basic, #bittorrent
|
||||
--bt-tracker=URI,... bt tracker announce list
|
||||
|
||||
Possible Values: URI,...
|
||||
Tags: #basic, #bittorrent
|
||||
--on-download-complete=COMMAND completion hook command
|
||||
|
||||
Possible Values: COMMAND
|
||||
Tags: #advanced, #basic
|
||||
--on-download-stop=COMMAND stop hook command
|
||||
|
||||
Possible Values: COMMAND
|
||||
Tags: #advanced, #basic
|
||||
--disable-ipv6[=true|false] disable ipv6 sockets and resolution
|
||||
|
||||
Possible Values: true, false
|
||||
Default: true
|
||||
Tags: #basic
|
||||
--user-agent=VALUE, -U request user agent header
|
||||
Tags: #basic, #http
|
||||
--header=HEADER custom request headers
|
||||
|
||||
Possible Values: HEADER
|
||||
Tags: #basic, #http
|
||||
--all-proxy=URI generic proxy endpoint
|
||||
|
||||
Possible Values: URI
|
||||
Tags: #basic, #ftp, #http
|
||||
--http-proxy=URI http proxy endpoint
|
||||
|
||||
Possible Values: URI
|
||||
Tags: #basic, #ftp, #http
|
||||
--https-proxy=URI https proxy endpoint
|
||||
|
||||
Possible Values: URI
|
||||
Tags: #basic, #ftp, #http
|
||||
--no-proxy=HOST,... proxy bypass host list
|
||||
|
||||
Possible Values: HOST,...
|
||||
Tags: #basic, #ftp, #http
|
||||
--check-certificate[=true|false] verify peer and host certificates
|
||||
|
||||
Possible Values: true, false
|
||||
Default: true
|
||||
Tags: #basic, #https
|
||||
--ca-certificate=PATH ca certificate file
|
||||
|
||||
Possible Values: /path/to/file
|
||||
Tags: #basic, #https
|
||||
--certificate=PATH client certificate file
|
||||
|
||||
Possible Values: /path/to/file
|
||||
Tags: #basic, #https
|
||||
--private-key=PATH client private key file
|
||||
|
||||
Possible Values: /path/to/file
|
||||
Tags: #basic, #https
|
||||
--retry-wait=SEC retry delay in seconds
|
||||
|
||||
Possible Values: SEC
|
||||
Default: 0
|
||||
Tags: #basic, #http
|
||||
--max-tries=NUM maximum retry attempts
|
||||
|
||||
Possible Values: NUM
|
||||
Default: 5
|
||||
Tags: #basic, #http
|
||||
--bt-save-metadata[=true|false] save metadata file
|
||||
|
||||
Possible Values: true, false
|
||||
Default: false
|
||||
Tags: #basic, #bittorrent
|
||||
--follow-torrent=true|false|mem torrent follow behavior
|
||||
|
||||
Possible Values: true|false|mem
|
||||
Default: true
|
||||
Tags: #basic, #bittorrent
|
||||
--metalink-enable-unique-protocol[=true|false]
|
||||
metalink dedupe by protocol
|
||||
|
||||
Possible Values: true, false
|
||||
Default: true
|
||||
Tags: #basic, #metalink
|
||||
--max-overall-download-limit=SIZE global aggregate download-speed cap
|
||||
|
||||
Possible Values: SIZE
|
||||
Default: 0
|
||||
Tags: #advanced, #basic, #bittorrent, #ftp, #http
|
||||
--max-download-limit=SIZE per-download download-speed cap
|
||||
|
||||
Possible Values: SIZE
|
||||
Default: 0
|
||||
Tags: #advanced, #basic, #bittorrent, #ftp, #http
|
||||
--max-overall-upload-limit=SIZE global aggregate upload-speed cap
|
||||
|
||||
Possible Values: SIZE
|
||||
Default: 0
|
||||
Tags: #advanced, #basic, #bittorrent, #ftp, #http
|
||||
--max-upload-limit=SIZE per-download upload-speed cap
|
||||
|
||||
Possible Values: SIZE
|
||||
Default: 0
|
||||
Tags: #advanced, #basic, #bittorrent, #ftp, #http
|
||||
--disk-cache=SIZE configured disk cache budget
|
||||
|
||||
Possible Values: SIZE
|
||||
Default: 16M
|
||||
Tags: #advanced, #basic, #ftp, #http
|
||||
--max-connection-per-server=NUM, -x
|
||||
legacy speed tuning
|
||||
|
||||
Possible Values: NUM
|
||||
Default: 1
|
||||
Tags: #advanced, #basic, #ftp, #http
|
||||
--min-split-size=SIZE pro lower split-size floor target
|
||||
|
||||
Possible Values: SIZE
|
||||
Default: 20M
|
||||
Tags: #advanced, #basic, #ftp, #http
|
||||
--piece-length=SIZE pro lower piece-length floor target
|
||||
|
||||
Possible Values: SIZE
|
||||
Default: 1M
|
||||
Tags: #advanced, #basic, #ftp, #http
|
||||
--retry-on-400[=true|false] retry HTTP 400 when explicitly enabled
|
||||
|
||||
Possible Values: true, false
|
||||
Default: false
|
||||
Tags: #basic, #http, #rpc
|
||||
--retry-on-403[=true|false] retry HTTP 403 when explicitly enabled
|
||||
|
||||
Possible Values: true, false
|
||||
Default: false
|
||||
Tags: #basic, #http, #rpc
|
||||
--retry-on-406[=true|false] retry HTTP 406 when explicitly enabled
|
||||
|
||||
Possible Values: true, false
|
||||
Default: false
|
||||
Tags: #basic, #http, #rpc
|
||||
--retry-on-unknown[=true|false] retry unknown HTTP failure when explicitly enabled
|
||||
|
||||
Possible Values: true, false
|
||||
Default: false
|
||||
Tags: #basic, #http, #rpc
|
||||
--input-file=PATH, -i load uri list from file
|
||||
|
||||
Possible Values: PATH
|
||||
Tags: #advanced, #basic
|
||||
--save-session=PATH save active tasks on exit
|
||||
|
||||
Possible Values: PATH
|
||||
Tags: #advanced, #basic
|
||||
--save-session-interval=SEC periodic session flush interval
|
||||
|
||||
Possible Values: SEC
|
||||
Default: 0
|
||||
Tags: #advanced, #basic
|
||||
--no-want-digest-header[=true|false], --http-want-digest
|
||||
compat switch for digest header behavior
|
||||
|
||||
Possible Values: true, false
|
||||
Default: false
|
||||
Tags: #basic, #experimental, #http
|
||||
Refer to man page for more information.
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
aria2 version 1.37.0
|
||||
Rust rewrite package: aria2-rust-pro 1.0.0
|
||||
Compatibility baseline: 1f1323128cae942f5440c035cb5f42788b3de33f
|
||||
|
||||
** Configuration **
|
||||
Enabled Features: Async DNS, BitTorrent, GZip, HTTPS, Message Digest, Metalink, XML-RPC, SFTP
|
||||
Hash Algorithms: sha-1, sha-224, sha-256, sha-384, sha-512, md5, adler32
|
||||
Libraries: tokio, reqwest, rustls, quick-xml
|
||||
System: windows (x86_64)
|
||||
|
||||
Report bugs to https://github.com/aria2/aria2/issues
|
||||
Visit https://aria2.github.io/
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,25 @@
|
||||
aria2 version 1.37.0
|
||||
Copyright (C) 2006, 2019 Tatsuhiro Tsujikawa
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
** Configuration **
|
||||
Enabled Features: Async DNS, BitTorrent, Firefox3 Cookie, GZip, HTTPS, Message Digest, Metalink, XML-RPC, SFTP
|
||||
Hash Algorithms: sha-1, sha-224, sha-256, sha-384, sha-512, md5, adler32
|
||||
Libraries: zlib/1.3 expat/2.5.0 sqlite3/3.43.1 GMP/6.3.0 c-ares/1.19.1 libssh2/1.11.0
|
||||
Compiler: mingw-w64 8.0.0 (alpha) / gcc 10-win32 20220113
|
||||
built by x86_64-pc-linux-gnu
|
||||
targeting x86_64-w64-mingw32
|
||||
on Nov 15 2023 11:17:49
|
||||
System: Windows 6.2 (x86_64) (6.2)
|
||||
|
||||
Report bugs to https://github.com/aria2/aria2/issues
|
||||
Visit https://aria2.github.io/
|
||||
Reference in New Issue
Block a user