Skip to content

migration: switch internal deps to pinned GitHub git sources - #2

Merged
thedancingdeveloper merged 38 commits into
mainfrom
migration/github-native-source
Jul 23, 2026
Merged

migration: switch internal deps to pinned GitHub git sources#2
thedancingdeveloper merged 38 commits into
mainfrom
migration/github-native-source

Conversation

@thedancingdeveloper

Copy link
Copy Markdown
Collaborator

Rebased onto main, resolving a workflow-file delete/modify conflict (kept the delete). Switches internal deps from the Forgejo Cargo registry to pinned GitHub git sources. Verified with a clean cargo check --all-targets. Part of the Forgejo registry deprecation sequence.

AusAgentSmith and others added 30 commits July 23, 2026 22:51
Add 5 tests for TrackerCommsStats: left-to-download, completion check,
default state, zero-total edge case, and over-download no-underflow.
UdpTrackerClient is exported from the crate root, but its `announce()`
method takes an AnnounceFields and returns an AnnounceResponse — both
of which lived in the private `tracker_comms_udp` module, making the
method unusable to outside consumers.

Re-export both types alongside UdpTrackerClient. Bump 0.1.2 → 0.1.3
(additive, backwards compatible).
Bumped reqwest 0.13 → 0.12 because consumer workspaces (indexarr-rs)
pin reqwest to 0.12 and cargo treats 0.12 vs 0.13 as semver-incompatible.
The crate's HTTP tracker code uses only basic GET-with-params and bencode
deserialize, which is identical between the two reqwest releases — no
code change needed.

Bumps 0.1.3 → 0.1.4.
@thedancingdeveloper
thedancingdeveloper force-pushed the migration/github-native-source branch 3 times, most recently from 310fbbe to d9289af Compare July 23, 2026 23:16

@AusAgentSmith AusAgentSmith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed: source content verified with cargo check/--all-targets before push; migration policy and rust CI both green.

@thedancingdeveloper
thedancingdeveloper force-pushed the migration/github-native-source branch from d9289af to 160e683 Compare July 23, 2026 23:22

@AusAgentSmith AusAgentSmith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed: rebased onto current main, resolved a workflow delete/modify conflict, restored ci.yml that a bad conflict resolution had deleted. Migration policy and rust CI both green.

@thedancingdeveloper
thedancingdeveloper merged commit 96580fb into main Jul 23, 2026
2 checks passed
@thedancingdeveloper
thedancingdeveloper deleted the migration/github-native-source branch July 23, 2026 23:24
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.

2 participants