Shawn Walker wrote: > Tom Mueller (pkg-discuss) wrote: >> The package display menu assumes that packages are put into the >> repository with a common release/branch value indicating a set of >> packages that go together. While this happens to be true for >> OpenSolaris now, it will not generally be true for other >> repositories. For example, take a look at the Glassfish V3 Prelude >> repository: http://pkg.sun.com/glassfish/v3prelude/release/ > > Actually, it doesn't assume that. If you'll look at the code in > index.shtml or catalog.shtml, you'll note that it calls > shared.get_releases() to get the release information, and if it can't, > it falls back to just listing every package. > > I definitely had the glassfish repository in mind when I wrote this. Cool. I missed that feature of this when I first looked at it.
Could the OpenSolaris-specific implementation of shared.shtml be made part of the OpenSolaris theme? And an alternate default implementation provided that doesn't have the dependencies on the entire package and the use of branch numbers? > > > I don't necessarily disagree with your suggestions, but I'm certain > there were good reasons for making search work the way it does now. > Brock might be able to better address this issue than I can. I can see making this consistent with command line search and agree that they both need to be fixed together. Tom _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
