You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
britney2-ubuntu/doc/html/classexcuse_1_1Excuse.html

562 lines
22 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>briteny: excuse.Excuse Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Packages</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="namespaceexcuse.html">excuse</a>.<a class="el" href="classexcuse_1_1Excuse.html">Excuse</a></div>
<h1>excuse.Excuse Class Reference</h1><!-- doxytag: class="excuse::Excuse" --><a href="classexcuse_1_1Excuse-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#4bdb0917f763d74951c621e466e98bdb">__init__</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#b8751fc5d0033b4c734c476d92841d99">set_vers</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#189ec1709eef0bd8acb9cd093b8350b5">set_maint</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#6b435fa4d19b929d9fb70c8d28688387">set_section</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#3a0ebe3eb87c1af8f093e80a874ea0fa">set_priority</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#ac01c3b9802ad26571f01b55ffc1098c">set_date</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#c504d40ac6d07ffdb08b7ff8ed555d10">set_urgency</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#fa97c9f61fef17d6028491362153a766">add_dep</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#8a89f54df8036e6f5c7c6bfa3f0cc6fc">add_sane_dep</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#60e00fe0515f2dab003bd29baceedd34">add_break_dep</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#7c76b47749dc3da2b1988a6991664a40">add_unsat_dep</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#8594c46ccf4182fa8b37fe487bf53850">invalidate_dep</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#cf1fa7c6fb741bbe7e3120113748f3a5">setdaysold</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#eb0a1ea0fae66a571e5efa703e53ba3a">addhtml</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">def&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#84049740652a58b248fabdb3fa9d4b2c">html</a></td></tr>
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bb15f55eed8f034db8a64b4ddc46460d"></a><!-- doxytag: member="excuse::Excuse::reemail" ref="bb15f55eed8f034db8a64b4ddc46460d" args="" -->
tuple&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexcuse_1_1Excuse.html#bb15f55eed8f034db8a64b4ddc46460d">reemail</a> = re.compile(r&quot;&lt;.*?&gt;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Regular expression for removing the email address. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<div class="fragment"><pre class="fragment">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.
</pre></div>
<p>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00021">21</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="4bdb0917f763d74951c621e466e98bdb"></a><!-- doxytag: member="excuse::Excuse::__init__" ref="4bdb0917f763d74951c621e466e98bdb" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.__init__ </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>name</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Class constructor
This method initializes the excuse with the specified name and
the default values.
</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00028">28</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="60e00fe0515f2dab003bd29baceedd34"></a><!-- doxytag: member="excuse::Excuse::add_break_dep" ref="60e00fe0515f2dab003bd29baceedd34" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.add_break_dep </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>arch</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Add a break dependency</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00086">86</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="fa97c9f61fef17d6028491362153a766"></a><!-- doxytag: member="excuse::Excuse::add_dep" ref="fa97c9f61fef17d6028491362153a766" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.add_dep </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>name</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Add a dependency</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00078">78</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="8a89f54df8036e6f5c7c6bfa3f0cc6fc"></a><!-- doxytag: member="excuse::Excuse::add_sane_dep" ref="8a89f54df8036e6f5c7c6bfa3f0cc6fc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.add_sane_dep </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>name</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Add a sane dependency</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00082">82</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="7c76b47749dc3da2b1988a6991664a40"></a><!-- doxytag: member="excuse::Excuse::add_unsat_dep" ref="7c76b47749dc3da2b1988a6991664a40" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.add_unsat_dep </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>arch</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Add a flag for unsatisfied dependencies</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00091">91</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="eb0a1ea0fae66a571e5efa703e53ba3a"></a><!-- doxytag: member="excuse::Excuse::addhtml" ref="eb0a1ea0fae66a571e5efa703e53ba3a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.addhtml </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>note</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Add a note in HTML</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00104">104</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="84049740652a58b248fabdb3fa9d4b2c"></a><!-- doxytag: member="excuse::Excuse::html" ref="84049740652a58b248fabdb3fa9d4b2c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.html </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Render the excuse in HTML</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00108">108</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="8594c46ccf4182fa8b37fe487bf53850"></a><!-- doxytag: member="excuse::Excuse::invalidate_dep" ref="8594c46ccf4182fa8b37fe487bf53850" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.invalidate_dep </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>name</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Invalidate dependency</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00095">95</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="ac01c3b9802ad26571f01b55ffc1098c"></a><!-- doxytag: member="excuse::Excuse::set_date" ref="ac01c3b9802ad26571f01b55ffc1098c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.set_date </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>date</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Set the date of upload of the package</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00070">70</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="189ec1709eef0bd8acb9cd093b8350b5"></a><!-- doxytag: member="excuse::Excuse::set_maint" ref="189ec1709eef0bd8acb9cd093b8350b5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.set_maint </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>maint</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Set the package maintainer's name</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00058">58</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="3a0ebe3eb87c1af8f093e80a874ea0fa"></a><!-- doxytag: member="excuse::Excuse::set_priority" ref="3a0ebe3eb87c1af8f093e80a874ea0fa" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.set_priority </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>pri</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Set the priority of the package</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00066">66</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="6b435fa4d19b929d9fb70c8d28688387"></a><!-- doxytag: member="excuse::Excuse::set_section" ref="6b435fa4d19b929d9fb70c8d28688387" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.set_section </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>section</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Set the section of the package</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00062">62</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="c504d40ac6d07ffdb08b7ff8ed555d10"></a><!-- doxytag: member="excuse::Excuse::set_urgency" ref="c504d40ac6d07ffdb08b7ff8ed555d10" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.set_urgency </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>date</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Set the urgency of upload of the package</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00074">74</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="b8751fc5d0033b4c734c476d92841d99"></a><!-- doxytag: member="excuse::Excuse::set_vers" ref="b8751fc5d0033b4c734c476d92841d99" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.set_vers </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>tver</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>uver</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Set the testing and unstable versions</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00053">53</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<a class="anchor" name="cf1fa7c6fb741bbe7e3120113748f3a5"></a><!-- doxytag: member="excuse::Excuse::setdaysold" ref="cf1fa7c6fb741bbe7e3120113748f3a5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def excuse.Excuse.setdaysold </td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>daysold</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"> <em>mindays</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<div class="fragment"><pre class="fragment">Set the number of days from the upload and the minimum number of days for the update</pre></div>
<p>
Definition at line <a class="el" href="excuse_8py-source.html#l00099">99</a> of file <a class="el" href="excuse_8py-source.html">excuse.py</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="excuse_8py-source.html">excuse.py</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Aug 18 23:23:25 2006 for briteny by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>