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