Bart Smaalders wrote: > I like the idea... but would we be better off re-directing through > a web page we control, so this information could be updated? While > we can issue re-directs for sun.com to oracle.com for example, it would > be more difficult to reroute open source URLs when those bug tracking > systems change.
That's pretty much true for all the URL's in the metadata though, such as the existing upstream_url and maintainer_url. For instance, I currently have the hub.opensolaris.org URL for the X community group listed as the maintainer_url in the X packages, but a year ago it would have been the old form www.opensolaris.org URL. This is something that the depot could automagic up for us though - given a configuration property listing the attributes with URL's to rewrite (maintainer_url, defect_tracker.url, etc. maybe just even "info\..*url") it could substitute them in manifests with something like <repo url>/redirect/pkg-name/defect_tracker/ and when that URL was requested, provide a redirect link from the latest version of that package. (While you're at it, you could have the property recognize to make those clickable links when viewing the repository data in a web browser.) You'd probably enable it on pkg.opensolaris.org but not your own personal repo. This does suffer from some of the same problems as link shorteners [1], but not all of them, since this is on the edge of the web, not something that a search engine web crawler has to deal with, and if your IPS repository server goes away, you've got bigger problems than broken bug filing links. [1] Discussed in a variety of blogs & forums across the web, such as: http://www.google.com/buzz/dclinton/JKoWPTAAyvw/More-thoughts-on-URL-shorteners-This-post-explores -- -Alan Coopersmith- [email protected] Oracle Solaris Platform Engineering: X Window System _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
