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