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