Commit a5c6e08
committed
Merge #1492: Overhaul stats: Simplify torrent-repository package before adding events
7215f6e refactor: [#1491] clean tests in torrent-repository (Jose Celano)
1f5d18f refactor: [#1491] remove duplicate code (Jose Celano)
09bbef7 refactor: [#1491] rename varaible (Jose Celano)
32acbb1 refactor: [#1491] rename method (Jose Celano)
21b18e4 refactor: [#1491] move functionality from InMemoryTorrentRepository to TorrentRepository (Jose Celano)
df00533 refactor: [#1491] rename main types in torrent-repository pkg (Jose Celano)
9be7c68 refactor: [#1491] remove redundant type aliases (Jose Celano)
71aa8d0 fix: [#1491] deadlock running tests (Jose Celano)
f106c01 refactor: [#1491] move type alias to torrent-repository pkg (Jose Celano)
2b0727e refactor: [#1491] reorganize repository module (Jose Celano)
0acfc8f refactor: [#1491] remove unneeded type alias EntrySingle (Jose Celano)
f868b04 refactor: [#1491] put implementation and type in the same module (Jose Celano)
e87479e refactor: [#1491] extract mod torrent (Jose Celano)
e0a4aac feat!: [#1491] remove unneeded generic (Jose Celano)
ecd2266 feat!: [#1491] remove unused traits Entry and EntrySync (Jose Celano)
382e0af faet!: [#1491] remove unused trait Repository (Jose Celano)
89123fa feat!: [#1491] remove unused traits RepositoryAsync and EntryAsync (Jose Celano)
b2a9684 feat!: [#1491] remove unused torrent repository entry types (Jose Celano)
16a6d08 feat!: [#1491] remove unused torrent repositories (Jose Celano)
3d53b23 feat: [#1491] copy torrent repo benchmarking into a new pkg (Jose Celano)
Pull request description:
Simplify `torrent-repository` package [before adding events](#1358). It would be overkill to maintain all the implementations.
### Subtasks
- [x] Copy benchmarking code to a new workspace package `torrent-repository-benchmarking`.
- [x] Remove code not used in production from the `torrent-repository` package.
- [x] Unused repositories
- [x] Unused entries
- [x] Remove unused traits `RepositoryAsync`, `EntryAsync`, `Entry`, `EntrySync`, etc.
- [x] Remove generics.
- [x] Rename main types
- [x] ~~Import the `bittorrent_tracker_core::torrent::repository::in_memory::InMemoryTorrentRepository` type from the `tracker-repo` package.~~ **DISCARDED**. See #1358 (comment).
- [x] Clean tests
ACKs for top commit:
josecelano:
ACK 7215f6e
Tree-SHA512: a7616eae597ad15302bd30f216437bdf2bcf101e7bcc5d2391c6d23646826aed92cf393d5b79865a57ad10e827da06b6adbb830c1cd5b55eb44dcd0b985853dcFile tree
54 files changed
+3220
-1266
lines changed- .github/workflows
- packages
- http-tracker-core/src/statistics
- rest-tracker-api-core/src/statistics
- torrent-repository-benchmarking
- benches
- helpers
- src
- entry
- repository
- tests
- common
- entry
- repository
- torrent-repository
- src
- entry
- tests
- common
- entry
- repository
- tracker-core/src
- torrent
- repository
- udp-tracker-core/src/statistics
- udp-tracker-server/src/statistics
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
54 files changed
+3220
-1266
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments