0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.144.227.73


Current Path : /usr/share/doc/lintian/lintian.html/
Upload File :
Current File : //usr/share/doc/lintian/lintian.html/section-1.3.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><meta charset="UTF-8"><TITLE
>Design issues</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="Lintian User's Manual"
HREF="index.html"><LINK
REL="UP"
TITLE="Introduction"
HREF="chapter-1.html"><LINK
REL="PREVIOUS"
TITLE="The intention of Lintian"
HREF="section-1.2.html"><LINK
REL="NEXT"
TITLE="Disclaimer"
HREF="section-1.4.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Lintian User's Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="section-1.2.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 1. Introduction</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="section-1.4.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="section-1.3"
>1.3. Design issues</A
></H1
><P
>There are three fields of application for Lintian:</P
><P
></P
><UL
><LI
STYLE="list-style-type: disc"
><P
>&#13;            one person could use Lintian to check the whole Debian
            archive and reports bugs,
          </P
></LI
><LI
STYLE="list-style-type: disc"
><P
>&#13;            each maintainer runs Lintian over her packages before
            uploading them,
          </P
></LI
><LI
STYLE="list-style-type: disc"
><P
>&#13;            dinstall checks packages which are uploaded to master
            before they are installed in the archive.
          </P
></LI
></UL
><P
>&#13;        The authors of Lintian decided to use a very modular design to
        achieve the following goals:
      </P
><P
></P
><UL
><LI
STYLE="list-style-type: disc"
><P
>&#13;            flexibility: Lintian can be used to check single packages
            or the whole archive and to report and keep track of bug
            reports, etc.
          </P
></LI
><LI
STYLE="list-style-type: disc"
><P
>&#13;            completeness: Lintian will eventually include checks for
            (nearly) everything that can be checked mechanically.
          </P
></LI
><LI
STYLE="list-style-type: disc"
><P
>&#13;            uptodateness: Lintian will be updated whenever policy is
            changed.
          </P
></LI
><LI
STYLE="list-style-type: disc"
><P
>&#13;            performance: Lintian should make it possible to check
            single packages within seconds or check the full archive
            within 5 days.
          </P
></LI
></UL
><P
>&#13;        The design also has a number of constrains that limits the
        things Lintian can check for and what tools it can use:
      </P
><P
></P
><UL
><LI
STYLE="list-style-type: disc"
><P
>&#13;            static analysis: The code in a package may be analyzed,
            but it should <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>never</I
></SPAN
> be executed.
            However, Lintian can (and does) use external tools to
            analyze files in the package.
          </P
></LI
><LI
STYLE="list-style-type: disc"
><P
>&#13;            deterministic replay-ability: Checks should not rely on
            the state of system caches or even the system time.  These
            things makes it harder for others to reproduce (the
            absence of) tags.
          </P
></LI
><LI
STYLE="list-style-type: disc"
><P
>&#13;            same source analysis: Lintian checks packages in small
            isolated groups based on the source package.  Requiring
            the presence of all the dependencies to provide the full
            results make it harder to run lintian (not to mention, it
            makes "deterministic replay-ability" a lot harder as
            well).
          </P
></LI
></UL
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="section-1.2.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="section-1.4.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>The intention of Lintian</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="chapter-1.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Disclaimer</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>