portage.git
13 years agoman/portage.5: cache-formats example
Zac Medico [Sat, 29 Oct 2011 08:11:09 +0000 (01:11 -0700)]
man/portage.5: cache-formats example

13 years agoegencache: multiple cache-formats support
Zac Medico [Sat, 29 Oct 2011 07:59:02 +0000 (00:59 -0700)]
egencache: multiple cache-formats support

If layout.conf contains "cache-formats = md5-dict pms", egencache will
now write both formats.

13 years agogit_sync_timestamps: fix breakage
Zac Medico [Sat, 29 Oct 2011 06:57:29 +0000 (23:57 -0700)]
git_sync_timestamps: fix breakage

This has been broken since metadbmodule support was removed in commit
d4ea29bf6a3ce35d49e0f54f9173e3a6e42da2d6.

13 years agoRepoConfig: add iter_pregenerated_caches method
Zac Medico [Sat, 29 Oct 2011 06:15:21 +0000 (23:15 -0700)]
RepoConfig: add iter_pregenerated_caches method

This will be used by egencache to generate cache for all supported
formats.

13 years agoquickpkg: fix regression in hardlink support
Zac Medico [Sat, 29 Oct 2011 05:35:01 +0000 (22:35 -0700)]
quickpkg: fix regression in hardlink support

Hardlink support has been broken since commit
4198da0184aaec30c41f2e5d2c7af71c4d35b662, which omitted the hardlink
logic from TarFile.gettarinfo().

13 years agoFix an issue where emerge will abort when merge starts if we have a file in our Manif...
Daniel Robbins [Sat, 29 Oct 2011 04:06:00 +0000 (04:06 +0000)]
Fix an issue where emerge will abort when merge starts if we have a file in our Manifest that does not exist on disk, even with thin-manifest enabled.

13 years agoDeprecate unused 'virtual' constructor parameters
Zac Medico [Sat, 29 Oct 2011 04:17:11 +0000 (21:17 -0700)]
Deprecate unused 'virtual' constructor parameters

13 years ago_trees_dict: define __slots__
Zac Medico [Sat, 29 Oct 2011 03:34:34 +0000 (20:34 -0700)]
_trees_dict: define __slots__

13 years agoportageq: refer to <eroot> instead of <root>
Zac Medico [Sat, 29 Oct 2011 03:26:18 +0000 (20:26 -0700)]
portageq: refer to <eroot> instead of <root>

Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, portageq takes
EROOT as the first argument of commands that require a root argument.
So, update the docs to refer to <eroot> instead of <root>.

13 years agoUse EROOT to validate path arguments.
Zac Medico [Sat, 29 Oct 2011 03:20:29 +0000 (20:20 -0700)]
Use EROOT to validate path arguments.

13 years agoUse any() instead of list(filter()).
Zac Medico [Sat, 29 Oct 2011 03:10:23 +0000 (20:10 -0700)]
Use any() instead of list(filter()).

13 years agoUse bytes instead of unicode with isinstance.
Zac Medico [Sat, 29 Oct 2011 00:12:11 +0000 (17:12 -0700)]
Use bytes instead of unicode with isinstance.

This is preferred since the bytes type is available in all supported
python versions, while the unicode type is only available in python2.

13 years agoResolverPlayground: remove unused root attribute
Zac Medico [Fri, 28 Oct 2011 22:20:35 +0000 (15:20 -0700)]
ResolverPlayground: remove unused root attribute

13 years agoconfig: discard profiles_complex attribute
Zac Medico [Fri, 28 Oct 2011 22:06:50 +0000 (15:06 -0700)]
config: discard profiles_complex attribute

Like LocationsManager, it's only used in the constructor, so there's
no need to hold a reference after the constructor completes.

13 years agoCheck for bytes instead of unicode in args.
Zac Medico [Fri, 28 Oct 2011 20:13:07 +0000 (13:13 -0700)]
Check for bytes instead of unicode in args.

This simplifies the checks since the bytes type is available in all
supported python versions, while the unicode type is only available in
python2.

13 years agoquickpkg: fix unicode for bug #388773
Zac Medico [Fri, 28 Oct 2011 18:03:02 +0000 (11:03 -0700)]
quickpkg: fix unicode for bug #388773

13 years agoSetConfig: use read_file/readfp for unicode
Zac Medico [Fri, 28 Oct 2011 07:21:05 +0000 (00:21 -0700)]
SetConfig: use read_file/readfp for unicode

13 years agoRepoConfigLoader: python3.2 readfp deprecation
Zac Medico [Fri, 28 Oct 2011 07:17:25 +0000 (00:17 -0700)]
RepoConfigLoader: python3.2 readfp deprecation

13 years agoRepoConfigLoader: use readfp for unicode
Zac Medico [Fri, 28 Oct 2011 06:48:44 +0000 (23:48 -0700)]
RepoConfigLoader: use readfp for unicode

13 years agoRepoConfigLoader: sort layout.conf attributes
Zac Medico [Fri, 28 Oct 2011 06:20:26 +0000 (23:20 -0700)]
RepoConfigLoader: sort layout.conf attributes

13 years agoRepoConfigLoader: support incremental aliases
Zac Medico [Fri, 28 Oct 2011 06:17:19 +0000 (23:17 -0700)]
RepoConfigLoader: support incremental aliases

This allows a user to discard unwanted aliases that are specified in
a repo's layout.conf.

13 years agoRepoConfigLoader: comment on masters override
Zac Medico [Fri, 28 Oct 2011 05:38:31 +0000 (22:38 -0700)]
RepoConfigLoader: comment on masters override

13 years agoRepoConfig.update(): getattr/setattr loop
Zac Medico [Fri, 28 Oct 2011 05:30:34 +0000 (22:30 -0700)]
RepoConfig.update(): getattr/setattr loop

13 years agoparse_layout_conf: comment on masters fallback
Zac Medico [Fri, 28 Oct 2011 05:14:51 +0000 (22:14 -0700)]
parse_layout_conf: comment on masters fallback

13 years agoFix profile-formats spelling in messages.
Zac Medico [Fri, 28 Oct 2011 04:55:28 +0000 (21:55 -0700)]
Fix profile-formats spelling in messages.

13 years agoMaskManager: portage-1-compat warnings.warn
Zac Medico [Fri, 28 Oct 2011 02:48:16 +0000 (19:48 -0700)]
MaskManager: portage-1-compat warnings.warn

13 years agostacklevel=3 for properties warnings
Zac Medico [Fri, 28 Oct 2011 02:32:49 +0000 (19:32 -0700)]
stacklevel=3 for properties warnings

There's an extra level for the @property wrapper.

13 years agoFix mydcfg from last commit.
Zac Medico [Fri, 28 Oct 2011 02:15:34 +0000 (19:15 -0700)]
Fix mydcfg from last commit.

13 years agoconfig: remove cruft
Zac Medico [Fri, 28 Oct 2011 02:04:25 +0000 (19:04 -0700)]
config: remove cruft

The mygcfg and packages_list attributes are both useless.

13 years agograb_pmask: use local repo_config reference
Zac Medico [Fri, 28 Oct 2011 01:45:19 +0000 (18:45 -0700)]
grab_pmask: use local repo_config reference

The previous code worked, but it looked wrong because it was using the
'repo' variable from the parent scope.

13 years agoFix missed ROOT -> EROOT changes.
Zac Medico [Fri, 28 Oct 2011 01:17:55 +0000 (18:17 -0700)]
Fix missed ROOT -> EROOT changes.

These go along with commit a715b65f7bd36409c1283e6911265d1f4405ab7a.

13 years agocreate_trees: ensure trees is _trees_dict type
Zac Medico [Fri, 28 Oct 2011 00:53:51 +0000 (17:53 -0700)]
create_trees: ensure trees is _trees_dict type

13 years agoLocationsManager: extensible _profile_node object
Zac Medico [Thu, 27 Oct 2011 20:49:40 +0000 (13:49 -0700)]
LocationsManager: extensible _profile_node object

Use immutable object attrubutes instead of tuples, for extensibility.

13 years agoparse_layout_conf: grab repo_name for error msgs
Zac Medico [Thu, 27 Oct 2011 19:41:42 +0000 (12:41 -0700)]
parse_layout_conf: grab repo_name for error msgs

This allows us to avoid duplicate warnings for 'unspecified' repo since
parse_layout_conf is initially called without specifying the repo in
LocationsManager.load_profiles().

13 years agoFix profile-formats spelling in messages.
Zac Medico [Thu, 27 Oct 2011 19:02:26 +0000 (12:02 -0700)]
Fix profile-formats spelling in messages.

13 years agoLocationsManager._addProfile: realpath parents
Zac Medico [Thu, 27 Oct 2011 18:49:20 +0000 (11:49 -0700)]
LocationsManager._addProfile: realpath parents

If it seems that a parent may point outside of the current repo,
realpath it.

13 years agoLocationsManager.load_profiles: realpath repos
Zac Medico [Thu, 27 Oct 2011 18:29:33 +0000 (11:29 -0700)]
LocationsManager.load_profiles: realpath repos

Since we already call realpath on make.profile, we also need to call
realpath on the repo paths that we compare its nodes to.

13 years agoLocationsManager: portage-1-compat warnings.warn
Zac Medico [Thu, 27 Oct 2011 17:22:33 +0000 (10:22 -0700)]
LocationsManager: portage-1-compat warnings.warn

13 years agoparse_layout_conf: fix profile-formats warning
Zac Medico [Thu, 27 Oct 2011 17:10:53 +0000 (10:10 -0700)]
parse_layout_conf: fix profile-formats warning

13 years agofix previous commit to call ensure_dirs
Zac Medico [Thu, 27 Oct 2011 16:46:04 +0000 (09:46 -0700)]
fix previous commit to call ensure_dirs

13 years agoRun pkg_pretend in PORTAGE_TMPDIR for bug #388593
Zac Medico [Thu, 27 Oct 2011 16:31:33 +0000 (09:31 -0700)]
Run pkg_pretend in PORTAGE_TMPDIR for bug #388593

13 years agorepoman: add opts and repo config debug output
Zac Medico [Thu, 27 Oct 2011 05:55:42 +0000 (22:55 -0700)]
repoman: add opts and repo config debug output

13 years agorepoman: add opts and repo config debug output
Zac Medico [Thu, 27 Oct 2011 05:52:04 +0000 (22:52 -0700)]
repoman: add opts and repo config debug output

13 years agoparse_layout_conf: fix inverted update-changelog
Zac Medico [Thu, 27 Oct 2011 05:32:34 +0000 (22:32 -0700)]
parse_layout_conf: fix inverted update-changelog

The logic got inverted when parse_layout_conf was split out in commit
0be173a54a5248cfd70a3543d7099d2dd3ee254b.

13 years agoRepoConfigLoader: redundant cache_formats setting
Zac Medico [Thu, 27 Oct 2011 05:09:19 +0000 (22:09 -0700)]
RepoConfigLoader: redundant cache_formats setting

There's a loop that already handles this via setattr.

13 years agoman/make.conf.5: mention LINGUAS in USE_ORDER doc
Zac Medico [Thu, 27 Oct 2011 04:43:25 +0000 (21:43 -0700)]
man/make.conf.5: mention LINGUAS in USE_ORDER doc

The reason for env.d being in USE_ORDER is not really obvious, so
mention LINGUAS as an example (from bug #187016).

13 years agoAdd emerge --check-news for bug #388233.
Zac Medico [Thu, 27 Oct 2011 04:22:26 +0000 (21:22 -0700)]
Add emerge --check-news for bug #388233.

13 years agoAdd public news functions for bug #388233.
Zac Medico [Thu, 27 Oct 2011 03:13:12 +0000 (20:13 -0700)]
Add public news functions for bug #388233.

count_unread_news(portdb, vardb, repos=None, update=True)
display_news_notifications(news_counts)

13 years agoman/make.conf.5: elaborate on prelink-checksums
Martin von Gagern [Wed, 26 Oct 2011 21:59:14 +0000 (14:59 -0700)]
man/make.conf.5: elaborate on prelink-checksums

13 years agoBug #388615 - optimize FEATURES=prelink-checksums
Martin von Gagern [Wed, 26 Oct 2011 21:49:36 +0000 (14:49 -0700)]
Bug #388615 - optimize FEATURES=prelink-checksums

Only spawn prelink if the file has an ELF header.

13 years agoUpdateChangeLog: sort files
Zac Medico [Wed, 26 Oct 2011 18:13:27 +0000 (11:13 -0700)]
UpdateChangeLog: sort files

13 years agolayout.conf: rename cache_format to cache_formats
Zac Medico [Tue, 25 Oct 2011 22:52:59 +0000 (15:52 -0700)]
layout.conf: rename cache_format to cache_formats

We read layout.conf cache-formats from left to right and use the first
supported type that's found. This will allow support for multiple
formats in parallel, providing for smooth transitions between formats.

13 years agoadd profile-formats portage-1 awareness and enforcement
Brian Harring [Tue, 25 Oct 2011 05:41:17 +0000 (22:41 -0700)]
add profile-formats portage-1 awareness and enforcement

Currently it just spits warnings for implicit portage-1 format usage;
down the line, this will be converted into an explicit error.

For repo's that configure themselves as portage-1 or pms explicitly, enforce
it.

13 years agolayout.conf: add profile-format awareness
Brian Harring [Tue, 25 Oct 2011 05:40:16 +0000 (22:40 -0700)]
layout.conf: add profile-format awareness

Note the portage-1-compat mode; this isn't settable externally, is
purely an internal mode for tracking if a repository is in portage-1
compat mode, rather than explicit portage-1 mode.

This compat mode will be removed once portage becomes strict.

13 years agoTrack profile format, and if compatibility mode is in use.
Brian Harring [Tue, 25 Oct 2011 05:37:34 +0000 (22:37 -0700)]
Track profile format, and if compatibility mode is in use.

Warn if the profile is using portage-1 format, but isn't marked as such.

13 years agosplit out layout.conf parsing so it's usable elsewhere
Brian Harring [Tue, 25 Oct 2011 00:38:33 +0000 (17:38 -0700)]
split out layout.conf parsing so it's usable elsewhere

13 years agoruntests.sh: fix arguments pass-through
Zac Medico [Tue, 25 Oct 2011 19:52:40 +0000 (12:52 -0700)]
runtests.sh: fix arguments pass-through

13 years agotest_config: test PORTDIR default masters
Zac Medico [Tue, 25 Oct 2011 16:41:15 +0000 (09:41 -0700)]
test_config: test PORTDIR default masters

13 years agoexpand_new_virt: fix vardbapi.root reference
Zac Medico [Tue, 25 Oct 2011 14:51:26 +0000 (07:51 -0700)]
expand_new_virt: fix vardbapi.root reference

13 years agoUse EROOT instead of ROOT for keys everywhere.
Zac Medico [Tue, 25 Oct 2011 08:59:39 +0000 (01:59 -0700)]
Use EROOT instead of ROOT for keys everywhere.

It makes more sense to use EROOT instead of ROOT for keys in mappings
like portage.db, since it allows for multiple prefixes to exist
simultaneously within the same map without having a key collision.
This affects all portageq commands which take a <root> parameter, since
that parameter now corresponds to EROOT instead of ROOT. None of this
makes any difference for non-prefix users, since EROOT and ROOT are
identical when EPREFIX is empty.

13 years agocreate_trees: save target_root for later use
Zac Medico [Tue, 25 Oct 2011 08:25:24 +0000 (01:25 -0700)]
create_trees: save target_root for later use

13 years agoResolverPlayground: use create_trees
Zac Medico [Tue, 25 Oct 2011 08:09:26 +0000 (01:09 -0700)]
ResolverPlayground: use create_trees

13 years agoruntests.sh: add --python-versions option
Zac Medico [Tue, 25 Oct 2011 06:42:51 +0000 (23:42 -0700)]
runtests.sh: add --python-versions option

13 years agotests/emerge: test pkg_config and pkg_info
Zac Medico [Tue, 25 Oct 2011 06:27:58 +0000 (23:27 -0700)]
tests/emerge: test pkg_config and pkg_info

13 years agoRemove unused root parameters from doebuild calls
Zac Medico [Tue, 25 Oct 2011 06:18:42 +0000 (23:18 -0700)]
Remove unused root parameters from doebuild calls

13 years agotests/emerge: test file owner lookup
Zac Medico [Tue, 25 Oct 2011 00:15:51 +0000 (17:15 -0700)]
tests/emerge: test file owner lookup

13 years agodoebuid: deprecate redundant "root" parameter
Zac Medico [Mon, 24 Oct 2011 22:26:35 +0000 (15:26 -0700)]
doebuid: deprecate redundant "root" parameter

13 years agodeprecate "root" attributes
Zac Medico [Mon, 24 Oct 2011 17:54:48 +0000 (10:54 -0700)]
deprecate "root" attributes

In preparation for prefix support, were EROOT will be used in place of
ROOT in many places, deprecate unnecessary "root" attributes in order
to eliminate them as a possible source of confusion.

13 years agotest_global_updates: test move with operator v2.2.0_alpha71
Zac Medico [Sun, 23 Oct 2011 22:23:25 +0000 (15:23 -0700)]
test_global_updates: test move with operator

13 years agotest_global_updates: add missing Atom constructor
Zac Medico [Sun, 23 Oct 2011 22:17:10 +0000 (15:17 -0700)]
test_global_updates: add missing Atom constructor

13 years agotest bug #388187
Zac Medico [Sun, 23 Oct 2011 22:15:34 +0000 (15:15 -0700)]
test bug #388187

13 years agoman/repoman.1: reference changelog/layout.conf
Zac Medico [Sun, 23 Oct 2011 21:12:40 +0000 (14:12 -0700)]
man/repoman.1: reference changelog/layout.conf

13 years agoSkip global updates prior to sync (called after).
Zac Medico [Sun, 23 Oct 2011 18:51:43 +0000 (11:51 -0700)]
Skip global updates prior to sync (called after).

13 years agoparse_updates: filter invalid for bug #388187
Zac Medico [Sun, 23 Oct 2011 18:31:05 +0000 (11:31 -0700)]
parse_updates: filter invalid for bug #388187

13 years agoman/portage.5: layout.conf update-changelog v2.2.0_alpha70
Zac Medico [Fri, 21 Oct 2011 08:50:06 +0000 (01:50 -0700)]
man/portage.5: layout.conf update-changelog

13 years agoUpdateChangeLog: tweak clold_lines logic
Zac Medico [Fri, 21 Oct 2011 08:11:32 +0000 (01:11 -0700)]
UpdateChangeLog: tweak clold_lines logic

There are two cases here that have to be mutually exclusive.

13 years agoupdate_copyright: make pretend a keyword arg
Zac Medico [Fri, 21 Oct 2011 07:37:32 +0000 (00:37 -0700)]
update_copyright: make pretend a keyword arg

13 years ago_update_copyright_year: optimize no-match case
Zac Medico [Fri, 21 Oct 2011 07:19:48 +0000 (00:19 -0700)]
_update_copyright_year: optimize no-match case

13 years agoupdate_copyright: process files as raw bytes
Zac Medico [Fri, 21 Oct 2011 07:06:32 +0000 (00:06 -0700)]
update_copyright: process files as raw bytes

This function will work correctly with files encoded in any character
set, as long as the copyright statements consist of plain ASCII.

13 years agoUpdateChangeLog: split out/test copyright regex
Zac Medico [Fri, 21 Oct 2011 06:06:33 +0000 (23:06 -0700)]
UpdateChangeLog: split out/test copyright regex

This also fixes a case where something like "Copyright 2011 " would be
replaced with "Copyright 2011-2011 ".

13 years agoUpdateChangeLog: tweak new/changed coded
Zac Medico [Fri, 21 Oct 2011 04:53:14 +0000 (21:53 -0700)]
UpdateChangeLog: tweak new/changed coded

13 years agoUpdateChangeLog: split out get_committer_name()
Zac Medico [Fri, 21 Oct 2011 04:07:34 +0000 (21:07 -0700)]
UpdateChangeLog: split out get_committer_name()

13 years agomisc-functions.sh: condense world-writable output
Zac Medico [Fri, 21 Oct 2011 02:19:28 +0000 (19:19 -0700)]
misc-functions.sh: condense world-writable output

13 years agoUpdateChangeLog: handle edge cases
Zac Medico [Fri, 21 Oct 2011 01:26:05 +0000 (18:26 -0700)]
UpdateChangeLog: handle edge cases

This should handle all kinds of variance in the input ChangeLog and
skel.ChangeLog.

13 years agoUpdateChangeLog: don't hardcode 1999 copyright
Zac Medico [Thu, 20 Oct 2011 21:51:05 +0000 (14:51 -0700)]
UpdateChangeLog: don't hardcode 1999 copyright

We want repoman to be applicable to as many repositories as possible.
If necessary, we can add another layout.conf attribute that configures
the copyright start years for all files.

13 years agoupdate_copyright: remove stray semicolon
Zac Medico [Thu, 20 Oct 2011 21:29:23 +0000 (14:29 -0700)]
update_copyright: remove stray semicolon

13 years agoupdate_copyright: don't hardcode 1999 start year
Zac Medico [Thu, 20 Oct 2011 21:26:26 +0000 (14:26 -0700)]
update_copyright: don't hardcode 1999 start year

We want repoman to be applicable to as many repositories as possible.
If necessary, we can add another layout.conf attribute that configures
the copyright start years for all files.

13 years agotests/repoman: add skel.ChangeLog
Zac Medico [Thu, 20 Oct 2011 21:18:34 +0000 (14:18 -0700)]
tests/repoman: add skel.ChangeLog

13 years agoMerge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage
Fabian Groffen [Thu, 20 Oct 2011 20:40:06 +0000 (22:40 +0200)]
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage

13 years agoUpdateChangeLog: fix whitespace
Fabian Groffen [Thu, 20 Oct 2011 20:39:38 +0000 (22:39 +0200)]
UpdateChangeLog: fix whitespace

13 years agorepoman: update copyright on modified files
Fabian Groffen [Thu, 20 Oct 2011 20:38:00 +0000 (22:38 +0200)]
repoman: update copyright on modified files

To retain the behaviour of echangelog, update the copyrights on modified
files (mostly ebuilds) when necessary.  Also update the ChangeLog's
copyright.

13 years agorepoman: get ChangeLog header from skel.ChangeLog
Fabian Groffen [Thu, 20 Oct 2011 20:35:41 +0000 (22:35 +0200)]
repoman: get ChangeLog header from skel.ChangeLog

Use skel.ChangeLog from the repo to create the header of a new ChangeLog
file.  Else, we just retain the original header of the ChangeLog.  When
no skel.ChangeLog file exists, and this is a new ChangeLog, no header is
used.

13 years agotests/repoman: use layout.conf update-changelog
Zac Medico [Thu, 20 Oct 2011 20:09:11 +0000 (13:09 -0700)]
tests/repoman: use layout.conf update-changelog

13 years agoUpdateChangeLog: time in UTC
Zac Medico [Thu, 20 Oct 2011 19:10:50 +0000 (12:10 -0700)]
UpdateChangeLog: time in UTC

13 years agorepoman: get default to update changelog from layout.conf
Fabian Groffen [Thu, 20 Oct 2011 16:58:04 +0000 (18:58 +0200)]
repoman: get default to update changelog from layout.conf

Updating the ChangeLog file may be desirable in more repos than just the
one named 'gentoo', like e.g. the Prefix one.  Hence, make this default
configurable though metadata/layout.conf.

This commit must go accompanied by a commit to
gentoo-x86/metadata/layout.conf that adds the following bit:

# Bug #337853 - gentoo's council says to enable
# --echangelog by default for the "gentoo" repo
update-changelog = true

13 years agodepgraph: fix installed masked warning
Zac Medico [Thu, 20 Oct 2011 16:29:46 +0000 (09:29 -0700)]
depgraph: fix installed masked warning

This warning has been broken since commit
5f65c2294df592a6a4e0f0fff0bedec49ed3491a.

13 years agomisc-functions.sh: move sleep out of loop
Zac Medico [Thu, 20 Oct 2011 14:16:50 +0000 (07:16 -0700)]
misc-functions.sh: move sleep out of loop

Having sleep in the world-writable loop causes riduculous delays for
prefix users with exotic filesystem constraints (like a FAT filesystem
mounted with umask=000).

13 years agoresolver/output: use set for myfetchlist hashing
Zac Medico [Wed, 19 Oct 2011 21:32:40 +0000 (14:32 -0700)]
resolver/output: use set for myfetchlist hashing

13 years agoresolver/output: display binary fetch size
Zac Medico [Wed, 19 Oct 2011 21:25:35 +0000 (14:25 -0700)]
resolver/output: display binary fetch size

13 years agoAdd bindbapi.getfetchsizes() like pordbapi has.
Zac Medico [Wed, 19 Oct 2011 21:19:09 +0000 (14:19 -0700)]
Add bindbapi.getfetchsizes() like pordbapi has.