Shawn Walker wrote:
> Greetings,
> 
> The following webrev contains changes for the following RFEs:
>    3011 new depot index page desired
>    3014 revamped depot bui (web ui) desired
> 
> webrev:
> http://cr.opensolaris.org/~swalker/pkg-3014/
> 
> Sample depot themes:
> default:
> http://ipkg.sfbay:8009/
> 
> opensolaris.org:
> http://ipkg.sfbay:8010/
> 
> sun.com:
> http://ipkg.sfbay:8011/
> 
> Feedback on all aspects is appreciated.

Some additional notes to assist reviewers:

* Please note that the web content has significantly changed, as such, 
you'll have to specify the --content-root parameter to depot.py if you 
run your own copy as /usr/share/lib/pkg has the old web content.

* For convenience, I've tarballed the new web content so you can easily 
extract it somewhere [1].  Once you extract the above tarball to a 
directory, just specify --content-root=/path/to/extracted (don't include 
the /web!).

* By default, the generic "flat" theme will be used for the depot pages. 
  If you want to see the other themes, change the value of 
web_config["theme"] in web/config.shtml to one of three values: 
"default", "opensolaris.org" or "sun.com".  Note that these values 
correspond to the directories found in web/_themes.  You do not have to 
restart the depot server after making this change to see the results.

* Configuration of the web page content is purposefully done only 
through templates so that the depot facing pages can be completely 
customised to meet a project's needs.  The only information that is 
retrieved from repository configuration is metadata that is (or will be) 
common to the client and server, such as repository name, description, etc.

* The directory structure chosen for "/web" is based on the assumption 
that the following requirements exist:

-- Ability to serve depot pages customised to a specific language or 
region.  For example, some languages are right-to-left and you may want 
a different page layout.

-- Ability to theme the same content for a specific language or region.

-- That further multi-lingual support will eventually be accomplished 
through use of gettext and babel [2].

-- 
Shawn Walker

[1] http://cr.opensolaris.org/~swalker/pkg-3014/web-content.tar.gz

[2] http://babel.edgewall.org/
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to