Team,
Sending it again since some of the contents got truncated.
The code review for the issue
12852 pkg.server.api must have methods for getting package information
<http://defect.opensolaris.org/bz/show_bug.cgi?id=12852>
is at
http://cr.opensolaris.org/~rajkumar/cr-12852/
<http://cr.opensolaris.org/%7Erajkumar/cr-12852/>
Changes Done:
~~~~~~~~~~~
The PackageInfo, LicenseInfo and PackageCategory classes from
modules/client/api.py is moved
to a separate module name modules/api_common.py . This is done so that
it can be used by both
modules/client/api.py and modules/server/api.py .
The CatalogInterface in modules/server/api.py has now the "info" method
which is similar to the
info method in modules/client/api.py . You can use it to get the Package
information.
UnrecognizedOptionsToInfo exception is added to
modules/server/api_errors.py .
api_common.py entry is added to pkgdefs/SUNWipkg/prototype file.
Question:
~~~~~~
What should be PackageInfo.states value for server/api.py ,
NOT_INSTALLED or None ?
regards,
Rajkumar
Rajkumar Srinivasan wrote:
Team,
The code review for the issue
12852 pkg.server.api must have methods for getting package information
<http://defect.opensolaris.org/bz/show_bug.cgi?id=12852>
is at
http://cr.opensolaris.org/~rajkumar/cr-12852/
<http://cr.opensolaris.org/%7Erajkumar/cr-12852/>
Changes Done:
~~~~~~~~~~~
The PackageInfo, LicenseInfo and PackageCategory classes from
modules/client/api.py is moved
to a separate module name modules/api_common.py . This is done so
that it can be used by both
modules/client/api.py and modules/server/api.py .
The CatalogInterface in modules/server/api.py has now the "info"
method which is similar to the
info method in modules/client/api.py . You can use it to get the
Package information.
UnrecognizedOptionsToInfo
------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss