The following webrev contains fixes for the following issues:
7137051 some packages not shown on Catalogs BUI page when 'entire' is
present
7137059 bui catalog page should offer an 'all' release and branch
option
webrev:
https://cr.opensolaris.org/action/browse/pkg/swalker/pkg-bui/webrev/
-Shawn
_______________________________________________
pkg-discuss mailing list
pkg-d...@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
Anyone?
src/modules/server/api.py:
gen_allowed_packages(..)
This takes a single fmri (an incorporation) following its dependencies.
Would the API be more useful if it allowed a list of fmris instead,
which would mean all packages wouldn't have to be covered by a single
incorporation package? (so rather than passing it "entire", you could
pass ["osnet-incorporation", "ips-incorporation", etc.])
line 115, typo "incorporated"
src/web/en/base.shtml et al.
I know it's not this bug, but "CLIENT_API_VERSION" seems weird (yes,
it's a client of the server API, but SERVER_API_VERSION would have been
nicer imho)
General:
It'd be nice to have server-api unit tests, though I'm not sure how
feasible that is when plugging into cherrypy.
Otherwise, looks good I think.
cheers,
tim
I purposefully avoided that since you get in to some wacky cases if you
passed ["entire", "osnet-incorporation"]. But I suppose it's up to the
caller to not do silly things.
...
> General:
>
> It'd be nice to have server-api unit tests, though I'm not sure how
> feasible that is when plugging into cherrypy.
Yeah, that's the exact problem. The BUI currently has to be completely
hand-tested. I've never figured out a good way to handle that; we have
some RFEs open for additional testing.
-Shawn