libbe.storage.util.upgrade

Handle conversion between the various BE storage formats.

class libbe.storage.util.upgrade.Upgrade_1_0_to_1_1(repo)

Methods

check_initial_version
get_path
set_version
upgrade(path, current_version[, target_version]) Call the appropriate upgrade function to convert current_version to target_version.
class libbe.storage.util.upgrade.Upgrade_1_1_to_1_2(repo)

Methods

check_initial_version
get_path
set_version
upgrade(path, current_version[, target_version]) Call the appropriate upgrade function to convert current_version to target_version.
class libbe.storage.util.upgrade.Upgrade_1_2_to_1_3(*args, **kwargs)

Methods

check_initial_version
get_path
set_version
upgrade(path, current_version[, target_version]) Call the appropriate upgrade function to convert current_version to target_version.
class libbe.storage.util.upgrade.Upgrade_1_3_to_1_4(repo)

Methods

check_initial_version
get_path
set_version
upgrade(path, current_version[, target_version]) Call the appropriate upgrade function to convert current_version to target_version.
class libbe.storage.util.upgrade.Upgrader(repo)

Class for converting between different on-disk BE storage formats.

Attributes

final_version
initial_version

Methods

check_initial_version
get_path
set_version
upgrade(path, current_version[, target_version]) Call the appropriate upgrade function to convert current_version to target_version.
check_initial_version()
get_path(*args)

Return the absolute path using args relative to .be.

set_version()
upgrade()
libbe.storage.util.upgrade.upgrade(path, current_version, target_version='Bugs Everywhere Directory v1.4')

Call the appropriate upgrade function to convert current_version to target_version. If a direct conversion function does not exist, use consecutive conversion functions.

libbe.storage.util.upgrade.upgrader

alias of Upgrade_1_3_to_1_4

This Page