excuse.Excuse Class Reference

List of all members.

Public Member Functions

def __init__
def set_vers
def set_maint
def set_section
def set_priority
def set_date
def set_urgency
def add_dep
def add_break_dep
def invalidate_dep
def setdaysold
def addhtml
def html

Static Public Attributes

tuple reemail = re.compile(r"<.*?>")
 Regular expression for removing the email address.

Detailed Description

Excuse class

This class represents an update excuse, which is a detailed explanation
of why a package can or cannot be updated in the testing distribution from
a newer package in another distribution (like for example unstable).

The main purpose of the excuses is to be written in an HTML file which
will be published over HTTP. The maintainers will be able to parse it
manually or automatically to find the explanation of why their packages
have been updated or not.

Definition at line 21 of file excuse.py.


Member Function Documentation

def excuse.Excuse.__init__   self,
  name
 

Class constructor

This method initializes the excuse with the specified name and
the default values.

Definition at line 28 of file excuse.py.

def excuse.Excuse.add_break_dep   self,
  name,
  arch
 

Add a break dependency

Definition at line 80 of file excuse.py.

def excuse.Excuse.add_dep   self,
  name
 

Add a dependency

Definition at line 76 of file excuse.py.

def excuse.Excuse.addhtml   self,
  note
 

Add a note in HTML

Definition at line 94 of file excuse.py.

def excuse.Excuse.html   self  ) 
 

Render the excuse in HTML

Definition at line 98 of file excuse.py.

def excuse.Excuse.invalidate_dep   self,
  name
 

Invalidate dependency

Definition at line 85 of file excuse.py.

def excuse.Excuse.set_date   self,
  date
 

Set the date of upload of the package

Definition at line 68 of file excuse.py.

def excuse.Excuse.set_maint   self,
  maint
 

Set the package maintainer's name

Definition at line 56 of file excuse.py.

def excuse.Excuse.set_priority   self,
  pri
 

Set the priority of the package

Definition at line 64 of file excuse.py.

def excuse.Excuse.set_section   self,
  section
 

Set the section of the package

Definition at line 60 of file excuse.py.

def excuse.Excuse.set_urgency   self,
  date
 

Set the urgency of upload of the package

Definition at line 72 of file excuse.py.

def excuse.Excuse.set_vers   self,
  tver,
  uver
 

Set the testing and unstable versions

Definition at line 51 of file excuse.py.

def excuse.Excuse.setdaysold   self,
  daysold,
  mindays
 

Set the number of days from the upload and the minimum number of days for the update

Definition at line 89 of file excuse.py.


The documentation for this class was generated from the following file:
Generated on Sun Jun 25 12:04:03 2006 for briteny by  doxygen 1.4.6