@ -9,18 +9,32 @@ def \bf{read\_\-sources}
\item
def \bf { read\_ \- binaries}
\item
def \bf { register\_ \- reverses}
\item
def \bf { read\_ \- bugs}
\item
def \bf { write\_ \- bugs}
\item
def \bf { normalize\_ \- bugs}
\item
def \bf { read\_ \- dates}
\item
def \bf { write\_ \- dates}
\item
def \bf { read\_ \- urgencies}
\item
def \bf { read\_ \- approvals}
\item
def \bf { read\_ \- hints}
\item
def \bf { write\_ \- heidi}
\item
def \bf { write\_ \- controlfiles}
\item
def \bf { write\_ \- nuninst}
\item
def \bf { read\_ \- nuninst}
\item
def \bf { same\_ \- source}
\item
def \bf { get\_ \- dependency\_ \- solvers}
@ -39,36 +53,44 @@ def \bf{invalidate\_\-excuses}
\item
def \bf { write\_ \- excuses}
\item
def \bf { get\_ \- nuninst} \label { classbritney_ 1_ 1Britney_ 41c5ee0b9d64b2e76a0c1a1c2b28c73e}
def \bf { newlyuninst}
\item
def \bf { eval\_ \- nuninst} \label { classbritney_ 1_ 1Britney_ e5c18b706e6598474435b1996313cf27}
def \bf { get\_ \- nuninst}
\item
def \bf { eval\_ \- uninst} \label { classbritney_ 1_ 1Britney_ b8dd18ead23b6e1126bb4c2a5c3cd8ba}
def \bf { eval\_ \- nuninst}
\item
def \bf { doop\_ \- source} \label { classbritney_ 1_ 1Britney_ 22af61b8a7f6fe71a79d28b5016cae1d}
def \bf { eval\_ \- uninst}
\item
def \bf { iter\_ \- packages} \label { classbritney_ 1_ 1Britney_ d453398832baaa7f477f720cfb643029 }
def \bf { is\_ \- nuninst\_ \- asgood\_ \- generous} \label { classbritney_ 1_ 1Britney_ 2f7401c8e41b8095bd99bd656bb41546 }
\item
def \bf { do\_ \- all} \label { classbritney_ 1_ 1Britney_ 3ef9b6f600eac492fc5aa4b31638198f}
def \bf { check\_ \- installable}
\item
def \bf { check\_ \- conflicts}
\item
def \bf { doop\_ \- source}
\item
def \bf { get\_ \- full\_ \- tree}
\item
def \bf { iter\_ \- packages}
\item
def \bf { do\_ \- all}
\item
def \bf { upgrade\_ \- testing}
\item
def \bf { main}
\end { CompactItemize}
\subsection * { Public Attributes}
\begin { CompactItemize}
def \bf { do\_ \- hint}
\item
\bf { selected} \label { classbritney_ 1_ 1Britney_ 07e771f94d4ce224d5677542db25034d}
def \bf { sort\_ \- actions}
\item
\bf { nuninst\_ \- orig} \label { classbritney_ 1_ 1Britney_ d6169c55786a8ec7fb9773170b652da6}
def \bf { auto\_ \- hinter}
\item
def \bf { old\_ \- libraries}
\item
def \bf { old\_ \- libraries\_ \- format}
\item
def \bf { output\_ \- write}
\item
def \bf { main}
\end { CompactItemize}
\subsection * { Static Public Attributes}
\begin { CompactItemize}
@ -99,7 +121,7 @@ For more documentation on this script, please read the Developers Reference.
Definition at line 195 of file britney.py.
Definition at line 212 of file britney.py.
\subsection { Member Function Documentation}
\index { britney::Britney@{ britney::Britney} !_ _ init_ _ @{ \_ \- \_ \- init\_ \- \_ \- } }
@ -117,9 +139,160 @@ the information needed by the other methods of the class.
\normalsize
Definition at line 201 of file britney.py.\index { britney::Britney@{ britney::Britney} !excuse_ unsat_ deps@{ excuse\_ \- unsat\_ \- deps} }
Definition at line 218 of file britney.py.\index { britney::Britney@{ britney::Britney} !auto_ hinter@{ auto\_ \- hinter} }
\index { auto_ hinter@{ auto\_ \- hinter} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.auto\_ \- hinter ( { \em self} )} \label { classbritney_ 1_ 1Britney_ c9c109f54ddce53b17513405e07dba1a}
\footnotesize \begin { verbatim} Auto hint circular dependencies
This method tries to auto hint circular dependencies analyzing the update
excuses relationships. If they build a circular dependency, which we already
know as not-working with the standard do_ all algorithm, try to `easy` them.
\end { verbatim}
\normalsize
Definition at line 2536 of file britney.py.\index { britney::Britney@{ britney::Britney} !check_ conflicts@{ check\_ \- conflicts} }
\index { check_ conflicts@{ check\_ \- conflicts} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.check\_ \- conflicts ( { \em self} , { \em pkg} , { \em arch} , { \em broken} , { \em system} , { \em conflicts} )} \label { classbritney_ 1_ 1Britney_ 998b3ddbaedbb6cdb732b2307477e96f}
\footnotesize \begin { verbatim} Check if a package can be installed satisfying the conflicts
This method checks if the `pkg` package from the `arch` architecture
can be installed (excluding `broken` packages) within the system
`system` along with all its dependencies. This means that all the
conflicts relationships are checked in order to achieve the test
co-installability of the package.
The method returns a boolean which is True if the given package is
co-installable in the given system.
\end { verbatim}
\normalsize
Definition at line 1661 of file britney.py.\index { britney::Britney@{ britney::Britney} !check_ installable@{ check\_ \- installable} }
\index { check_ installable@{ check\_ \- installable} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.check\_ \- installable ( { \em self} , { \em pkg} , { \em arch} , { \em suite} , { \em excluded} = { \tt []} , { \em conflicts} = { \tt False} )} \label { classbritney_ 1_ 1Britney_ 4c06ddd116a40752c62d4395e92a97df}
\footnotesize \begin { verbatim} Check if a package is installable
This method analyzes the dependencies of the binary package specified
by the parameter `pkg' for the architecture `arch' within the suite
`suite'. If the dependency can be satisfied in the given `suite` and
`conflicts` parameter is True, then the co-installability with
conflicts handling is checked.
The dependency fields checked are Pre-Depends and Depends.
The method returns a boolean which is True if the given package is
installable.
\end { verbatim}
\normalsize
Definition at line 1620 of file britney.py.\index { britney::Britney@{ britney::Britney} !do_ all@{ do\_ \- all} }
\index { do_ all@{ do\_ \- all} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.do\_ \- all ( { \em self} , { \em maxdepth} = { \tt 0} , { \em init} = { \tt None} , { \em actions} = { \tt None} )} \label { classbritney_ 1_ 1Britney_ 3ef9b6f600eac492fc5aa4b31638198f}
\footnotesize \begin { verbatim} Testing update runner
This method tries to update testing checking the uninstallability
counters before and after the actions to decide if the update was
successful or not.
\end { verbatim}
\normalsize
Definition at line 2258 of file britney.py.\index { britney::Britney@{ britney::Britney} !do_ hint@{ do\_ \- hint} }
\index { do_ hint@{ do\_ \- hint} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.do\_ \- hint ( { \em self} , { \em type} , { \em who} , { \em pkgvers} )} \label { classbritney_ 1_ 1Britney_ 7bf70a5ad5754eb949205db3dc4b9c8a}
\footnotesize \begin { verbatim} Process hints
This method process `easy`, `hint` and `force-hint` hints. If the
requested version is not in unstable, than the hint is skipped.
\end { verbatim}
\normalsize
Definition at line 2460 of file britney.py.\index { britney::Britney@{ britney::Britney} !doop_ source@{ doop\_ \- source} }
\index { doop_ source@{ doop\_ \- source} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.doop\_ \- source ( { \em self} , { \em pkg} )} \label { classbritney_ 1_ 1Britney_ 22af61b8a7f6fe71a79d28b5016cae1d}
\footnotesize \begin { verbatim} Apply a change to the testing distribution as requested by `pkg`
This method apply the changes required by the action `pkg` tracking
them so it will be possible to revert them.
The method returns a list of the package name, the suite where the
package comes from, the list of packages affected by the change and
the dictionary undo which can be used to rollback the changes.
\end { verbatim}
\normalsize
Definition at line 1880 of file britney.py.\index { britney::Britney@{ britney::Britney} !eval_ nuninst@{ eval\_ \- nuninst} }
\index { eval_ nuninst@{ eval\_ \- nuninst} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.eval\_ \- nuninst ( { \em self} , { \em nuninst} , { \em original} = { \tt None} )} \label { classbritney_ 1_ 1Britney_ e5c18b706e6598474435b1996313cf27}
\footnotesize \begin { verbatim} Return a string which represents the uninstallability counters
This method returns a string which represents the uninstallability
counters reading the uninstallability statistics `nuninst` and, if
present, merging the results with the `original` one.
An example of the output string is:
1+2: i-0:a-0:a-0:h-0:i-1:m-0:m-0:p-0:a-0:m-0:s-2:s-0
where the first part is the number of broken packages in non-break
architectures + the total number of broken packages for all the
architectures.
\end { verbatim}
\normalsize
Definition at line 1568 of file britney.py.\index { britney::Britney@{ britney::Britney} !eval_ uninst@{ eval\_ \- uninst} }
\index { eval_ uninst@{ eval\_ \- uninst} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.eval\_ \- uninst ( { \em self} , { \em nuninst} )} \label { classbritney_ 1_ 1Britney_ b8dd18ead23b6e1126bb4c2a5c3cd8ba}
\footnotesize \begin { verbatim} Return a string which represents the uninstallable packages
This method returns a string which represents the uninstallable
packages reading the uninstallability statistics `nuninst`.
An example of the output string is:
* i386: broken-pkg1, broken-pkg2
\end { verbatim}
\normalsize
Definition at line 1598 of file britney.py.\index { britney::Britney@{ britney::Britney} !excuse_ unsat_ deps@{ excuse\_ \- unsat\_ \- deps} }
\index { excuse_ unsat_ deps@{ excuse\_ \- unsat\_ \- deps} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.excuse\_ \- unsat\_ \- deps ( { \em self} , { \em pkg} , { \em src} , { \em arch} , { \em suite} , { \em excuse} = { \tt None} , { \em excluded} = { \tt []} )} \label { classbritney_ 1_ 1Britney_ f51c60a69f3a9dc2bc5afdb2ffaf3990}
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.excuse\_ \- unsat\_ \- deps ( { \em self} , { \em pkg} , { \em src} , { \em arch} , { \em suite} , { \em excuse} , { \em excluded} = { \tt []} , { \em conflicts} = { \tt False } )} \label { classbritney_ 1_ 1Britney_ f51c60a69f3a9dc2bc5afdb2ffaf3990}
@ -137,9 +310,9 @@ The dependency fields checked are Pre-Depends and Depends.
\normalsize
Definition at line 70 9 of file britney.py.\index { britney::Britney@{ britney::Britney} !get_ dependency_ solvers@{ get\_ \- dependency\_ \- solvers} }
Definition at line 930 of file britney.py.\index { britney::Britney@{ britney::Britney} !get_ dependency_ solvers@{ get\_ \- dependency\_ \- solvers} }
\index { get_ dependency_ solvers@{ get\_ \- dependency\_ \- solvers} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.get\_ \- dependency\_ \- solvers ( { \em self} , { \em block} , { \em arch} , { \em distribution} , { \em excluded} = { \tt []} )} \label { classbritney_ 1_ 1Britney_ 5461f49e3e75a251ebedfd37d2a5ff0c}
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.get\_ \- dependency\_ \- solvers ( { \em self} , { \em block} , { \em arch} , { \em distribution} , { \em excluded} = { \tt []} , { \em strict} = { \tt False} )} \label { classbritney_ 1_ 1Britney_ 5461f49e3e75a251ebedfd37d2a5ff0c}
@ -157,7 +330,43 @@ solving packages.
\normalsize
Definition at line 669 of file britney.py.\index { britney::Britney@{ britney::Britney} !invalidate_ excuses@{ invalidate\_ \- excuses} }
Definition at line 889 of file britney.py.\index { britney::Britney@{ britney::Britney} !get_ full_ tree@{ get\_ \- full\_ \- tree} }
\index { get_ full_ tree@{ get\_ \- full\_ \- tree} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.get\_ \- full\_ \- tree ( { \em self} , { \em pkg} , { \em arch} , { \em suite} )} \label { classbritney_ 1_ 1Britney_ a923f6b90e2574e3bb2bb099b05925dd}
\footnotesize \begin { verbatim} Calculate the full dependency tree for the given package
This method returns the full dependency tree for the package `pkg`,
inside the `arch` architecture for the suite `suite`.
\end { verbatim}
\normalsize
Definition at line 2022 of file britney.py.\index { britney::Britney@{ britney::Britney} !get_ nuninst@{ get\_ \- nuninst} }
\index { get_ nuninst@{ get\_ \- nuninst} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.get\_ \- nuninst ( { \em self} , { \em requested\_ \- arch} = { \tt None} , { \em build} = { \tt False} )} \label { classbritney_ 1_ 1Britney_ 41c5ee0b9d64b2e76a0c1a1c2b28c73e}
\footnotesize \begin { verbatim} Return the uninstallability statistic for all the architectures
To calculate the uninstallability counters, the method checks the
installability of all the packages for all the architectures, and
tracking dependencies in a recursive way. The architecture
indipendent packages are checked only for the `nobreakall`
architectures.
It returns a dictionary with the architectures as keys and the list
of uninstallable packages as values.
\end { verbatim}
\normalsize
Definition at line 1508 of file britney.py.\index { britney::Britney@{ britney::Britney} !invalidate_ excuses@{ invalidate\_ \- excuses} }
\index { invalidate_ excuses@{ invalidate\_ \- excuses} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.invalidate\_ \- excuses ( { \em self} , { \em valid} , { \em invalid} )} \label { classbritney_ 1_ 1Britney_ 171969785db449d7a06c3f762774e0cd}
@ -173,7 +382,24 @@ on invalid excuses. The two parameters contains the list of
\normalsize
Definition at line 1112 of file britney.py.\index { britney::Britney@{ britney::Britney} !main@{ main} }
Definition at line 1344 of file britney.py.\index { britney::Britney@{ britney::Britney} !iter_ packages@{ iter\_ \- packages} }
\index { iter_ packages@{ iter\_ \- packages} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.iter\_ \- packages ( { \em self} , { \em packages} , { \em selected} , { \em hint} = { \tt False} , { \em nuninst} = { \tt None} )} \label { classbritney_ 1_ 1Britney_ d453398832baaa7f477f720cfb643029}
\footnotesize \begin { verbatim} Iter on the list of actions and apply them one-by-one
This method apply the changes from `packages` to testing, checking the uninstallability
counters for every action performed. If the action do not improve the it, it is reverted.
The method returns the new uninstallability counters and the remaining actions if the
final result is successful, otherwise (None, None).
\end { verbatim}
\normalsize
Definition at line 2038 of file britney.py.\index { britney::Britney@{ britney::Britney} !main@{ main} }
\index { main@{ main} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.main ( { \em self} )} \label { classbritney_ 1_ 1Britney_ 0e9551bdf927388f55be5ce15a48c94f}
@ -188,7 +414,25 @@ for the member methods which will produce the output files.
\normalsize
Definition at line 1455 of file britney.py.\index { britney::Britney@{ britney::Britney} !normalize_ bugs@{ normalize\_ \- bugs} }
Definition at line 2612 of file britney.py.\index { britney::Britney@{ britney::Britney} !newlyuninst@{ newlyuninst} }
\index { newlyuninst@{ newlyuninst} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.newlyuninst ( { \em self} , { \em nuold} , { \em nunew} )} \label { classbritney_ 1_ 1Britney_ 60ccd1851bcea5659fed15010541e244}
\footnotesize \begin { verbatim} Return a nuninst statstic with only new uninstallable packages
This method subtract the uninstallabla packages of the statistic
`nunew` from the statistic `nuold`.
It returns a dictionary with the architectures as keys and the list
of uninstallable packages as values.
\end { verbatim}
\normalsize
Definition at line 1493 of file britney.py.\index { britney::Britney@{ britney::Britney} !normalize_ bugs@{ normalize\_ \- bugs} }
\index { normalize_ bugs@{ normalize\_ \- bugs} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.normalize\_ \- bugs ( { \em self} )} \label { classbritney_ 1_ 1Britney_ 5a6af4a100cfd54e872a27fa7f48ac3c}
@ -203,7 +447,46 @@ object attribute `bugs'.
\normalsize
Definition at line 448 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ approvals@{ read\_ \- approvals} }
Definition at line 549 of file britney.py.\index { britney::Britney@{ britney::Britney} !old_ libraries@{ old\_ \- libraries} }
\index { old_ libraries@{ old\_ \- libraries} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.old\_ \- libraries ( { \em self} )} \label { classbritney_ 1_ 1Britney_ 39c07e55b274ff98cb9cecb5f051bc5d}
\footnotesize \begin { verbatim} Detect old libraries left in testing for smooth transitions
This method detect old libraries which are in testing but no longer
built from the source package: they are still there because other
packages still depend on them, but they should be removed as soon
as possible.
\end { verbatim}
\normalsize
Definition at line 2576 of file britney.py.\index { britney::Britney@{ britney::Britney} !old_ libraries_ format@{ old\_ \- libraries\_ \- format} }
\index { old_ libraries_ format@{ old\_ \- libraries\_ \- format} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.old\_ \- libraries\_ \- format ( { \em self} , { \em libs} )} \label { classbritney_ 1_ 1Britney_ 7c45f1c5b1dbd442fb9b85fef3fe1823}
\footnotesize \begin { verbatim} Format old libraries in a smart table\end { verbatim}
\normalsize
Definition at line 2596 of file britney.py.\index { britney::Britney@{ britney::Britney} !output_ write@{ output\_ \- write} }
\index { output_ write@{ output\_ \- write} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.output\_ \- write ( { \em self} , { \em msg} )} \label { classbritney_ 1_ 1Britney_ b0406f20fbbbb08cd3c6e5e6b35f77d5}
\footnotesize \begin { verbatim} Simple wrapper for output writing\end { verbatim}
\normalsize
Definition at line 2608 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ approvals@{ read\_ \- approvals} }
\index { read_ approvals@{ read\_ \- approvals} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.read\_ \- approvals ( { \em self} , { \em basedir} )} \label { classbritney_ 1_ 1Britney_ 39248f0cfea1c8798b2ca5a97d37eaf8}
@ -228,7 +511,7 @@ is the user who submitted the command.
\normalsize
Definition at line 554 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ binaries@{ read\_ \- binaries} }
Definition at line 669 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ binaries@{ read\_ \- binaries} }
\index { read_ binaries@{ read\_ \- binaries} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.read\_ \- binaries ( { \em self} , { \em basedir} , { \em distribution} , { \em arch} )} \label { classbritney_ 1_ 1Britney_ 1b2b0f42e4af1cee472f93e955b30421}
@ -260,7 +543,7 @@ packages that provide it.
\normalsize
Definition at line 31 7 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ bugs@{ read\_ \- bugs} }
Definition at line 36 7 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ bugs@{ read\_ \- bugs} }
\index { read_ bugs@{ read\_ \- bugs} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.read\_ \- bugs ( { \em self} , { \em basedir} )} \label { classbritney_ 1_ 1Britney_ 6c777aae69e7bec2efebaf23ddd4a86c}
@ -281,7 +564,7 @@ name and the value is the number of open RC bugs for it.
\normalsize
Definition at line 406 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ dates@{ read\_ \- dates} }
Definition at line 493 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ dates@{ read\_ \- dates} }
\index { read_ dates@{ read\_ \- dates} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.read\_ \- dates ( { \em self} , { \em basedir} )} \label { classbritney_ 1_ 1Britney_ 085af5ac906813ea40fc2e623748f517}
@ -304,7 +587,7 @@ name and the value is tuple with two items, the version and the date.
\normalsize
Definition at line 483 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ hints@{ read\_ \- hints} }
Definition at line 584 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ hints@{ read\_ \- hints} }
\index { read_ hints@{ read\_ \- hints} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.read\_ \- hints ( { \em self} , { \em basedir} )} \label { classbritney_ 1_ 1Britney_ 46d535f617fcf1faaaf5d841ea23c184}
@ -328,7 +611,18 @@ the value is the list of affected packages.
\normalsize
Definition at line 580 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ sources@{ read\_ \- sources} }
Definition at line 695 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ nuninst@{ read\_ \- nuninst} }
\index { read_ nuninst@{ read\_ \- nuninst} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.read\_ \- nuninst ( { \em self} )} \label { classbritney_ 1_ 1Britney_ 24fe2c117eadac8eb783e3cb86300265}
\footnotesize \begin { verbatim} Read the non-installable report\end { verbatim}
\normalsize
Definition at line 835 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ sources@{ read\_ \- sources} }
\index { read_ sources@{ read\_ \- sources} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.read\_ \- sources ( { \em self} , { \em basedir} )} \label { classbritney_ 1_ 1Britney_ 054f44c47f17c0c4f5a069e821b7f868}
@ -348,7 +642,7 @@ package as a dictionary.
\normalsize
Definition at line 292 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ urgencies@{ read\_ \- urgencies} }
Definition at line 340 of file britney.py.\index { britney::Britney@{ britney::Britney} !read_ urgencies@{ read\_ \- urgencies} }
\index { read_ urgencies@{ read\_ \- urgencies} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.read\_ \- urgencies ( { \em self} , { \em basedir} )} \label { classbritney_ 1_ 1Britney_ 09fc27899506b4830b1961f125a7b6a4}
@ -370,7 +664,26 @@ package that are higher then the testing one.
\normalsize
Definition at line 509 of file britney.py.\index { britney::Britney@{ britney::Britney} !reversed_ exc_ deps@{ reversed\_ \- exc\_ \- deps} }
Definition at line 624 of file britney.py.\index { britney::Britney@{ britney::Britney} !register_ reverses@{ register\_ \- reverses} }
\index { register_ reverses@{ register\_ \- reverses} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.register\_ \- reverses ( { \em self} , { \em pkg} , { \em packages} , { \em provides} , { \em check\_ \- doubles} = { \tt True} , { \em parse\_ \- depends} = { \tt apt\_ \- pkg.ParseDepends} )} \label { classbritney_ 1_ 1Britney_ f86b93b64ac43c1d04fe88a6a8b1777e}
\footnotesize \begin { verbatim} Register reverse dependencies and conflicts for the specified package
This method register the reverse dependencies and conflicts for
a give package using `packages` as list of packages and `provides`
as list of virtual packages.
The method has an optional parameter parse_ depends which is there
just for performance reasons and is not meant to be overwritten.
\end { verbatim}
\normalsize
Definition at line 451 of file britney.py.\index { britney::Britney@{ britney::Britney} !reversed_ exc_ deps@{ reversed\_ \- exc\_ \- deps} }
\index { reversed_ exc_ deps@{ reversed\_ \- exc\_ \- deps} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.reversed\_ \- exc\_ \- deps ( { \em self} )} \label { classbritney_ 1_ 1Britney_ be1b4af9d6c6650c70b24267412bc1a8}
@ -385,7 +698,7 @@ and the values are the excuse names which depend on it.
\normalsize
Definition at line 1099 of file britney.py.\index { britney::Britney@{ britney::Britney} !same_ source@{ same\_ \- source} }
Definition at line 1331 of file britney.py.\index { britney::Britney@{ britney::Britney} !same_ source@{ same\_ \- source} }
\index { same_ source@{ same\_ \- source} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.same\_ \- source ( { \em self} , { \em sv1} , { \em sv2} )} \label { classbritney_ 1_ 1Britney_ 85d2e45e8431779b62f398c34972ddf1}
@ -401,7 +714,7 @@ source. The main use of this code is to detect binary-NMU.
\normalsize
Definition at line 63 0 of file britney.py.\index { britney::Britney@{ britney::Britney} !should_ remove_ source@{ should\_ \- remove\_ \- source} }
Definition at line 85 0 of file britney.py.\index { britney::Britney@{ britney::Britney} !should_ remove_ source@{ should\_ \- remove\_ \- source} }
\index { should_ remove_ source@{ should\_ \- remove\_ \- source} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.should\_ \- remove\_ \- source ( { \em self} , { \em pkg} )} \label { classbritney_ 1_ 1Britney_ f8a6c9adbdec7a5a982dd2b74febcc08}
@ -421,7 +734,7 @@ attribute excuses.
\normalsize
Definition at line 765 of file britney.py.\index { britney::Britney@{ britney::Britney} !should_ upgrade_ src@{ should\_ \- upgrade\_ \- src} }
Definition at line 990 of file britney.py.\index { britney::Britney@{ britney::Britney} !should_ upgrade_ src@{ should\_ \- upgrade\_ \- src} }
\index { should_ upgrade_ src@{ should\_ \- upgrade\_ \- src} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.should\_ \- upgrade\_ \- src ( { \em self} , { \em src} , { \em suite} )} \label { classbritney_ 1_ 1Britney_ 94785175a85f44b1afaf3add167a211f}
@ -441,7 +754,7 @@ the the object attribute excuses.
\normalsize
Definition at line 903 of file britney.py.\index { britney::Britney@{ britney::Britney} !should_ upgrade_ srcarch@{ should\_ \- upgrade\_ \- srcarch} }
Definition at line 1134 of file britney.py.\index { britney::Britney@{ britney::Britney} !should_ upgrade_ srcarch@{ should\_ \- upgrade\_ \- srcarch} }
\index { should_ upgrade_ srcarch@{ should\_ \- upgrade\_ \- srcarch} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.should\_ \- upgrade\_ \- srcarch ( { \em self} , { \em src} , { \em arch} , { \em suite} )} \label { classbritney_ 1_ 1Britney_ bd18d7acde434387e94344a39db5b0e5}
@ -463,7 +776,24 @@ the the object attribute excuses.
\normalsize
Definition at line 789 of file britney.py.\index { britney::Britney@{ britney::Britney} !upgrade_ testing@{ upgrade\_ \- testing} }
Definition at line 1020 of file britney.py.\index { britney::Britney@{ britney::Britney} !sort_ actions@{ sort\_ \- actions} }
\index { sort_ actions@{ sort\_ \- actions} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.sort\_ \- actions ( { \em self} )} \label { classbritney_ 1_ 1Britney_ 70115e28e2ee6aa3a09d1efbd81b4a87}
\footnotesize \begin { verbatim} Sort actions in a smart way
This method sorts the list of actions in a smart way. In details, it uses
as base sort the number of days the excuse is old, then reordering packages
so the ones with most reverse dependencies are at the end of the loop.
If an action depends on another one, it is put after it.
\end { verbatim}
\normalsize
Definition at line 2504 of file britney.py.\index { britney::Britney@{ britney::Britney} !upgrade_ testing@{ upgrade\_ \- testing} }
\index { upgrade_ testing@{ upgrade\_ \- testing} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.upgrade\_ \- testing ( { \em self} )} \label { classbritney_ 1_ 1Britney_ 921effe0d64ed713c38888684a0a26d4}
@ -473,11 +803,58 @@ Definition at line 789 of file britney.py.\index{britney::Britney@{britney::Brit
\footnotesize \begin { verbatim} Upgrade testing using the unstable packages
This method tries to upgrade testing using the packages from unstable.
Before running the do_ all method, it tries the easy and force-hint
commands.
\end { verbatim}
\normalsize
Definition at line 1438 of file britney.py.\index { britney::Britney@{ britney::Britney} !write_ excuses@{ write\_ \- excuses} }
Definition at line 2365 of file britney.py.\index { britney::Britney@{ britney::Britney} !write_ bugs@{ write\_ \- bugs} }
\index { write_ bugs@{ write\_ \- bugs} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.write\_ \- bugs ( { \em self} , { \em basedir} , { \em bugs} )} \label { classbritney_ 1_ 1Britney_ 0a5591fc94b89d53d12cbb8f27d100a7}
\footnotesize \begin { verbatim} Write the release critical bug summary to the specified directory
For a more detailed explanation of the format, please check the method
read_ bugs.
\end { verbatim}
\normalsize
Definition at line 517 of file britney.py.\index { britney::Britney@{ britney::Britney} !write_ controlfiles@{ write\_ \- controlfiles} }
\index { write_ controlfiles@{ write\_ \- controlfiles} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.write\_ \- controlfiles ( { \em self} , { \em basedir} , { \em suite} )} \label { classbritney_ 1_ 1Britney_ 1a3695a37b15ebd7e81cc33683fde461}
\footnotesize \begin { verbatim} Write the control files
This method write the control files for the binary packages of all
the architectures and for the source packages.
\end { verbatim}
\normalsize
Definition at line 777 of file britney.py.\index { britney::Britney@{ britney::Britney} !write_ dates@{ write\_ \- dates} }
\index { write_ dates@{ write\_ \- dates} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.write\_ \- dates ( { \em self} , { \em basedir} , { \em dates} )} \label { classbritney_ 1_ 1Britney_ 83e0bd993e7a099e6bf89d760183a76b}
\footnotesize \begin { verbatim} Write the upload date for the packages to the specified directory
For a more detailed explanation of the format, please check the method
read_ dates.
\end { verbatim}
\normalsize
Definition at line 610 of file britney.py.\index { britney::Britney@{ britney::Britney} !write_ excuses@{ write\_ \- excuses} }
\index { write_ excuses@{ write\_ \- excuses} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.write\_ \- excuses ( { \em self} )} \label { classbritney_ 1_ 1Britney_ 010f6deffca32f7f71ecf1f5c1bb4985}
@ -493,7 +870,36 @@ of this procedure, please refer to the module docstring.
\normalsize
Definition at line 1154 of file britney.py.
Definition at line 1386 of file britney.py.\index { britney::Britney@{ britney::Britney} !write_ heidi@{ write\_ \- heidi} }
\index { write_ heidi@{ write\_ \- heidi} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.write\_ \- heidi ( { \em self} , { \em basedir} , { \em filename} )} \label { classbritney_ 1_ 1Britney_ 20f846da79d595d36628c8da3195ac7a}
\footnotesize \begin { verbatim} Write the output HeidiResult
This method write the output for Heidi, which contains all the
binary packages and the source packages in the form:
<pkg-name> <pkg-version> <pkg-architecture> <pkg-section>
<src-name> <src-version> <src-section>
\end { verbatim}
\normalsize
Definition at line 742 of file britney.py.\index { britney::Britney@{ britney::Britney} !write_ nuninst@{ write\_ \- nuninst} }
\index { write_ nuninst@{ write\_ \- nuninst} !britney::Britney@{ britney::Britney} }
\subsubsection { \setlength { \rightskip } { 0pt plus 5cm} def britney.Britney.write\_ \- nuninst ( { \em self} , { \em nuninst} )} \label { classbritney_ 1_ 1Britney_ 1dd8c704e1dab571e4bb62ae15f6ee52}
\footnotesize \begin { verbatim} Write the non-installable report\end { verbatim}
\normalsize
Definition at line 827 of file britney.py.
The documentation for this class was generated from the following file:\begin { CompactItemize}
\item