-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release Version 3.0.0-rc.1 #1045
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b88cc61 develop: bump to version 3.0.0-rc.1-develop (Jose Celano) 39ab661 release: version 3.0.0-beta (Jose Celano) Pull request description: Version 3.0.0-beta was Released ACKs for top commit: josecelano: ACK b88cc61 Tree-SHA512: b0c4b2702cf5bd709a3b3f494cbed017f8f4c813a2f77a26cbf3ceca257e4d5fe36ceb46b9e591eda02a624f9a1f9163e0417935e834e0f0f1b55c87743291c7
``` cargo update Updating crates.io index Locking 44 packages to latest compatible versions Updating addr2line v0.22.0 -> v0.24.1 Removing adler v1.0.2 Updating anyhow v1.0.86 -> v1.0.87 Updating async-executor v1.13.0 -> v1.13.1 Removing async-io v1.13.0 Removing async-lock v2.8.0 Updating async-std v1.12.0 -> v1.13.0 Updating async-trait v0.1.81 -> v0.1.82 Updating aws-lc-rs v1.8.1 -> v1.9.0 Updating aws-lc-sys v0.20.1 -> v0.21.1 Updating backtrace v0.3.73 -> v0.3.74 Removing bitflags v1.3.2 Updating bytemuck v1.17.0 -> v1.18.0 Updating cc v1.1.14 -> v1.1.18 Updating clap v4.5.16 -> v4.5.17 Updating clap_builder v4.5.15 -> v4.5.17 Updating cpufeatures v0.2.13 -> v0.2.14 Updating dashmap v6.0.1 -> v6.1.0 Removing fastrand v1.9.0 Updating frunk v0.4.2 -> v0.4.3 Updating frunk_core v0.4.2 -> v0.4.3 Updating frunk_derives v0.4.2 -> v0.4.3 Updating frunk_proc_macro_helpers v0.1.2 -> v0.1.3 Updating frunk_proc_macros v0.1.2 -> v0.1.3 Removing futures-lite v1.13.0 Updating gimli v0.29.0 -> v0.31.0 Updating gloo-timers v0.2.6 -> v0.3.0 Updating hyper-rustls v0.27.2 -> v0.27.3 Updating hyper-util v0.1.7 -> v0.1.8 Updating indexmap v2.4.0 -> v2.5.0 Removing instant v0.1.13 Removing io-lifetimes v1.0.11 Updating ipnet v2.9.0 -> v2.10.0 Removing linux-raw-sys v0.3.8 Updating local-ip-address v0.6.1 -> v0.6.2 Removing miniz_oxide v0.7.4 Updating object v0.36.3 -> v0.36.4 Updating parking v2.2.0 -> v2.2.1 Updating plotters v0.3.6 -> v0.3.7 Updating plotters-backend v0.3.6 -> v0.3.7 Updating plotters-svg v0.3.6 -> v0.3.7 Removing polling v2.8.0 Updating prettyplease v0.2.21 -> v0.2.22 Updating proc-macro-crate v3.1.0 -> v3.2.0 Updating rustc_version v0.4.0 -> v0.4.1 Removing rustix v0.37.27 Removing rustix v0.38.34 Adding rustix v0.38.36 Updating rustls-webpki v0.102.6 -> v0.102.8 Updating schannel v0.1.23 -> v0.1.24 Updating serde v1.0.209 -> v1.0.210 Updating serde_derive v1.0.209 -> v1.0.210 Updating serde_json v1.0.127 -> v1.0.128 Removing socket2 v0.4.10 Updating syn v2.0.76 -> v2.0.77 Updating tokio v1.39.3 -> v1.40.0 Updating tokio-util v0.7.11 -> v0.7.12 Removing toml_edit v0.21.1 Adding tower v0.5.1 Removing waker-fn v1.2.0 Removing winnow v0.5.40 Removing zeroize_derive v1.4.2 ```
ff836ed fix: clippy error (Jose Celano) 1f64cc9 chore(deps): udpate dependencies (Jose Celano) Pull request description: ``` cargo update Updating crates.io index Locking 44 packages to latest compatible versions Updating addr2line v0.22.0 -> v0.24.1 Removing adler v1.0.2 Updating anyhow v1.0.86 -> v1.0.87 Updating async-executor v1.13.0 -> v1.13.1 Removing async-io v1.13.0 Removing async-lock v2.8.0 Updating async-std v1.12.0 -> v1.13.0 Updating async-trait v0.1.81 -> v0.1.82 Updating aws-lc-rs v1.8.1 -> v1.9.0 Updating aws-lc-sys v0.20.1 -> v0.21.1 Updating backtrace v0.3.73 -> v0.3.74 Removing bitflags v1.3.2 Updating bytemuck v1.17.0 -> v1.18.0 Updating cc v1.1.14 -> v1.1.18 Updating clap v4.5.16 -> v4.5.17 Updating clap_builder v4.5.15 -> v4.5.17 Updating cpufeatures v0.2.13 -> v0.2.14 Updating dashmap v6.0.1 -> v6.1.0 Removing fastrand v1.9.0 Updating frunk v0.4.2 -> v0.4.3 Updating frunk_core v0.4.2 -> v0.4.3 Updating frunk_derives v0.4.2 -> v0.4.3 Updating frunk_proc_macro_helpers v0.1.2 -> v0.1.3 Updating frunk_proc_macros v0.1.2 -> v0.1.3 Removing futures-lite v1.13.0 Updating gimli v0.29.0 -> v0.31.0 Updating gloo-timers v0.2.6 -> v0.3.0 Updating hyper-rustls v0.27.2 -> v0.27.3 Updating hyper-util v0.1.7 -> v0.1.8 Updating indexmap v2.4.0 -> v2.5.0 Removing instant v0.1.13 Removing io-lifetimes v1.0.11 Updating ipnet v2.9.0 -> v2.10.0 Removing linux-raw-sys v0.3.8 Updating local-ip-address v0.6.1 -> v0.6.2 Removing miniz_oxide v0.7.4 Updating object v0.36.3 -> v0.36.4 Updating parking v2.2.0 -> v2.2.1 Updating plotters v0.3.6 -> v0.3.7 Updating plotters-backend v0.3.6 -> v0.3.7 Updating plotters-svg v0.3.6 -> v0.3.7 Removing polling v2.8.0 Updating prettyplease v0.2.21 -> v0.2.22 Updating proc-macro-crate v3.1.0 -> v3.2.0 Updating rustc_version v0.4.0 -> v0.4.1 Removing rustix v0.37.27 Removing rustix v0.38.34 Adding rustix v0.38.36 Updating rustls-webpki v0.102.6 -> v0.102.8 Updating schannel v0.1.23 -> v0.1.24 Updating serde v1.0.209 -> v1.0.210 Updating serde_derive v1.0.209 -> v1.0.210 Updating serde_json v1.0.127 -> v1.0.128 Removing socket2 v0.4.10 Updating syn v2.0.76 -> v2.0.77 Updating tokio v1.39.3 -> v1.40.0 Updating tokio-util v0.7.11 -> v0.7.12 Removing toml_edit v0.21.1 Adding tower v0.5.1 Removing waker-fn v1.2.0 Removing winnow v0.5.40 Removing zeroize_derive v1.4.2 ``` ACKs for top commit: josecelano: ACK ff836ed Tree-SHA512: 00bf4b577b7dd67e79a1aec2048430e5341602e804dfc5588dc16bad5d8434ccf7ea568d638e92a4603ef124005c68d0bc3edd5611fe8326026624497a173d6c
The UDP tracker announce response always include all peers available up to a maxium of 74 peers, ignoring the `num_want` param in the request described in: https://www.bittorrent.org/beps/bep_0015.html This change applies that limit only when is lower than then TORRENT_PEERS_LIMIT (74).
It allows HTTP clients to limit peers in the announce response with the `numwant` GET param.
084879e feat: [#569] numwant HTTP tracker announce param (Jose Celano) 481d413 feat: [#569] allow UDP clients to limit peers in response (Jose Celano) Pull request description: The UDP tracker announce response always include all peers available up to a maxium of 74 peers, ignoring the `num_want` param in the request described in: https://www.bittorrent.org/beps/bep_0015.html This change applies that limit only when is lower than then TORRENT_PEERS_LIMIT (74). It also adds the `numwant` GET param to the announce request for the HTTP tracker for the same purpose. - [x] UDP tracker (`num_want`, positional param in the UDP packet). - [x] HTTP tracker (`numwant` GET param). ACKs for top commit: josecelano: ACK 084879e Tree-SHA512: 6e3a7a672d393852d8655c4e2732910dbf2a5beecb3f92a39b251e127e05d3a5ae068962ec1577189ed397b2529201558c971e8c050c2763d8781efd8441f540
Fixed ouoput: ```output $ TORRUST_CHECKER_CONFIG='{ "udp_trackers": ["127.0.0.1:6969"], "http_trackers": [], "health_checks": [] }' cargo run --bin tracker_checker Compiling torrust-tracker v3.0.0-rc.1-develop (/home/josecelano/Documents/git/committer/me/github/torrust/torrust-tracker) Finished `dev` profile [optimized + debuginfo] target(s) in 15.42s Running `target/debug/tracker_checker` 2024-09-11T09:44:57.432395Z INFO torrust_tracker::console::clients::checker::service: Running checks for trackers ... [ { "Udp": { "Ok": { "remote_addr": "127.0.0.1:6969", "results": [ [ "Setup", { "Ok": null } ], [ "Connect", { "Ok": null } ], [ "Announce", { "Ok": null } ], [ "Scrape", { "Ok": null } ] ] } } } ] ```
dbee825 fix: [#1037] wrong req type name in tracker checker outout (Jose Celano) Pull request description: Fix wrong req type name in tracker checker output. Command: ```console $ TORRUST_CHECKER_CONFIG='{ "udp_trackers": ["127.0.0.1:6969"], "http_trackers": [], "health_checks": [] }' cargo run --bin tracker_checker ``` ```output Compiling torrust-tracker v3.0.0-rc.1-develop (/home/josecelano/Documents/git/committer/me/github/torrust/torrust-tracker) Finished `dev` profile [optimized + debuginfo] target(s) in 15.42s Running `target/debug/tracker_checker` 2024-09-11T09:44:57.432395Z INFO torrust_tracker::console::clients::checker::service: Running checks for trackers ... ``` Fixed output: ```json [ { "Udp": { "Ok": { "remote_addr": "127.0.0.1:6969", "results": [ [ "Setup", { "Ok": null } ], [ "Connect", { "Ok": null } ], [ "Announce", { "Ok": null } ], [ "Scrape", { "Ok": null } ] ] } } } ] ``` The previous output was: ```json [ { "Udp": { "Ok": { "remote_addr": "127.0.0.1:6969", "results": [ [ "Setup", { "Ok": null } ], [ "Connect", { "Ok": null } ], [ "Announce", { "Ok": null } ], [ "Announce", { "Ok": null } ] ] } } } ] ``` ACKs for top commit: josecelano: ACK dbee825 Tree-SHA512: fc4d8f1317052e5d4061eb69b5104f281ee39d1a4381ad30c5ea7b7fa88618059d1533c40c1a9182a382a80f73bdea2841b357bbfc12fa18349181d3fd3ca0db
All the following URL for UDP trackers are allow now: ```console TORRUST_CHECKER_CONFIG='{ "udp_trackers": [ "127.0.0.1:6969", "127.0.0.1:6969/", "127.0.0.1:6969/announce", "localhost:6969", "localhost:6969/", "localhost:6969/announce", "udp://127.0.0.1:6969", "udp://127.0.0.1:6969/", "udp://127.0.0.1:6969/announce", "udp://localhost:6969", "udp://localhost:6969/", "udp://localhost:6969/announce" ], "http_trackers": [], "health_checks": [] }' cargo run --bin tracker_checker ``` NOTICE: the client will resolve the domain to a socket address if needed.
…ress formats Now it supports a path prefix. It will be remove by the client to build the "scrape" URLs. This type of URL is very common in tracker lists like in https://newtrackon.com/. ```console TORRUST_CHECKER_CONFIG='{ "udp_trackers": [], "http_trackers": [ "http://127.0.0.1:7070", "http://127.0.0.1:7070/", "http://127.0.0.1:7070/announce" ], "health_checks": [] }' cargo run --bin tracker_checker ```
faee02f feat: [#675] tracker checker (HTTP tracker) supports more service address formats (Jose Celano) 520026d feat: [#675] tracker checker supports more service address formats (Jose Celano) Pull request description: ### UDP Trackers All the following URLs for UDP trackers are now allowed: ```console TORRUST_CHECKER_CONFIG='{ "udp_trackers": [ "127.0.0.1:6969", "127.0.0.1:6969/", "127.0.0.1:6969/announce", "localhost:6969", "localhost:6969/", "localhost:6969/announce", "udp://127.0.0.1:6969", "udp://127.0.0.1:6969/", "udp://127.0.0.1:6969/announce", "udp://localhost:6969", "udp://localhost:6969/", "udp://localhost:6969/announce" ], "http_trackers": [], "health_checks": [] }' cargo run --bin tracker_checker ``` **NOTICE:** the client will resolve the domain to an IP address if it's needed. ### HTTP Trackers Now, it supports a path suffix (`/` or `/announce`). It will be removed by the client to build the "scrape" URLs. This type of URL is widespread in tracker lists like https://newtrackon.com/. ```console TORRUST_CHECKER_CONFIG='{ "udp_trackers": [], "http_trackers": [ "http://127.0.0.1:7070", "http://127.0.0.1:7070/", "http://127.0.0.1:7070/announce" ], "health_checks": [] }' cargo run --bin tracker_checker ``` ACKs for top commit: josecelano: ACK faee02f Tree-SHA512: 16f7ada07fc863b03fa40073c020b377188958e53f92a9ef49a81a1d565ab7e55ca6654fa71cf54dde770f85201e72ef08858e14491531ab39381c0c707f1b6f
```output cargo update Updating crates.io index Locking 26 packages to latest compatible versions Updating anyhow v1.0.87 -> v1.0.89 Updating aws-lc-sys v0.21.1 -> v0.21.2 Updating axum v0.7.5 -> v0.7.6 Updating axum-core v0.4.3 -> v0.4.4 Updating axum-extra v0.9.3 -> v0.9.4 Updating axum-macros v0.4.1 -> v0.4.2 Updating bytes v1.7.1 -> v1.7.2 Updating cc v1.1.18 -> v1.1.21 Updating clap v4.5.17 -> v4.5.18 Updating clap_builder v4.5.17 -> v4.5.18 Updating clap_derive v4.5.13 -> v4.5.18 Updating iana-time-zone v0.1.60 -> v0.1.61 Updating local-ip-address v0.6.2 -> v0.6.3 Updating pkg-config v0.3.30 -> v0.3.31 Updating redox_syscall v0.5.3 -> v0.5.4 Updating rustix v0.38.36 -> v0.38.37 Updating rustls v0.23.12 -> v0.23.13 Updating security-framework-sys v2.11.1 -> v2.12.0 Updating simdutf8 v0.1.4 -> v0.1.5 Updating thiserror v1.0.63 -> v1.0.64 Updating thiserror-impl v1.0.63 -> v1.0.64 Updating toml_edit v0.22.20 -> v0.22.21 Updating tower-http v0.5.2 -> v0.6.1 Updating unicode-ident v1.0.12 -> v1.0.13 Updating unicode-normalization v0.1.23 -> v0.1.24 Updating unicode-xid v0.2.5 -> v0.2.6 Removing windows-sys v0.48.0 Removing windows-targets v0.48.5 Removing windows_aarch64_gnullvm v0.48.5 Removing windows_aarch64_msvc v0.48.5 Removing windows_i686_gnu v0.48.5 Removing windows_i686_msvc v0.48.5 Removing windows_x86_64_gnu v0.48.5 Removing windows_x86_64_gnullvm v0.48.5 Removing windows_x86_64_msvc v0.48.5 ```
bdb0419 chore(deps): update dependencies (Jose Celano) Pull request description: ```output cargo update Updating crates.io index Locking 26 packages to latest compatible versions Updating anyhow v1.0.87 -> v1.0.89 Updating aws-lc-sys v0.21.1 -> v0.21.2 Updating axum v0.7.5 -> v0.7.6 Updating axum-core v0.4.3 -> v0.4.4 Updating axum-extra v0.9.3 -> v0.9.4 Updating axum-macros v0.4.1 -> v0.4.2 Updating bytes v1.7.1 -> v1.7.2 Updating cc v1.1.18 -> v1.1.21 Updating clap v4.5.17 -> v4.5.18 Updating clap_builder v4.5.17 -> v4.5.18 Updating clap_derive v4.5.13 -> v4.5.18 Updating iana-time-zone v0.1.60 -> v0.1.61 Updating local-ip-address v0.6.2 -> v0.6.3 Updating pkg-config v0.3.30 -> v0.3.31 Updating redox_syscall v0.5.3 -> v0.5.4 Updating rustix v0.38.36 -> v0.38.37 Updating rustls v0.23.12 -> v0.23.13 Updating security-framework-sys v2.11.1 -> v2.12.0 Updating simdutf8 v0.1.4 -> v0.1.5 Updating thiserror v1.0.63 -> v1.0.64 Updating thiserror-impl v1.0.63 -> v1.0.64 Updating toml_edit v0.22.20 -> v0.22.21 Updating tower-http v0.5.2 -> v0.6.1 Updating unicode-ident v1.0.12 -> v1.0.13 Updating unicode-normalization v0.1.23 -> v0.1.24 Updating unicode-xid v0.2.5 -> v0.2.6 Removing windows-sys v0.48.0 Removing windows-targets v0.48.5 Removing windows_aarch64_gnullvm v0.48.5 Removing windows_aarch64_msvc v0.48.5 Removing windows_i686_gnu v0.48.5 Removing windows_i686_msvc v0.48.5 Removing windows_x86_64_gnu v0.48.5 Removing windows_x86_64_gnullvm v0.48.5 Removing windows_x86_64_msvc v0.48.5 ``` ACKs for top commit: josecelano: ACK bdb0419 Tree-SHA512: 1b8ff7133023ebc9988220ddec33f5985725bd176ead302106699688718fc8104c230d2b8bcdf5a7dbc506b3b4b9d2e40f809e31121385cced8361234130b9c6
ACK beb56d3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release Version 3.0.0-rc.1