[REQ] File-patch-management [POSTPONED/ONTODO]

AniDB Client Feature Requests go here

Moderators: AniDB, AniDB API

Locked
wahaha
AniDB Staff
Posts: 1497
Joined: Sun Nov 17, 2002 3:33 pm

[REQ] File-patch-management [POSTPONED/ONTODO]

Post by wahaha »

Ok, that's a long-term thing with a few parts to discuss I guess :)

When I added my DaaDaaDaa-eps via ed2k-dump, I saw that one of the eps has the wrong crc. Now, since there are at least two users who (claim to ^^) have the correct file, I'd really like to patch the file as follows:
  1. I provide the hashset of the file I have (aka zidrav's .cdt)
  2. Anidb lets the other users know that there's a request for a patch for that certain file
  3. One of the other users creates and provides a patch file (.cdp in case of zidrav)
  4. I recieve and apply it and...
  5. ...check if the hash now matches the correct hash in the db, remove my old entry and add the new
... and live happily ever after. :D

Now - given someone else wants such a feature too - there could be various ways to implement it, while the best solution would most likely involve some kind of client-app that takes care of step 1 and 3-5.

The big question would be: How to transfer the hashset and the patch-file?!

"Let's store it on the server":
+ Needs http/ftp. Everyone should be able to access it that way
+ Easy and fast for the users
- Let's talk about traffic :roll:
- Needs limitations, such as user quota or maximum amount of patch requests at once.

P2P-approach (e.g.: Give out ed2k-links for the cdt/p-files, maybe including an emule-source-extension):
# P2P should work for most people, but it has its drawbacks
+ Depends (mainly) on those users who are involved
- Takes more time (finding source / waiting in the queue)
- Needs both users to be present at the same time

IRC-approach:
+ I guess >98% who register(ed) here know how to connect to a server and type a trigger :lol:
+ Existing scripts can be used (e.g. patchbot for sysreset)
+ Easy to modify scripts to use Chii for step 5 (would need an additional remove-command)
+ Could be designed in a way to work without a script, too - though requiring both users to work a bit more
- Needs both users to be present at the same time

Snailmail:
j/k ^^

Comments, Flames, flying cakes? :)
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

well,

interesting idea, but i guess not one we have to haste ;o)
i think the best way to do this would be to implement such a feature into the AniDB Client (should it ever get to the point of being actually usable).
The client could create the hash file and automatically file the request with the anidb.
The patch should also be created using the anidb client.

i have no idea how to transfer the hash/patch data though. i'd like to keep that seperated from the anidb. (for traffic/load and legal reasons)

BYe!
EXP
Gambit
AniDB Staff
Posts: 555
Joined: Sun Oct 06, 2002 11:21 am

Post by Gambit »

I think there would be someone out there who`s willing to host the patches ... just do a little request on irc/forum and they`ll reply soon enough :)
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

well,

I guess we should wait for a somwhat working anidb client first :|

BYe!
EXP
wahaha
AniDB Staff
Posts: 1497
Joined: Sun Nov 17, 2002 3:33 pm

Post by wahaha »

exp wrote:well,

I guess we should wait for a somwhat working anidb client first :|
Since I start to like requesting features - is there any such place for the anidb-client? :D
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

wahaha wrote:Since I start to like requesting features - is there any such place for the anidb-client? :D
now there is :o)
http://www.anidb.net/forum/viewforum.php?f=16

BYe!
EXP
Locked