Differences between revisions 13 and 14
Revision 13 as of 2006-05-25 15:04:03
Size: 3300
Comment:
Revision 14 as of 2006-05-25 15:05:04
Size: 3303
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
  '''Note''': You could depend on and use debpartial-mirror (it's written in Python) ?
'''Note''': You could depend on and use debpartial-mirror (it's written in Python).

Features

o New and clean design focus in modularity.

o Main programming language: python

o A real configuration file. (debian-cd.conf)

o Retrieve .deb and .udeb packages from a mirror, like debian-installer does.

  • debian-cd.conf must have this line: debian-cd-ng will download all Packages.gz from: This will simplify the logic, it doesn't matter if it's a local mirror or a remote mirror.

    Note: You could depend on and use debpartial-mirror (it's written in Python).

o Conserve major features from debian-cd

o Smart warnings

  • If there is a problem (not critical):
    1. point what's happening
    2. show how to solve
    If something goes wrong:
    1. point what's happening
    2. show how to solve the problem

o Mix binary and source in the same CD/DVD

  • Just for one CD/DVD: Once you have the binary tree and the source tree:
    1. Calculate if there is enough space to combine both in one media.
    2. If so combine both trees into a single.

o ?MedyaType input variable that would tell me:

  • 1 - businesscard CD 2 - netinst CD 3 - usual CD 4 - DVD

o Deep check of dependencies

  • Mix dependencies of the package with run-time checks

o Cleaner output to the shell

Structure

o data/

  • External data This directory should be the same that the current.

o debian-cd

  • Main executable program This will be the access point for doing anything.

o debian-cd.conf

  • Main configuration file Main config file, a simple conf file.

o doc/

  • Documentation This dir will contain all the documentation of the system.

o tools/

  • All the backend of debian-cd This dir will contain all the libraries (mainly, coded in python).

Components

  1. conf-parser. Load configuration.
    • o Get all the variables needed parsing debian-cd.conf o Check for unset variables, if it's missing one essential variable show the
      • error and stop.
  2. sweeper. This will clean the workspace.
  3. pre-checks. Initial checks.
    • o Check that the "Packages" file is well-formed. o Check the mirror using the information provided by the Packages file. o Check that the mirror contains all the packages needed that belongs to base section.
  4. gen-bootable
    • o make the CDs/DVDs bootable, it's needed to add disk-arch stuff.
  5. gen-tree, for each CD/DVD
    • o bin-tree o source-tree
  6. gen-md5list
  7. gen-images (Jigdo, iso, torrents, ...)
    • o bin-images o src-images o hibryd-images (mix binary and sources)
  8. gen-imagesums

Design

[http://www.carlospc.org/images/brainstorming.png]

References

o http://lists.debian.org/debian-cd/2005/07/msg00087.html

o http://lists.debian.org/debian-cd/2004/01/threads.html#00045

o http://lists.debian.org/debian-cd/2004/01/msg00025.html