jigit.git
14 years agoCope with interface changes in jigdb.h
Steve McIntyre [Sun, 19 Jun 2005 14:23:23 +0000 (14:23 +0000)]
Cope with interface changes in jigdb.h

14 years agoMore debug from jigdump - will now print the current offset for each
Steve McIntyre [Sun, 19 Jun 2005 14:22:37 +0000 (14:22 +0000)]
More debug from jigdump - will now print the current offset for each
lump too.

14 years agoChange to interfaces, now pass in a pointer to a buffer rather than
Steve McIntyre [Sun, 19 Jun 2005 14:21:52 +0000 (14:21 +0000)]
Change to interfaces, now pass in a pointer to a buffer rather than
have the DB code allocate buffers / pointers for the caller.

14 years agoChange to interfaces, now pass in a pointer to a buffer rather than
Steve McIntyre [Sun, 19 Jun 2005 14:20:28 +0000 (14:20 +0000)]
Change to interfaces, now pass in a pointer to a buffer rather than
have the DB code allocate buffers / pointers for the caller.

Each function now uses its own stack-allocated SQL command buffer for
better thread safety.

14 years agoFirst working version of the libjd interface code
Steve McIntyre [Sun, 19 Jun 2005 14:17:32 +0000 (14:17 +0000)]
First working version of the libjd interface code

14 years agoUpdated interface for jd_open()
Steve McIntyre [Mon, 30 May 2005 17:47:44 +0000 (17:47 +0000)]
Updated interface for jd_open()

14 years agoAdded functions to output hex and re-parse hex and base64 output back
Steve McIntyre [Mon, 30 May 2005 17:46:22 +0000 (17:46 +0000)]
Added functions to output hex and re-parse hex and base64 output back
into binary md5 for easy conversion.

14 years agoUpdated mkimage to use the new JD interface code
Steve McIntyre [Fri, 27 May 2005 21:50:28 +0000 (21:50 +0000)]
Updated mkimage to use the new JD interface code

14 years agoWIP checkins for the new mkimage code:
Steve McIntyre [Thu, 26 May 2005 23:34:20 +0000 (23:34 +0000)]
WIP checkins for the new mkimage code:

  mkimage will check/add template data into the DB at startup, using
  new add_new_template_file() helper (code borrowed liberally from
  existing parse_template.c code)

  memory leak fix in parse_template.c:parse_file_block()

14 years agoAdded get_file_mtime()
Steve McIntyre [Thu, 26 May 2005 23:30:59 +0000 (23:30 +0000)]
Added get_file_mtime()

14 years agoAdded mk_MD5File() helper function
Steve McIntyre [Thu, 26 May 2005 23:30:08 +0000 (23:30 +0000)]
Added mk_MD5File() helper function

14 years agoMoved ctype_e into jigdb.h
Steve McIntyre [Thu, 26 May 2005 23:29:41 +0000 (23:29 +0000)]
Moved ctype_e into jigdb.h
Added prototypes for get_file_mtime() and add_new_template_file()

14 years agoFixed up base64_dump() users and interfaces to fix memory leaks
Steve McIntyre [Thu, 26 May 2005 23:28:22 +0000 (23:28 +0000)]
Fixed up base64_dump() users and interfaces to fix memory leaks

14 years agoMinor schema / interface tweaks
Steve McIntyre [Thu, 26 May 2005 23:25:20 +0000 (23:25 +0000)]
Minor schema / interface tweaks

14 years agoStarted work on JD interface
Steve McIntyre [Thu, 26 May 2005 23:24:31 +0000 (23:24 +0000)]
Started work on JD interface

14 years agoRe-factoring:
Steve McIntyre [Sun, 22 May 2005 13:39:18 +0000 (13:39 +0000)]
Re-factoring:

 rename globals to G_<foo>
 moved template parsing code out to parse_template.c
 template code now depends on DB code, rather than it being optional
 started work on JD_ interface, new fs-like wrapper

14 years agoChanges to the files table and interface. Changed "age" to
Steve McIntyre [Sun, 22 May 2005 13:28:57 +0000 (13:28 +0000)]
Changes to the files table and interface. Changed "age" to
"time_added" for a more logical interface.

Rather than do DB cleanup using "lookup_by_age"/"lookup_file_older"
and then "delete_by_name", just use "delete_by_age"

14 years agoSplit out the template functions into parse_template.c
Steve McIntyre [Sun, 22 May 2005 13:22:18 +0000 (13:22 +0000)]
Split out the template functions into parse_template.c

14 years agoRemove verbose error logging - let callers deal with it
Steve McIntyre [Sun, 22 May 2005 13:18:05 +0000 (13:18 +0000)]
Remove verbose error logging - let callers deal with it

14 years agoSplit out decompression functions and jigdo parsing functions into
Steve McIntyre [Wed, 27 Apr 2005 21:06:49 +0000 (21:06 +0000)]
Split out decompression functions and jigdo parsing functions into
separate source files.

14 years agoYA set of schema updates; now using 4 tables...
Steve McIntyre [Thu, 21 Apr 2005 00:32:29 +0000 (00:32 +0000)]
YA set of schema updates; now using 4 tables...

14 years agoTurn on bzip2 support by default
Steve McIntyre [Thu, 21 Apr 2005 00:31:17 +0000 (00:31 +0000)]
Turn on bzip2 support by default

14 years agoRewrite bzip2 support, as data blocks rather than "missing" blocks.
Steve McIntyre [Wed, 20 Apr 2005 22:08:28 +0000 (22:08 +0000)]
Rewrite bzip2 support, as data blocks rather than "missing" blocks.

14 years agoMajor DB shakeup:
Steve McIntyre [Wed, 6 Apr 2005 01:32:16 +0000 (01:32 +0000)]
Major DB shakeup:

 * Added two extra tables: template blocks and compressed blocks
 * Cope with 3 different tables in results_callback()
 * Rearranged fields in existing files table

14 years agoRenamed internal DB interfaces to allow for more namespace (Coming Soon!)
Steve McIntyre [Sun, 3 Apr 2005 22:36:27 +0000 (22:36 +0000)]
Renamed internal DB interfaces to allow for more namespace (Coming Soon!)

14 years agomkimage now uses the backend database if possible
Steve McIntyre [Sun, 3 Apr 2005 22:16:16 +0000 (22:16 +0000)]
mkimage now uses the backend database if possible

refactored the template-parsing code to make that easier

14 years agoRemoved references to the libdb backend
Steve McIntyre [Sun, 3 Apr 2005 22:08:12 +0000 (22:08 +0000)]
Removed references to the libdb backend

14 years agoRemoved the obsolete libdb backend
Steve McIntyre [Sun, 3 Apr 2005 22:07:47 +0000 (22:07 +0000)]
Removed the obsolete libdb backend

14 years agoUpdated DB interface. I'm NOT updating the libdb backend to keep up
Steve McIntyre [Sun, 3 Apr 2005 22:07:15 +0000 (22:07 +0000)]
Updated DB interface. I'm NOT updating the libdb backend to keep up
any more, as sqlite is so much more useful...

14 years agoChanged to use sqlite DB interface
Steve McIntyre [Sun, 3 Apr 2005 22:03:49 +0000 (22:03 +0000)]
Changed to use sqlite DB interface

14 years agoUpdates to DB interface
Steve McIntyre [Sun, 3 Apr 2005 22:01:49 +0000 (22:01 +0000)]
Updates to DB interface

14 years agoDB backend using sqlite
Steve McIntyre [Sun, 3 Apr 2005 21:55:52 +0000 (21:55 +0000)]
DB backend using sqlite

14 years agoUse the new DB cache
Steve McIntyre [Sun, 13 Mar 2005 23:05:11 +0000 (23:05 +0000)]
Use the new DB cache

14 years agoMake jigsum use the new DB cache
Steve McIntyre [Sun, 13 Mar 2005 23:03:50 +0000 (23:03 +0000)]
Make jigsum use the new DB cache

14 years agolibdb backend for the DB cache, first version
Steve McIntyre [Sun, 13 Mar 2005 22:56:01 +0000 (22:56 +0000)]
libdb backend for the DB cache, first version

14 years agoFirst cut of DB cache interface
Steve McIntyre [Sun, 13 Mar 2005 22:55:13 +0000 (22:55 +0000)]
First cut of DB cache interface

14 years agoRemoved redundant file
Steve McIntyre [Sun, 13 Mar 2005 22:44:38 +0000 (22:44 +0000)]
Removed redundant file

14 years agoRemoved redundant dump-jte.c
Steve McIntyre [Sun, 13 Mar 2005 22:44:02 +0000 (22:44 +0000)]
Removed redundant dump-jte.c

14 years agoMinor cosmetic updates to mkimage; fail immediately if we're missing
Steve McIntyre [Sun, 13 Mar 2005 22:34:56 +0000 (22:34 +0000)]
Minor cosmetic updates to mkimage; fail immediately if we're missing
files and we're not trying to build a "missing" list
mkimage code refactored to make it easier to maintain.
Cleaned up licensing - added COPYING and explicit GPL v2 headers all over.
Fix image reconstruction with jigit
Fix jigdo-handling problem; cope with missing files better
Fix FTBFS with gcc-4.0.

14 years agoFixed generation of rsyncsums v1.14-ish
Steve McIntyre [Sun, 13 Mar 2005 22:28:14 +0000 (22:28 +0000)]
Fixed generation of rsyncsums
Added -d option to mkjigsnap to specify DIRNAME
Minor prettiness tweaks to output UI of mkimage and jigit
64-bit printf fixes

14 years agoCosmetic change - better word wrapping
Steve McIntyre [Sun, 13 Mar 2005 22:26:34 +0000 (22:26 +0000)]
Cosmetic change - better word wrapping

14 years agoMinor update v1.13-ish
Steve McIntyre [Sun, 13 Mar 2005 22:24:42 +0000 (22:24 +0000)]
Minor update

14 years agoAdded man page
Steve McIntyre [Sun, 13 Mar 2005 22:24:12 +0000 (22:24 +0000)]
Added man page
Minor updates, mainly cosmetic

14 years agoAdded base64_dump() helper function
Steve McIntyre [Sun, 13 Mar 2005 22:22:52 +0000 (22:22 +0000)]
Added base64_dump() helper function

14 years agoMinor updates to jigit ready for initial Debian upload
Steve McIntyre [Sun, 13 Mar 2005 22:22:15 +0000 (22:22 +0000)]
Minor updates to jigit ready for initial Debian upload
Added man page

14 years agoAdded new programs
Steve McIntyre [Sun, 13 Mar 2005 22:20:39 +0000 (22:20 +0000)]
Added new programs

14 years agoAdded mkjigsnap, a utility to run on the server to create snapshots
Steve McIntyre [Sun, 13 Mar 2005 22:20:15 +0000 (22:20 +0000)]
Added mkjigsnap, a utility to run on the server to create snapshots
needed for jigdo templates

14 years agoAdded jigdump, a simple utility to dump the contents of a template file.
Steve McIntyre [Sun, 13 Mar 2005 22:18:28 +0000 (22:18 +0000)]
Added jigdump, a simple utility to dump the contents of a template file.

14 years agoAdded jigsum, a simple utility to calculate and print MD5sums in
Steve McIntyre [Sun, 13 Mar 2005 22:16:43 +0000 (22:16 +0000)]
Added jigsum, a simple utility to calculate and print MD5sums in
jigdo's base64-style format

14 years agoImproved the documentation, listing new options to mkimage. v1.12
Steve McIntyre [Sun, 13 Mar 2005 22:11:21 +0000 (22:11 +0000)]
Improved the documentation, listing new options to mkimage.
Fixed/updated the debian-cd patch.

14 years agoMinor cleanups
Steve McIntyre [Sun, 13 Mar 2005 22:10:52 +0000 (22:10 +0000)]
Minor cleanups

14 years agoAdded rsync sums into JTE output. v1.11
Steve McIntyre [Sun, 13 Mar 2005 22:07:55 +0000 (22:07 +0000)]
Added rsync sums into JTE output.
Added extra options to mkimage to support jigit.

14 years agoAdded initial jigit script - wrapper for mkimage to make
Steve McIntyre [Sun, 13 Mar 2005 22:07:40 +0000 (22:07 +0000)]
Added initial jigit script - wrapper for mkimage to make
download/build of ISOs much easier

14 years agoRemoved the last md5 check; no longer needed. v1.10
Steve McIntyre [Sun, 13 Mar 2005 22:04:55 +0000 (22:04 +0000)]
Removed the last md5 check; no longer needed.
Added new -jigdo-force-md5 option; any files matching specified paths
MUST match an MD5 supplied, or fail.
Fixed a couple of typos.
debian-cd diff now includes updated grab_md5 and jigdo_cleanup scripts
that must be used.
mkisofs now leaves a blank [Servers] section in the .jigdo file -
jigdo_cleanup does the work.

14 years agoAdded initial support for bzip2 compression in template files
Steve McIntyre [Sun, 13 Mar 2005 22:04:18 +0000 (22:04 +0000)]
Added initial support for bzip2 compression in template files

14 years agoAdded MD5 reverse lookups to pick up boot files; helps reduce CD/DVD v1.9
Steve McIntyre [Sun, 13 Mar 2005 22:01:10 +0000 (22:01 +0000)]
Added MD5 reverse lookups to pick up boot files; helps reduce CD/DVD
#1 size substantially, BUT -md5-list option now mandatory.
Fixed sizing bug in HFS hybrid template code.

14 years agoTweaked the -exclude option to reduce template file sizes v1.8
Steve McIntyre [Sun, 13 Mar 2005 21:59:56 +0000 (21:59 +0000)]
Tweaked the -exclude option to reduce template file sizes

14 years agoFixed a couple of silly bugs introduced; don't assume template v1.7
Steve McIntyre [Sun, 13 Mar 2005 21:58:39 +0000 (21:58 +0000)]
Fixed a couple of silly bugs introduced; don't assume template
creation.
Added README files and man page sections for the new boot support.

14 years agoUpdated README to mention debian-cd support
Steve McIntyre [Sun, 13 Mar 2005 21:57:28 +0000 (21:57 +0000)]
Updated README to mention debian-cd support

14 years agoRemoved redundant #include of sendfile.h
Steve McIntyre [Sun, 13 Mar 2005 21:57:04 +0000 (21:57 +0000)]
Removed redundant #include of sendfile.h

14 years agoRemoved the old versioned mkisofs patch v1.6
Steve McIntyre [Sun, 13 Mar 2005 21:56:20 +0000 (21:56 +0000)]
Removed the old versioned mkisofs patch

14 years agoAdded patch for debian-cd
Steve McIntyre [Sun, 13 Mar 2005 21:55:50 +0000 (21:55 +0000)]
Added patch for debian-cd

14 years agoAdded code to check MD5 sums in mkisofs; should no longer need to run
Steve McIntyre [Sun, 13 Mar 2005 21:54:01 +0000 (21:54 +0000)]
Added code to check MD5 sums in mkisofs; should no longer need to run
mirror_check any more. See the -md5-list option.

Updated README to match.

14 years agoMinor updates. v1.5
Steve McIntyre [Sun, 13 Mar 2005 21:50:27 +0000 (21:50 +0000)]
Minor updates.
Added support for gzipped jigdo files

14 years agoAdded initial iso-image.pl cgi wrapper
Steve McIntyre [Sun, 13 Mar 2005 21:49:00 +0000 (21:49 +0000)]
Added initial iso-image.pl cgi wrapper

14 years agoAdded initial README file
Steve McIntyre [Sun, 13 Mar 2005 21:48:35 +0000 (21:48 +0000)]
Added initial README file

14 years agoInitial checkin of JTE files from package version 1.4 v1.4
Steve McIntyre [Sun, 13 Mar 2005 21:46:46 +0000 (21:46 +0000)]
Initial checkin of JTE files from package version 1.4