]> git.deb.at Git - deb/packages.git/blob - templates/html/homepage.tmpl
fix html
[deb/packages.git] / templates / html / homepage.tmpl
1 [%- PROCESS 'html/head.tmpl' 
2         title_tag = g('%s Packages Search', organisation)
3         page_title = g('%s Packages Search', organisation)
4         keywords = g('Packages')
5         html_meta = '<meta name="verify-v1" content="Rg2bDR1kWPGd8k8v9NOgnmtUQHO6UaKX2glZWVDptok=">'
6 -%]
7 [%-
8     all_suites = [ 'dapper', 'dapper-updates', 'dapper-backports',
9                    'hardy', 'hardy-updates', 'hardy-backports',
10                    'jaunty', 'jaunty-updates', 'jaunty-backports',
11                    'karmic', 'karmic-updates', 'karmic-backports',
12                    'lucid', 'lucid-updates', 'lucid-backports',
13                    'maverick', 'maverick-updates', 'maverick-backports',
14                    'natty' ]
15     version_numbers = { dapper => '6.06LTS',
16                         hardy  => '8.04LTS',
17                         karmic => '9.10',
18                         lucid  => '10.04LTS',
19                         maverick => '10.10',
20                       }
21     current_release = 'maverick'
22     all_sections = [ 'main', 'multiverse', 'restricted', 'universe' ]
23     all_architectures = [ 'i386', 'amd64', 'powerpc' ]
24 -%]
25
26 <p>[% g('This site provides you with information about all the packages available in the <a href="%s">%s</a> Package archive.', project_homepage, organisation) %]</p>
27
28 <p><em>[% g('Please contact <a href="mailto:%s">%s</a> if you encounter any problems!', admin.mail, admin.name) %]</em></p>
29
30 <h2>[% g('Browse through the lists of packages:') %]</h2>
31
32 <ul style="font-size:large">
33 [% FOREACH s IN all_suites %]
34 <li><a href="[% s %]/">[% s %]</a>
35 [% IF version_numbers.$s %]([% version_numbers.$s %])[% END %]</li>
36 [% END %]
37 </ul>
38
39 <p>[% g('There is also a list of <a href="%s/main/newpkg">packages recently added to %s</a>.', all_suites.-1, all_suites.-1) %]</p>
40
41 [% IF old_releases %]
42 <p>[% g('Old releases can be found at <a href="%s">%s</a>.', old_releases, old_releases) %]</p>
43 [% END %]
44
45 <h2>[% g('Search') %]</h2>
46
47 <h3>[% g('Search package directories') %]</h3>
48
49 <form method="GET" action="/search">
50 <p>
51 <label for="kw">[% g('Keyword:') %]</label>
52 <input type="text" size="30" name="keywords" id="kw">
53 <input type="submit" value="[% g('Search') %]"> <input type="reset" value="[% g('Reset') %]">
54 <br>
55 [% g('Search on:') %]
56 <input type="radio" name="searchon" value="names" id="onlynames" checked="checked">
57 <label for="onlynames">[% g('Package names only') %]</label>&nbsp;&nbsp;
58 <input type="radio" name="searchon" value="all" id="descs">
59 <label for="descs">[% g('Descriptions') %]</label>
60 <input type="radio" name="searchon" value="sourcenames" id="src">
61 <label for="src">[% g('Source package names') %]</label>
62 <br>
63 [% g('Only show exact matches:') %]
64 <input type="checkbox" name="exact" value="1">
65 <br>
66 Distribution:
67 <select name="suite">
68 [% FOREACH s IN all_suites %]
69   <option value="[% s %]" [% 'selected="selected"' IF s == current_release %]>[% s %]</option>
70 [% END %]
71   <option value="all">[% g('any') %]</option>
72 </select>
73 [% g('Section:') %]
74 <select name="section">
75 [% FOREACH s IN all_sections %]
76   <option value="[% s %]">[% s %]</option>
77 [% END %]
78   <option value="all" selected="selected">[% g('any') %]</option>
79 </select>
80 </p>
81 </form>
82 <p>[% g('There are shortcuts for some searches available:') %]</p>
83 <ul>
84       <li>[% g('<code>%s<var>name</var></code> for the search on package names.', packages_homepage_abs) %]</li>
85
86       <li>[% g('<code>%ssrc:<var>name</var></code> for the search on source package names.', packages_homepage_abs) %]</li>
87 </ul>
88 <hr>
89
90 <h3><a name="search_contents">[% g('Search the contents of packages') %]</a></h3>
91
92 <p>[% g('This search engine allows you to search the contents of %s distributions for any files (or just parts of file names) that are part of packages. You can also get a full list of files in a given package.', organisation) %]<br>
93 <form method="GET" action="/search">
94 <p>
95 <input type="hidden" name="searchon" value="contents">
96
97 <label for="keyword">[% g('Keyword:') %]</label>
98 <input type="text" size="30" name="keywords" id="keyword"> &nbsp;
99
100 <input type="submit" value="[% g('Search') %]">
101 &nbsp;<input type="reset" value="[% g('Reset') %]">
102 <br>
103 [% g('Display:') %]
104 <br>
105 <input type="radio" name="mode" value="exactfilename" id="exactfilename" checked="checked">
106   <label for="exactfilename">[% g('packages that contain files named like this') %]</label>
107 <br>
108 <input type="radio" name="mode" value="" id="suffixpathname">
109   <label for="suffixpathname">[% g('packages that contain files whose names end with the keyword') %]</label>
110 <br>
111 <input type="radio" name="mode" value="filename" id="filename">
112   <label for="filename">[% g('packages that contain files whose names contain the keyword') %]</label>
113 <br>
114 <label for="distro">[% g('Distribution:') %]</label>
115
116 <select name="suite" id="distro">
117 [% FOREACH s IN all_suites %]
118   <option value="[% s %]" [% 'selected="selected"' IF s == current_release %]>[% s %]</option>
119 [% END %]
120 </select>
121 <label for="architecture">[% g('Architecture:') %]</label>
122 <select name="arch" id="architecture">
123 [% FOREACH a IN all_architectures %]
124   <option value="[% a %]">[% a %]</option>
125 [% END %]
126   <option value="any" selected="selected">[% g('any') %]</option>
127 </select>
128 </p>
129 </form>
130
131 <hr>
132 <h2>News</h2>
133 <dl>
134 <dt>2010-10-10</dt>
135 <dd>Reflect maverick release, add maverick, remove jaunty.</dd>
136 <dt>2010-05-05</dt>
137 <dd>Reflect lucid release, add maverick, remove intrepid.</dd>
138 <dt>2009-10-30</dt>
139 <dd>Reflect karmic release, add lucid.</dd>
140 <dt>2009-04-24</dt>
141 <dd>Reflect jaunty release, add karmic, remove gutsy</dd>
142 <dt>2009-02-21</dt>
143 <dd>Remove feisty.</dd>
144 <dt>2008-11-03</dt>
145 <dd>Add jaunty.</dd>
146 <dt>2008-10-30</dt>
147 <dd>Reflect intrepid release.</dd>
148 <dt>2008-06-10</dt>
149 <dd>
150 <p>Removed edgy</p>
151 </dd>
152 <dt>2008-04-28</dt>
153 <dd>
154 <p>Added intrepid</p>
155 </dd>
156 <dt>2008-04-26</dt>
157 <dd>
158 <p>Adapted for hardy release. Removed the obsolete powerpc data for hardy. I'm currently evaluation if and how I should
159 include information about <tt>ports.ubuntu.com</tt> packages here. Since <tt>archive.ubuntu.com</tt> is currently unusable
160 I use <tt>nl.archive.ubuntu.com</tt> as source for the data until the situation normalizes again.</p>
161 </dd>
162 <dt>2008-02-21</dt>
163 <dd>
164 <p>The downtime today was caused by some yet undiagnosed kernel troubles after
165 a faulty hard disk was exchanged. Sorry for any inconvenience.
166 </dd>
167 <dt>2008-02-19</dt>
168 <dd>
169 <p>Switched packages.ubuntu.com to the newer codebase that also runs
170 on packages.debian.org. The two most important changes for users
171 are that most pages are now generated dynamically (which makes
172 for faster updates and more flexibility) and that the search
173 functions should be much faster now.
174 <p>Still waiting for a volunteer that optimizes the used stylesheets,
175 I myself have not much talent in this area...
176 </dd>
177 <dt>2007-10-21</dt>
178 <dd>
179 Add hardy.
180 </dd>
181 <dt>2007-10-18</dt>
182 <dd>
183 Change default release to gutsy.
184 </dd>
185 <dt>2007-07-28</dt>
186 <dd>
187 Drop old releases since they also got dropped from archive.ubuntu.com.
188 </dd>
189 <dt>2007-04-29</dt>
190 <dd>
191 Feisty is released. Pages updated accordingly.
192 </dd>
193 <dt>2006-11-20</dt>
194 <dd>
195 <ul>
196 <li>The hard drive of the server was replaced today after it began to act
197 up. Most stuff should be up and running again. I accidentally deleted the
198 info about new packages though, so that will be not reliable for the next
199 few days.
200 <li>Added edgy-backports to the homepage and the search forms
201 </ul>
202 </dd>
203 <dt>2006-10-29</dt>
204 <dd>
205 <ul>
206 <li>Add feisty. The changes for the edgy release were already done some days ago.
207 </ul>
208 </dd>
209 <dt>2006-10-18</dt>
210 <dd>
211 <ul>
212 <li>The "Bug reports" links now correctly point to Launchpad for all packages.
213 Thanks to all the people that reported this error to me.
214 <li>I added an <code>robots.txt</code> to ban some people trying to
215 mirror the site by means of <code>wget -r</code>. If forever reason
216 you need to mirror the site please contact me by mail so we can do
217 this by other means that won't stress the server as much.
218 </ul>
219 </dd>
220 <dt>2006-06-12</dt>
221 <dd>
222 Finally make dapper the default for searches and add edgy. Sorry for the delay.
223 </dd>
224 <dt>2006-01-17</dt>
225 <dd>
226 I hope everyone had a good start into the new year. Some small status
227 updates:
228 <ul>
229 <li>While looking at the log statistics I noticed that apparently
230 <code>packages.ubuntulinux.org</code> also points to my server
231 without me knowing. I fixed the apache configuration so that it now
232 knows about that and handles it correctly.</li>
233 <li>Linking to a CSS file on the official Ubuntu homepage
234 was a bad idea and the page had some glitches when it disappeared.
235 Most of the issues should be fixed by now.</li>
236 <li>Sorry for any performance issues with the site. My little server
237 is not always able to handle the many hits of this site (close to
238 2,000,000 per month). I guess I will have to search for another
239 hosting solution in the near future.</li>
240 </ul>
241 </dd>
242 <dt>2005-10-13</dt>
243 <dd>
244 Changed all defaults to point to breezy
245 </dd>
246 <dt>2005-09-28</dt>
247 <dd>
248 <ul>
249 <li>The contents files are updated again, so I removed any warnings
250 and added the appropriate links back</li>
251 <li>The "Check for bug reports" links now point to Launchpad for
252 universe/multiverse packages. Suggested by
253 <tt>j -at- bootlab -dot- org</tt>.
254 <li>Finally, I migrated to the "new" layout. Comments and Patches
255 about the remaining quirks welcome.
256 </ul>
257 </dd>
258 <dt>2005-09-25</dt>
259 <dd>
260 I've merged the new changelog to HTML conversion code from the Debian
261 branch. I still have no idea how to handle the requests to link Ubuntu
262 bugs to the Ubuntu BTS and Debian bugs to the Debian BTS. Suggestions
263 welcome.
264 </dd>
265 <dt>2005-08-30</dt>
266 <dd>
267 <ul>
268 <li>I've added a warning to this site about the outdated Contents
269 files in the Ubuntu archive which make the contents search completely
270 useless for anything after warty. I've actually no idea whom to ask
271 about this since I don't seem to be able to find out on the Ubuntu
272 web site who is ftp-master in Ubuntu?</li>
273 <li>You can now also browse the packages from
274 <a href="hoary-backports/">hoary-backports</a></li>
275 </ul>
276 </dd>
277 <dt>2005-06-10</dt>
278 <dd>
279 I have begun to work on integrating the current Ubuntu web design with
280 my pages. There are still some issues to work out but as a teaser I
281 already converted the front page. Feel free to mail me with comments
282 on how I could use the new layout better.
283 </dd>
284 <dt>2005-04-14</dt>
285 <dd>
286 hoary is released and now this fact is also beginning to show on this
287 page. Please report all errors you find with the new breezy pages.
288 </dd>
289 <dt>2005-04-06</dt>
290 <dd>
291 The transition should be completed by now and I've installed some
292 rewrite rules so that old URLs should also point to the new location.
293 The changelog extraction script is still running so there are still
294 some (more) broken links. Please report all other problems you might
295 encounter.
296 </dd>
297 <dt>2005-04-05</dt>
298 <dd>
299 From tomorrow on this site will be available at <a
300 href="http://packages.ubuntu.com/">packages.ubuntu.com</a>.
301 The necessary setup is done on both my side and on the side of the
302 ubuntu people but I will use the occasion for some configuration
303 clean-up and a full rebuild. Stay tuned <tt>;)</tt>
304 </dd>
305 <dt>2005-04-02</dt>
306 <dd>
307 <ul>
308 <li>On request of the MOTUs I've added links to the build logs for
309 hoary packages.</li>
310 <li>Also, the Portuguese LoCoTeam (hmm, Ubuntu teams have
311 all very l33t names ;) asked me
312 how to translate the pages. Here my answer:
313
314 <blockquote style="font-family: monospace">
315 <p>At http://cvs.infodrom.org/packages.debian.org/po/?cvsroot=debian.de
316 you can find some .pot files. Please translate them and send them back
317 to me (You may want to take a look at the translations available at
318 http://cvs.debian.org/webwml/portuguese/po/?cvsroot=webwml
319 especially for files like langs.pot). This will ensure that at least
320 the constant strings on all the pages are translated (Some of the
321 strings in these file are only needed on packages.debian.org)</p>
322
323 <p>The translations of package descriptions I took from the DDTP (Debian
324 Descriptions Translation Project) which seems to be rather inactive
325 lately. Unless this is fully revived or another similar project is
326 created there is little I can do on this front.</p>
327 </blockquote>
328 </li>
329 <li>Thanks to all people that provided me with positive feedback about
330 these pages.</li>
331 </ul>
332 </dd>
333 <dt>2005-03-02</dt>
334 <dd>I talked briefly with Daniel Silverstone of Canonical at
335 <a href="http://www.fosdem.org/">FOSDEM</a>. He said that Ubuntu
336 will get his own Packages page, but <q>It will be a while</q>.</dd>
337 <dt>2005-01-24</dt>
338 <dd>In the last two days there were several reboots of the server
339 needed (kernel upgrades, activation and testing of a new rescue
340 system). Sorry for any inconviences this caused.</dd>
341 <dt>2005-01-11</dt>
342 <dd>There are changelogs and copyright files available now. I also
343 added links to the Ubuntu bugzilla, but I'm not sure yet that they
344 work completly. Feedback welcome. (Changelogs and copyright files
345 may be missing for some packages since I can only mirror the
346 i386 and powerpc debs due to space constraints)</dd>
347 </dl>
348
349 [% PROCESS 'html/foot.tmpl' page_name=packages_homepage copyright.years = '1997 - 2010' %]