20230907 Weekly Development Meeting #57
Replies: 4 comments
-
I've been working on the Index Backend. New sample repo to import torrentsI've finished importing all torrents from the https://academictorrents.com/. I've published the code I used to migrate data because It could be helpful for others to migrate/import data into the Turrust Index. The repo is: https://github.com/torrust/torrents-importer-sample I've also written a blog post about this new repo: PR: torrust/torrust-website#86 Bug: Error trying to upload a torrent file #266Issue: torrust/torrust-index#266 While doing the intensive testing (importing all torrents from https://academictorrents.com/), I found some torrents (6 out of more than 2400) that cannot be uploaded. Initially, I thought the problem was a new field in the bencoded torrent, but that was not the case. The problem is the function to parse the bencoded data is not working for those torrents. This is the function: pub fn decode_torrent(bytes: &[u8]) -> Result<Torrent, Box<dyn error::Error>> {
match de::from_bytes::<Torrent>(bytes) {
Ok(torrent) => Ok(torrent),
Err(e) => {
println!("{e:?}");
Err(e.into())
}
}
} I tried to isolate the bug by creating a new project (a torrent file parser.): https://github.com/torrust/torrust-parse-torrent Surprisingly, the function is working there. I've also added a binary to the Index Backend to parse torrents that could be helpful in the future to debug this type of error. The bug is still not fixed. I've opened a PR on the package, adding a test for this case: The package is working fine. We must be using a different common dependency. Add support for multiple original infohashes #261Issue: torrust/torrust-index#261 I'm adding a new table, as @da2ce7 proposed, with all the original infohashes for one canonical infohash. The canonical infohash is the resulting infohash after removing non-standard fields from the torrent The main feature is done, but there are still some pending tasks: |
Beta Was this translation helpful? Give feedback.
-
Torrust Frontend
Torrust BackendTorrust types libTorrust api lib
Git
Training
Other
|
Beta Was this translation helpful? Give feedback.
-
I've created a new discussion on the Index Backend to follow up the discussion we had about login the original torrent files. |
Beta Was this translation helpful? Give feedback.
-
SvelteKit
Secure-Git-Guide
Medium
|
Beta Was this translation helpful? Give feedback.
-
Expected duration: 2 to 4 hours with breaks
Communicated attendants:
Agenda:
During the meeting every team member will take their turns and follow this sequence.
The topics for further discussion will be noted in advance by each the team member and to the meetings agenda.
set another meeting date for the discussion of these or to hold the meeting hereafter.
Also the persons to be part of the meeting will be decided on so that the others will be free to continue their own work.
Beta Was this translation helpful? Give feedback.
All reactions