Bug 74491
Summary: | Function opendb doesn't exported | ||
---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | Grigory Bakunov <black> |
Component: | rpm-python | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | null | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i586 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-09-25 13:55:03 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Grigory Bakunov
2002-09-25 09:51:36 UTC
No, someone (me) forgot to change the doco. The rpm database is handled as a side effect of transaction processing and explicit methods have been removed from the python bindings. May be mutch better solution is 1) Add empty method opendb what throw exception ("Obsolete"). 2) Add empty method opendb what just printout "This method is obsolete (use blahblah instead)" like "regex" module in python2.x And thanks for fast answer. Sure there are lots of ways to handle API changes, but an rpm-python API needs to be designed first. What's currently implemented is deficient in many ways, and rather organic rather than designed. I'm gonna close this bug because rpmdb-py.c is gonna be eliminated in rpm-4.2 AFAIK, so there's little reason to change (i.e. delete) the documentation for non-existent methods in the interim. Poke me on rpm-list if you need further help. And, I *love* patches :-) |