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_sane_dep
def add_break_dep
def add_unsat_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 86 of file excuse.py.

def excuse.Excuse.add_dep (   self,
  name 
)

Add a dependency

Definition at line 78 of file excuse.py.

def excuse.Excuse.add_sane_dep (   self,
  name 
)

Add a sane dependency

Definition at line 82 of file excuse.py.

def excuse.Excuse.add_unsat_dep (   self,
  arch 
)

Add a flag for unsatisfied dependencies

Definition at line 91 of file excuse.py.

def excuse.Excuse.addhtml (   self,
  note 
)

Add a note in HTML

Definition at line 104 of file excuse.py.

def excuse.Excuse.html (   self  ) 

Render the excuse in HTML

Definition at line 108 of file excuse.py.

def excuse.Excuse.invalidate_dep (   self,
  name 
)

Invalidate dependency

Definition at line 95 of file excuse.py.

def excuse.Excuse.set_date (   self,
  date 
)

Set the date of upload of the package

Definition at line 70 of file excuse.py.

def excuse.Excuse.set_maint (   self,
  maint 
)

Set the package maintainer's name

Definition at line 58 of file excuse.py.

def excuse.Excuse.set_priority (   self,
  pri 
)

Set the priority of the package

Definition at line 66 of file excuse.py.

def excuse.Excuse.set_section (   self,
  section 
)

Set the section of the package

Definition at line 62 of file excuse.py.

def excuse.Excuse.set_urgency (   self,
  date 
)

Set the urgency of upload of the package

Definition at line 74 of file excuse.py.

def excuse.Excuse.set_vers (   self,
  tver,
  uver 
)

Set the testing and unstable versions

Definition at line 53 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 99 of file excuse.py.


The documentation for this class was generated from the following file:
Generated on Fri Aug 18 23:23:25 2006 for briteny by  doxygen 1.4.7