[Soc-coordination] debian-images-generator report for June 9

Carlos Parra Camargo cparra at emergya.info
Fri Jun 9 18:17:18 UTC 2006


 This is the third report of debian-images-generator project.

 Things that have been keeping me busy this week:

 - I've been setting up a local debian mirror for future builds.
 - Major changes in aptlogic component:
   - now loads all the info about packages into memory.
   - it downloads files into his correct temporal dir.
   - added support of "section/debian-installer" component,
     the char '/' needed special consideration.
 - Some minor changes in others components.

If you want to know more, have a look at the commits comments.

== A litte tour ==

  This is a quick tour to have a look at debian-images-generator.

  If you want to test yourself you will need:
  * python-apt
  * debian distro

$ svn co svn://svn.debian.org/deb-imgs-gen
$ cd deb-imgs-gen/trunk

TEST: If you try to execute it without a temporal dir created it will stop.

$ ./dig.py
===================== Loading config... ====================
TDir = Directory "/tmp/dig" doesn't exist

  You have to solve this problems before going on

TEST: Create a temporal dir and see the output. When it is finished, 
 have a look at /tmp/dig/apt/python_vision, this file contains the
 info that python have about packages, this info will be present in
 memory since aptlogic is called.

$ mkdir /tmp/dig
$ ./dig.py
===================== Loading config... ====================
================= Cleaning temporal dirs... ================
==================== Loading apt info... ===================
Downloading sarge_contrib_Packages file ...     
Decompressing sarge_contrib_Packages file ...   
Downloading sarge_non-free_Packages file ...   
Decompressing sarge_non-free_Packages file ...
Downloading sarge_main_debian-installer_Packages file ...
Decompressing sarge_main_debian-installer_Packages file ...
======================== devel info ========================
**** VARS ****
codename:  sarge
debversion:  3.1
official:  False
mirror:  http://ftp.debian.org/debian/
tdir:  /tmp/dig
out:  /tmp/dig/out
apttmp:  /tmp/dig/apt
arch:  i386
multiarch:  None

TEST: Imagine that you write in your config file:
 *  an incorrect architecture (i387)
 *  you forget to declare the temporal directory (it's mandatory).

$ ./dig.py
===================== Loading config... ====================
TDir = Missing value or section
Arch = Invalid architecture: "i387"

  You have to solve this problems before going on


TEST: Imagine that you declare Codename twice at the config file

$ ./dig.py
===================== Loading config... ====================
Duplicate keyword name at line 1.
  " CodeName = woody "

  You have to solve this problems before going on

-- 
Carlos Parra Camargo
Emergya, Soluciones Tecnológicas
Tel. +34 954 98 10 53 FAX +34 954 98 11 79
Avda. Luis Montoto, 105
E41007 Sevilla
cparra at emergya.info
http://www.emergya.info



More information about the Soc-coordination mailing list