Brock Pytlik wrote:
Shawn Walker wrote:
Brock Pytlik wrote:
Have you checked modules/server/api.py search() and the web-based
search in the templates provided by the depot to be certain that
everything is still works correctly? I would think this would be
a bump in the version of pkg.server.api at the least.
I'll check. All I need to do is start a repo, point a browser at it
and see what happens when I do a search?
Yes, but don't forget to set your --content-root to your
proto/root_`uname -p`/usr/share/lib/pkg directory.
Also, please make one last sweep to ensure you're not referencing
"authority" or "auth" anywhere; those should both be "publisher" or
"pub" respectively.
Cheers,
Gonna need your help here to get this working as the template files
apparently need to be changed and I can't really parse mako at this
point. Guidance on how to translate the new code in client (ie
process_v_1_search and the loop around it) into code that mako
understands would be appreciated.
This should be the rough process:
src/modules/server/api.py
===================
* increment the CURRENT_API_VERSION variable
* Update the search methods in CatalogInterface to use the new search
code, removing ones that no longer apply (such as search_done())
src/web/index.shtml
===================
* increment the CLIENT_API_VERSION variable
src/web/en/base.html
===================
* increment the CLIENT_API_VERSION variable
Strangely, this doesn't seem to actually need to be done.
Odd, nevertheless it should be. The CLIENT_API_VERSION variables should
always match the CURRENT_API_VERSION in modules/server/api.py.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss