Differences between revisions 16 and 17
Revision 16 as of 2008-03-21 19:43:05
Size: 3346
Comment:
Revision 17 as of 2008-04-22 17:07:28
Size: 3346
Comment:
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
 * The second release can be found at: http://users.alioth.debian.org/~jak-guest/debimg_0.0.2.tar.gz  * The second release can be found at: http://users.alioth.debian.org/~jak-guest/debimg_0.0.3.tar.gz

debimg

debimg is an alternative to debian-cd, written in Python and released under the terms of the GNU General Public License, version 3 or (at your option) any later version.

Current Speed

These times are for the build 2008-03-20 amd64 (iso) with the 0.0.2 release:

  • Resolve Dependencies for all packages: 0.5 seconds
  • Build a netinst disk: 3.72 seconds (without documentation at the moment) attachment:build_log.txt

What is different to deb-imgs-gen?

debimg has a much newer codebase. It is released under the GNU GPL version 3 or (at your option) any later version.

It is designed on top of the apt package and uses python where possible:

  • Use apt methods to download all the files (including kernel, packages, etc.)
    • Since 0.0.2, local files are hardlinked
  • No external calls: The only program called is genisoimage

debimg also uses 822-like data files, see data/lenny.list in the source. This format saves space and should be faster, because it can be parsed by apt_pkg.ParseTagFile() and only one file needs to be opened instead of multiple ones.

Get it

What is working?

  • Creation of netinst disks for Lenny, though a few files are missing (see link below for daily-build images)

What needs to be done?

  • Add documentation and other stuff
  • Support architectures other than i386 and amd64
  • Support creation of full sets (requires improved logic in libdebimg.packages)
  • Cleanup the configuration file
    • Move some variables into their own section, e.g. DI_* variables
    • Rename some variables (e.g MIRROR to Mirror, MEDIATYPE => MediaType)

  • Create a Debian package
    • Requires changes in code to accept /etc/debimg.cfg and more (2008-03-21: Already DONE)

    • Requires changes to setup.py to install data files
    • The contents of debian/ are not committed yet, but available

Done in 0.0.2

  • Speed improvements
    • Hardlink local files instead of fetching with apt
    • New dependency resolver which is more than 3000 times faster

Your comments

WikiPages are page names are usually written as CamelCase. Could you consider renaming this page DebImg or Debimg. (you can remove this note once you've read it, whether you plan to rename the page or not.). -- FranklinPiat