Skip to content
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

Add a torrent announce subcommand #510

Merged
merged 1 commit into from
Feb 24, 2023
Merged

Conversation

atomgardner
Copy link
Collaborator

OK—let's try this again!


This command makes use of a partially-implemented UDP tracker client to announce an infohash and list the response.

type: added

@atomgardner
Copy link
Collaborator Author

atomgardner commented Nov 23, 2022

I'll see how the CI run goes before getting too excited.

@atomgardner atomgardner force-pushed the announce branch 3 times, most recently from 2a26d60 to 36f27d2 Compare November 23, 2022 02:02
src/tracker/client.rs Outdated Show resolved Hide resolved
@atomgardner
Copy link
Collaborator Author

Force pushed to trigger a rebuild that'll probably fail.

This command makes use of a partially-implemented UDP tracker client to
announce an infohash and list the response.

type: added
@atomgardner
Copy link
Collaborator Author

atomgardner commented Feb 24, 2023

I don't think this PR is going to get any prettier. Issue #490 is a follow up to this PR that should give the graphic design a polish.


I think the TrackerXXX errors should be factored into their own module, possibly tracker_client_error, and an Error::TrackerClient { source: TrackerClientError } be added at the top level. This'd let tracker::Client::from_url attach the tracker_url onto every error.

@atomgardner atomgardner merged commit 09279ab into casey:master Feb 24, 2023
casey pushed a commit that referenced this pull request Aug 20, 2023
This command makes use of a partially-implemented UDP tracker client to
announce an infohash and list the response.

type: added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant