~ubuntu-branches/ubuntu/quantal/apt-cacher-ng/quantal-backports

« back to all changes in this revision

Viewing changes to conf/report.html

  • Committer: Bazaar Package Importer
  • Author(s): Eduard Bloch
  • Date: 2011-08-01 23:40:11 UTC
  • mfrom: (1.1.29 upstream) (29.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110801234011-2ouft5pay71773vs
Tags: 0.6.4-1
* New upstream version
  + fixes potential pipeline freeze (closes: #628995)
  + supports "soft" blacklisting of bad hosts when important files are
    missing (see keyfile in documentation, closes: #616091)

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
      <link rel="stylesheet" type="text/css" href="/style.css" />
10
10
   </head>
11
11
   <body>
12
 
      <div class="title"><span>Apt-Cacher NG maintenance page for @H</span></div>
13
 
      <div class="visarea">
 
12
      <div align="center">
 
13
      <div class="title maxwid"><span>Apt-Cacher NG maintenance page for @H</span></div>
 
14
      <div class="visarea maxwid" style="text-align:left">
14
15
         <h2>Transfer statistics</h2>
15
16
         <table border=0 cellpadding=2 cellspacing=1 bgcolor="black">
16
17
            <tr>
37
38
            @T
38
39
         </table>
39
40
         <br>
40
 
         Note: data table is created based current log file. Deviation from real request count is possible due to previous log file optimization.
 
41
         Note: data table is created based on the current log file. Deviation from real request count is possible due to previous log file optimization.
41
42
         <h2>Configuration instructions</h2>
42
 
         Please visit any invalid download URL to see <a href=/>configuration
 
43
         Please visit any invalid download URL to see <a href="/">configuration
43
44
            instructions</a> for users. For system administrators, read the manual
44
 
         which may be available on the <a href=file:///usr/share/doc/apt-cacher-ng/html/index.html>local filesystem</a> or
45
 
         be <a href=http://$SERVERIP/doc/apt-cacher-ng/html/index.html>browsable here</a>.
 
45
         which may be available on the <a href="file:///usr/share/doc/apt-cacher-ng/html/index.html">local filesystem</a> or
 
46
         be <a href="http://$SERVERIP/doc/apt-cacher-ng/html/index.html">browsable here</a>.
46
47
 
47
48
         <form action="#bottom">
48
49
 
89
90
         </tr>
90
91
         <tr>
91
92
            <td valign=top-->
92
 
<label>               <input type="checkbox" name="skipHeadChecks" value="sHC"> Skip header checks (faster, not detecting bad metadata)</label>
93
 
               <br>
94
 
      <label>         <input type="checkbox" name="byPath" value="bP"> Validate by file name AND file directory (<font color=red>not recommended</font>)</label>
95
 
               <br>
96
 
            <label>   <input type="checkbox" name="byChecksum" value="bS"> Validate by file name AND file contents through checksum (<font color=red>SLOW</font>). Also detects corrupted files.</label>
 
93
               <label><input type="checkbox" name="skipHeadChecks" value="sHC"> Skip header checks (faster, not detecting bad metadata)</label>
 
94
               <br>
 
95
               <label><input type="checkbox" name="byPath" value="bP" id="idBP" onChange="endisCb('idBP','idBS');"> <i>Validate by file name AND file directory (<font color=red>not recommended</font>),</i></label>
 
96
               <br>
 
97
               <label><input type="checkbox" name="byChecksum" value="bS" id="idBS" onChange="endisCb('idBS','idTN');"> <i>then validate file contents through checksum (<font color=red>SLOW</font>), also detecting corrupt files,</i></label>
 
98
               <br>
 
99
               <label><input type="checkbox" name="truncNow" value="tN" id="idTN"> <i>then truncate damaged files immediately.</i></label>
97
100
               <br>
98
101
               <label><input type="checkbox" name="purgeNow" value="pN"> Purge unreferenced files after scan</label>
99
102
               <br>
100
 
               <!--br>
101
 
               <input type="checkbox" name="justRemove" value="oR"> No scan, just execute pending removals
102
 
               <br>
103
 
               <!input type="checkbox" name="justShow" value="oR"> No scan, just SHOW pending removals -->
 
103
               <script type="text/javascript">
 
104
document.getElementById("idBS").disabled="disabled";
 
105
document.getElementById("idTN").disabled="disabled";
 
106
function endisCb(idCon, idWhat)
 
107
{
 
108
   var pCon=document.getElementById(idCon);
 
109
   var pWhat=document.getElementById(idWhat);
 
110
   if(pCon.checked)
 
111
      pWhat.disabled="";
 
112
   else
 
113
   {
 
114
      pWhat.checked=false;
 
115
      pWhat.disabled="disabled";
 
116
   }
 
117
   pWhat.onchange();
 
118
}
 
119
</script>
104
120
               <br>
105
121
               <input type="submit" name="doExpire" value="Start Scan and/or Expiration">
106
122
 
127
143
            <p>
128
144
            <input type="submit" name="doImport" value="Start Import">
129
145
            </p>
 
146
            <h2>Guided precaching (Mirroring)</h2>
 
147
            <p>
 
148
            Apt-Cacher NG supports a massive download of package files
 
149
            referenced in a specified set of index files. This is configured
 
150
            with the <i>PrecacheFor</i> configuration option (see config
 
151
            examples and manual for details).
 
152
            <p>
 
153
            In special cases this feature can be used to create a local
 
154
            partial mirror where the cache internal structure of packages
 
155
            mostly represents the contents of the remote package archive and
 
156
            includes everything apt might want to download.
 
157
            <p>
 
158
            <label><input type="checkbox" name="skipIxUp" value="si"> Don't update index files</label>
 
159
            <br>
 
160
            <label><input type="checkbox" name="calcSize" value="cs"> Calculate and display download size</label>
 
161
            <br>
 
162
            <label><input type="checkbox" name="doDownload" value="dd"> Download package files</label>
 
163
            <p>
 
164
            <input type="submit" name="doMirror" value="Start Mirroring">
 
165
            </p>
 
166
 
130
167
         </form>
131
168
         $FOOTER
132
169
      </div>
 
170
   </div>
133
171
   </body>
134
172
</html>
135
173