5 <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta name="generator" content="Asciidoctor 1.5.4">
8 <title>PPAstats</title>
9 <link rel="stylesheet" href="./../style.css">
10 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
11 <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
12 <script src="../nav.js"></script>
14 <body class="article">
20 <div class="sectionbody">
21 <div class="paragraph">
22 <p><code>ppastats</code> is a command line tool which produces HTML report for viewing
23 download statistics of an Ubuntu PPA.</p>
25 <div class="paragraph">
26 <p>Examples are available at: <a href="http://wpitchoune.net/ppastats/files/examples" class="bare">http://wpitchoune.net/ppastats/files/examples</a>.</p>
28 <div class="paragraph">
29 <p>The license of <code>ppastats</code> is GPL v2.</p>
31 <div class="paragraph">
32 <p><code>ppastats</code> works fine with Firefox 6/7, Google Chrome 12 and IE8.</p>
37 <h2 id="_usage">Usage</h2>
38 <div class="sectionbody">
39 <div class="listingblock">
41 <pre>ppastats jfi psensor-unstable -o /var/www/ppastats</pre>
44 <div class="paragraph">
45 <p>Generates the HTML report for the PPA: <code>ppa:jfi/psensor-unstable</code>.</p>
47 <div class="paragraph">
48 <p>Use <code>ppastats --help</code> for more options.</p>
53 <h2 id="_installation">Installation</h2>
54 <div class="sectionbody">
56 <h3 id="_ubuntu">Ubuntu</h3>
57 <div class="paragraph">
58 <p>For Ubuntu, the easiest way to install <code>ppastats</code> is to use its
61 <div class="listingblock">
63 <pre>sudo apt-add-repository ppa:jfi/ppastats
65 sudo apt-get install ppastats</pre>
70 <h3 id="_compilation">Compilation</h3>
71 <div class="paragraph">
72 <p><code>ppastats</code> should compile on any modern Linux distribution, it
73 requires the <code>CURL</code> and <code>json-c</code> libraries.</p>
75 <div class="paragraph">
76 <p>Download the source archive from: <a href="http://wpitchoune.net/ppastats/files" class="bare">http://wpitchoune.net/ppastats/files</a>.</p>
78 <div class="paragraph">
79 <p>For compilation on Ubuntu:</p>
81 <div class="listingblock">
83 <pre>apt-get install libcurl4-openssl-dev libjson0-dev
88 <div class="paragraph">
89 <p>and finally, install <code>ppastats</code>:</p>
91 <div class="listingblock">
93 <pre>sudo make install</pre>
96 <div class="paragraph">
97 <p>Alternatively, the last development version can be retrieved using GIT:</p>
99 <div class="listingblock">
100 <div class="content">
101 <pre>git clone git://git.wpitchoune.net/ppastats.git</pre>
104 <div class="paragraph">
105 <p>To build the Ubuntu package:</p>
107 <div class="listingblock">
108 <div class="content">
109 <pre>git clone git://git.wpitchoune.net/ppastats-pkg-ubuntu.git
110 cd ppastats-pkg-ubuntu
111 git-buildpackage</pre>
118 <h2 id="_download">Download</h2>
119 <div class="sectionbody">
123 <p><a href="files">Source archive</a></p>
130 <h2 id="_contact">Contact</h2>
131 <div class="sectionbody">
132 <div class="paragraph">
133 <p>Bugs and comments can be sent to <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>.</p>
135 <div class="paragraph">
136 <p>For announces or general information subscribe to <a href="http://plus.google.com/u/0/115217597639251170338?prsrc=3">ppastats Google+ page</a>.</p>
142 <div id="footer-text">
143 Last updated 2016-06-14 21:30:49 CEST