% Copyright (c) 2006 Christoph Berg <myon@debian.org>
% All rights reserved.
% 
% Redistribution and use in source and binary forms, with or without
% modification, are permitted provided that the following conditions
% are met:
% 1. Redistributions of source code must retain the above copyright
%    notice, this list of conditions and the following disclaimer.
% 2. Redistributions in binary form must reproduce the above copyright
%    notice, this list of conditions and the following disclaimer in the
%    documentation and/or other materials provided with the distribution.
% 3. Neither the name of the University nor the names of its contributors
%    may be used to endorse or promote products derived from this software
%    without specific prior written permission.
% 
% THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
% ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
% IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
% ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
% FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
% DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
% OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
% HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
% OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
% SUCH DAMAGE.

\documentclass{prosper}

\begin{document}

\title{MIA Tracking}
\author{Christoph Berg \\
\small myon@debian.org \\
Debian QA meeting, Badajoz, Extremadura, \today}
\maketitle


\begin{slide}{Missing In Action}
\begin{itemize}
\item someone notices a package doesn't get updated anymore
\item maintainer not interested in Debian any more, has a family, is ill, \dots
\item mail to mia@qa.debian.org or debian-qa@lists.debian.org
\item mail gets stored in a database
\item MIA team mails the maintainer
\item maintainer and MIA team come up with a plan (hopefully) or orphan packages
\end{itemize}
\end{slide}

\begin{slide}{Querying the DB}
\begin{itemize}
\item ssh merkel \&\& cd /org/qa.debian.org/mia
\item ./mia-query \$email
\item ./mia-query -p \$pkg
\item implemented by tbm and jeroen
\item access for DDs (does not need qa group)
\end{itemize}
\end{slide}

\begin{slide}{Querying the DB}
\tiny
\begin{verbatim}
[0] myon@merkel:~ 1j $mia-query aeb
DD: A E. B <aeb@debain.org>
Known as: A B, A E. B
Using emails: b@i.t.de, a.b@m.n.de, aeb@debain.org
Key in keyring: 72E5703144142EB6F6B44CBD1181703204880A44
Key in ldap: 72E5703144142EB6F6B44CBD1181703204880A44
Packages: 1 (armagetron)
X-MIA: Status is unresponsive for 19d (but mailed for another 14d);
 Prod-level is prod for 19d
    2006-10-02: inactive
    2006-11-11: nice; last-upload 2005-11
    2006-11-25: prod, unresponsive; {from adn+deb@diwi.org}
    2006-11-28: -; will orphan his packages {from b@i.t.de}
    2006-11-28: -; proposal to orphan them myself {from adn+deb@diwi.org}
    2006-12-08: in; OK to orphan packages {from b@i.t.de}
    2006-12-08: -; orphaning armagetron {from adn+deb@diwi.org}
    2006-12-08: -; orphaning rockdodger, has no more packages {from adn+deb@diwi.org}
    2006-12-08: out; {from adn+deb@diwi.org}
\end{verbatim}
\end{slide}

\begin{slide}{Status and Summaries}
\begin{itemize}
\item status and prod level tags are incremental
\item status: ok, busy, inactive, unresponsive, ...
\item prod level: nice, prod, last-warning
\item format: tag list; text
\item also in/out to indicate received/sent mail
\end{itemize}
\end{slide}

\begin{slide}{DB format}
\begin{itemize}
\item /org/qa.debian.org/mia/db
\item \$email is mbox folder (s/@/=)
\item \$email.summary lists summary lines with time stamps and origin
\end{itemize}

\tiny
\begin{verbatim}
1159833222: inactive
1163277880: nice; last-upload 2005-11
1164477136 from adn+deb@diwi.org: prod, unresponsive
1164677394 from b@i.t.de: -; will orphan his packages
1164712926 from adn+deb@diwi.org: -; proposal to orphan them myself
1165603141 from b@i.t.de: in; OK to orphan packages
1165619854 from adn+deb@diwi.org: -; orphaning armagetron
1165619864 from adn+deb@diwi.org: -; orphaning rockdodger, has no more packages
1165619938 from adn+deb@diwi.org: out
\end{verbatim}
\end{slide}

\begin{slide}{Adding a message}
\begin{itemize}
\item Bcc: mia-\$email@qa.debian.org
\item \$email is address (s/@/=/)
\item don't use Cc:!
\item X-MIA-Summary: busy; last upload 1993-08, no BTS activity
\item | ./mia-bounce \$email 'busy; last upload 1993-08'
\item ./mia-save \$email (needs qa group)
\end{itemize}
\end{slide}

\begin{slide}{The MIA team}
\begin{itemize}
\item gets mail for mia@qa.debian.org
\item currently jeroen, weasel, joerg, he, adn, myon, amaya, luk, gpastore
\item non-DD access on request
\item mails without X-MIA-Summary will need a reply to add one (black magic)
\end{itemize}
\end{slide}

\begin{slide}{Batch processing}
\begin{itemize}
\item ./mia-todo -t needs-\{nice,prod\} | less
\item mail maintainer with Bcc and X-MIA-Summary
\item wait
\item repeat
\item ./mutt-orphan pkg1 pkg2 \dots
\end{itemize}
\end{slide}

\begin{slide}{README}
\begin{itemize}
\item merkel:/org/qa.debian.org/mia/README
\end{itemize}
\end{slide}

\end{document}
