catalog.shtml revision 1117
0N/A## You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A## file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A<%inherit file="layout.shtml"/>\
% if config.mirror:
versions = self.shared.get_releases(g_vars)
selected_val = request.params.get("version", None)
show_all_versions = request.params.get("show_all_versions", None)
<form action="catalog.shtml">
context.write("""<option %svalue="%s">%s</option>""" % (
flist = catalog.get_matching_version_fmris(pattern)
if f.pkg_name not in found:
found[f.pkg_name] = True
nlist.append(f)
flist = [f for f in catalog.fmris()]
phref = self.shared.rpath(g_vars, "info/0/%s" % (
urllib.quote(str(pfmri)[len("pkg:/"):], "")))
mhref = self.shared.rpath(g_vars, "manifest/0/%s" % (
href="${phref}">${pfmri.pkg_name}</a>
<td>${pfmri.version}</td>