Short: ApplyDiffs for IMDB-Diffs Author: ab@imdb.com (André Bernhardt) Uploader: mscheler aminet net (Matthias Scheler) Type: misc/imdb Architecture: m68k-amigaos Distribution: NoCD ApplyDiffs 2.5 (22.11.2001) =========================== (w) 1995 - 2001 by André Bernhardt CHANGES ======= - bugfix: ApplyDiffs can now handle mixed original- and stripped- diffs correctly (problem with 970307-diffs from AMINET) PURPOSE ======= The movie database files and diff files are updated every Friday. The diffs-archives are named according to the week's full data to which they should be applied in order to generate the following week's data. The filename format is: imdbDiffYYMMDD.lha For example, imdbDiff941230.lha contains the diffs to be applied to the 30th December 1994 files in order to generate the files for 6th January 1995. The program 'ApplyDiffs' applies all files of the weekly diff-archive to the listfiles of the Internet MovieDatabase and checks the consistency of the data. NOTE: if you miss more than one weeks worth of updates you need to apply the patches for all the missing weeks in succession to bring your local copies up to date. In order to check that the diffs have been applied correctly, all the database files include a CRC on their first line. The program 'ApplyDiffs' will automatically verify that this checksum is correct. After having applied all diffs to the listfiles, a summary of all diff-files together with the status information and number of lines that have been added and deleted is shown. WHY APPLYDIFFS? =============== Instead of Applydiffs, you could as well use the common program 'patch'. Unfortunately, this program creates very big temporary files when updating the actors- & actresses lists. It is also very slow and can't check the CRC-sums. ApplyDiffs on the other hand can only be used to apply the MovieDatabase-diffs to the listfiles. It cannot be used to apply any diffs created by the program 'diff'! DISCLAIMER ========== THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDER AND/OR OTHER PARTIES PROVIDE THE PROGRAM ''AS IS'' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. LICENSE ======= This file is part of the Internet Movie Database. The database is an international volunteer effort whose principal objective is to provide useful and up to date movie information *freely* available on-line, across as many systems and platforms as possible. The Internet Movie Database Team can be reached via e-mail at and are happy to discuss the implications of and exceptions to this license. All data and software released by the Internet Movie Database Team is freely available to anyone within certain limitations described below. You are encouraged to quote subsets of the database in USENET articles, movie related FAQs, magazine articles etc. We do ask, however, that if appropriate, you make reference to the source of the data and provide a pointer to database for the benefit of the reader. Permission is granted by the copyright holder to allow free distribution of this file and any other part of the Internet Movie Database in an ELECTRONIC FORM ONLY, providing the following conditions are met: (1) NO FEE OF ANY KIND (however indirect), can be charged for its distribution. If this file is being stored for later distribution to anyone that can be seen as a customer to yourself or your company / organization YOU MUST contact the Internet Movie Database Team for permission. (2) Each of the database files may be distributed individually but only in an unaltered form. All the header and trailer information (including this notice and the details on how to access the database) must remain intact. (3) Specifically the files may NOT be used to construct any kind of on-line database (except for individual personal use). Clearance for ALL such on-line data resources must be requested from the Internet Movie Database Team. This is to enable us to maintain an up to date list of all such sites. Clearance will be granted provided access to said database is itself entirely free from ANY fees. (4) In addition, copies of the movie database frequently asked questions list and additions guide must be made available in the same area / by the same method as the other database files. (5) CD-ROM distribution is prohibited without written permission from the Internet Movie Database Team (see below for an e-mail contact). Distribution by e-mail, BBS and internet systems is positively encouraged within these limitations. The files and software which make up the movie database may be uploaded to commercial BBS systems providing that the above conditions are met and no *additional* fees are applied above the standard connect time or downloading charges. This copyright notice has been designed to ensure that the voluntary time and effort of the Internet Movie Database Team and database users, is not used for financial gain by those who have contributed nothing or little to its growth or success. The changing nature of the Internet towards more commercial uses has forced us to produce this statement. Please do not be discouraged from submitting additions to the database as a result of this policy. If you need further explanation please contact the team at the address given below. If you are in doubt as to whether this copyright notice prevents you from distributing the database to others, you should contact the Internet Movie Database Team by e-mail at .