]> git.deb.at Git - deb/packages.git/blob - templates/html/homepage.tmpl
de0e9c47659c504b84b2eab6a30d6c5e78edb1b8
[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 = [ 'hardy', 'hardy-updates', 'hardy-backports',
9                    'lucid', 'lucid-updates', 'lucid-backports',
10                    'maverick', 'maverick-updates', 'maverick-backports',
11                    'natty', 'natty-updates', 'natty-backports',
12                    'oneiric', 'oneiric-updates', 'oneiric-backports',
13                    'precise' ]
14     version_numbers = { dapper => '6.06LTS',
15                         hardy  => '8.04LTS',
16                         lucid  => '10.04LTS',
17                         maverick => '10.10',
18                         natty => '11.04',
19                         oneiric => '11.10',
20                       }
21     current_release = 'oneiric'
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>2011-10-14</dt>
135 <dd>Reflect oneiric release, add oneiric, remove dapper.</dd>
136 <dt>2011-04-28</dt>
137 <dd>Reflect natty release, add natty, remove karmic.</dd>
138 <dt>2010-10-10</dt>
139 <dd>Reflect maverick release, add maverick, remove jaunty.</dd>
140 <dt>2010-05-05</dt>
141 <dd>Reflect lucid release, add maverick, remove intrepid.</dd>
142 <dt>2009-10-30</dt>
143 <dd>Reflect karmic release, add lucid.</dd>
144 <dt>2009-04-24</dt>
145 <dd>Reflect jaunty release, add karmic, remove gutsy</dd>
146 <dt>2009-02-21</dt>
147 <dd>Remove feisty.</dd>
148 <dt>2008-11-03</dt>
149 <dd>Add jaunty.</dd>
150 <dt>2008-10-30</dt>
151 <dd>Reflect intrepid release.</dd>
152 <dt>2008-06-10</dt>
153 <dd>
154 <p>Removed edgy</p>
155 </dd>
156 <dt>2008-04-28</dt>
157 <dd>
158 <p>Added intrepid</p>
159 </dd>
160 <dt>2008-04-26</dt>
161 <dd>
162 <p>Adapted for hardy release. Removed the obsolete powerpc data for hardy. I'm currently evaluation if and how I should
163 include information about <tt>ports.ubuntu.com</tt> packages here. Since <tt>archive.ubuntu.com</tt> is currently unusable
164 I use <tt>nl.archive.ubuntu.com</tt> as source for the data until the situation normalizes again.</p>
165 </dd>
166 <dt>2008-02-21</dt>
167 <dd>
168 <p>The downtime today was caused by some yet undiagnosed kernel troubles after
169 a faulty hard disk was exchanged. Sorry for any inconvenience.
170 </dd>
171 <dt>2008-02-19</dt>
172 <dd>
173 <p>Switched packages.ubuntu.com to the newer codebase that also runs
174 on packages.debian.org. The two most important changes for users
175 are that most pages are now generated dynamically (which makes
176 for faster updates and more flexibility) and that the search
177 functions should be much faster now.
178 <p>Still waiting for a volunteer that optimizes the used stylesheets,
179 I myself have not much talent in this area...
180 </dd>
181 <dt>2007-10-21</dt>
182 <dd>
183 Add hardy.
184 </dd>
185 <dt>2007-10-18</dt>
186 <dd>
187 Change default release to gutsy.
188 </dd>
189 <dt>2007-07-28</dt>
190 <dd>
191 Drop old releases since they also got dropped from archive.ubuntu.com.
192 </dd>
193 <dt>2007-04-29</dt>
194 <dd>
195 Feisty is released. Pages updated accordingly.
196 </dd>
197 <dt>2006-11-20</dt>
198 <dd>
199 <ul>
200 <li>The hard drive of the server was replaced today after it began to act
201 up. Most stuff should be up and running again. I accidentally deleted the
202 info about new packages though, so that will be not reliable for the next
203 few days.
204 <li>Added edgy-backports to the homepage and the search forms
205 </ul>
206 </dd>
207 <dt>2006-10-29</dt>
208 <dd>
209 <ul>
210 <li>Add feisty. The changes for the edgy release were already done some days ago.
211 </ul>
212 </dd>
213 <dt>2006-10-18</dt>
214 <dd>
215 <ul>
216 <li>The "Bug reports" links now correctly point to Launchpad for all packages.
217 Thanks to all the people that reported this error to me.
218 <li>I added an <code>robots.txt</code> to ban some people trying to
219 mirror the site by means of <code>wget -r</code>. If forever reason
220 you need to mirror the site please contact me by mail so we can do
221 this by other means that won't stress the server as much.
222 </ul>
223 </dd>
224 <dt>2006-06-12</dt>
225 <dd>
226 Finally make dapper the default for searches and add edgy. Sorry for the delay.
227 </dd>
228 <dt>2006-01-17</dt>
229 <dd>
230 I hope everyone had a good start into the new year. Some small status
231 updates:
232 <ul>
233 <li>While looking at the log statistics I noticed that apparently
234 <code>packages.ubuntulinux.org</code> also points to my server
235 without me knowing. I fixed the apache configuration so that it now
236 knows about that and handles it correctly.</li>
237 <li>Linking to a CSS file on the official Ubuntu homepage
238 was a bad idea and the page had some glitches when it disappeared.
239 Most of the issues should be fixed by now.</li>
240 <li>Sorry for any performance issues with the site. My little server
241 is not always able to handle the many hits of this site (close to
242 2,000,000 per month). I guess I will have to search for another
243 hosting solution in the near future.</li>
244 </ul>
245 </dd>
246 <dt>2005-10-13</dt>
247 <dd>
248 Changed all defaults to point to breezy
249 </dd>
250 <dt>2005-09-28</dt>
251 <dd>
252 <ul>
253 <li>The contents files are updated again, so I removed any warnings
254 and added the appropriate links back</li>
255 <li>The "Check for bug reports" links now point to Launchpad for
256 universe/multiverse packages. Suggested by
257 <tt>j -at- bootlab -dot- org</tt>.
258 <li>Finally, I migrated to the "new" layout. Comments and Patches
259 about the remaining quirks welcome.
260 </ul>
261 </dd>
262 <dt>2005-09-25</dt>
263 <dd>
264 I've merged the new changelog to HTML conversion code from the Debian
265 branch. I still have no idea how to handle the requests to link Ubuntu
266 bugs to the Ubuntu BTS and Debian bugs to the Debian BTS. Suggestions
267 welcome.
268 </dd>
269 <dt>2005-08-30</dt>
270 <dd>
271 <ul>
272 <li>I've added a warning to this site about the outdated Contents
273 files in the Ubuntu archive which make the contents search completely
274 useless for anything after warty. I've actually no idea whom to ask
275 about this since I don't seem to be able to find out on the Ubuntu
276 web site who is ftp-master in Ubuntu?</li>
277 <li>You can now also browse the packages from
278 <a href="hoary-backports/">hoary-backports</a></li>
279 </ul>
280 </dd>
281 <dt>2005-06-10</dt>
282 <dd>
283 I have begun to work on integrating the current Ubuntu web design with
284 my pages. There are still some issues to work out but as a teaser I
285 already converted the front page. Feel free to mail me with comments
286 on how I could use the new layout better.
287 </dd>
288 <dt>2005-04-14</dt>
289 <dd>
290 hoary is released and now this fact is also beginning to show on this
291 page. Please report all errors you find with the new breezy pages.
292 </dd>
293 <dt>2005-04-06</dt>
294 <dd>
295 The transition should be completed by now and I've installed some
296 rewrite rules so that old URLs should also point to the new location.
297 The changelog extraction script is still running so there are still
298 some (more) broken links. Please report all other problems you might
299 encounter.
300 </dd>
301 <dt>2005-04-05</dt>
302 <dd>
303 From tomorrow on this site will be available at <a
304 href="http://packages.ubuntu.com/">packages.ubuntu.com</a>.
305 The necessary setup is done on both my side and on the side of the
306 ubuntu people but I will use the occasion for some configuration
307 clean-up and a full rebuild. Stay tuned <tt>;)</tt>
308 </dd>
309 <dt>2005-04-02</dt>
310 <dd>
311 <ul>
312 <li>On request of the MOTUs I've added links to the build logs for
313 hoary packages.</li>
314 <li>Also, the Portuguese LoCoTeam (hmm, Ubuntu teams have
315 all very l33t names ;) asked me
316 how to translate the pages. Here my answer:
317
318 <blockquote style="font-family: monospace">
319 <p>At http://cvs.infodrom.org/packages.debian.org/po/?cvsroot=debian.de
320 you can find some .pot files. Please translate them and send them back
321 to me (You may want to take a look at the translations available at
322 http://cvs.debian.org/webwml/portuguese/po/?cvsroot=webwml
323 especially for files like langs.pot). This will ensure that at least
324 the constant strings on all the pages are translated (Some of the
325 strings in these file are only needed on packages.debian.org)</p>
326
327 <p>The translations of package descriptions I took from the DDTP (Debian
328 Descriptions Translation Project) which seems to be rather inactive
329 lately. Unless this is fully revived or another similar project is
330 created there is little I can do on this front.</p>
331 </blockquote>
332 </li>
333 <li>Thanks to all people that provided me with positive feedback about
334 these pages.</li>
335 </ul>
336 </dd>
337 <dt>2005-03-02</dt>
338 <dd>I talked briefly with Daniel Silverstone of Canonical at
339 <a href="http://www.fosdem.org/">FOSDEM</a>. He said that Ubuntu
340 will get his own Packages page, but <q>It will be a while</q>.</dd>
341 <dt>2005-01-24</dt>
342 <dd>In the last two days there were several reboots of the server
343 needed (kernel upgrades, activation and testing of a new rescue
344 system). Sorry for any inconviences this caused.</dd>
345 <dt>2005-01-11</dt>
346 <dd>There are changelogs and copyright files available now. I also
347 added links to the Ubuntu bugzilla, but I'm not sure yet that they
348 work completly. Feedback welcome. (Changelogs and copyright files
349 may be missing for some packages since I can only mirror the
350 i386 and powerpc debs due to space constraints)</dd>
351 </dl>
352
353 [% PROCESS 'html/foot.tmpl' page_name=packages_homepage copyright.years = '1997 - 2011' %]