Skip to content

Commit 6c4095c

Browse files
author
vshepard
committed
Add testgres.plugins to plugin
1 parent 03d8f96 commit 6c4095c

File tree

12 files changed

+37
-15
lines changed

12 files changed

+37
-15
lines changed

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,18 @@
2626
with open('README.md', 'r') as f:
2727
readme = f.read()
2828

29+
2930
setup(
3031
version='1.9.2',
3132
name='testgres',
32-
packages=['testgres', 'testgres.operations', 'testgres.plugins.probackup', 'testgres.plugins.probackup.storage'],
33+
packages=['testgres', 'testgres.operations'],
3334
description='Testing utility for PostgreSQL and its extensions',
3435
url='https://github.com/postgrespro/testgres',
3536
long_description=readme,
3637
long_description_content_type='text/markdown',
3738
license='PostgreSQL',
38-
author='Ildar Musin',
39-
author_email='zildermann@gmail.com',
39+
author='Postgres Professional',
40+
author_email='testgres@postgrespro.ru',
4041
keywords=['test', 'testing', 'postgresql'],
4142
install_requires=install_requires,
4243
classifiers=[],

testgres/__init__.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@
5151
from .operations.os_ops import OsOperations, ConnectionParams
5252
from .operations.local_ops import LocalOperations
5353
from .operations.remote_ops import RemoteOperations
54-
from .plugins.probackup.gdb import GDBobj
55-
from .plugins.probackup.app import ProbackupApp
56-
from .plugins.probackup.app import ProbackupException
57-
from .plugins.probackup.init_helpers import init_params
58-
from .plugins.probackup.storage.fs_backup import FSTestBackupDir
5954

6055
__all__ = [
6156
"get_new_node",
@@ -68,6 +63,5 @@
6863
"PostgresNode", "NodeApp",
6964
"reserve_port", "release_port", "bound_ports", "get_bin_path", "get_pg_config", "get_pg_version",
7065
"First", "Any",
71-
"OsOperations", "LocalOperations", "RemoteOperations", "ConnectionParams",
72-
"init_params", "FSTestBackupDir", "ProbackupException", "ProbackupApp", "GDBobj"
66+
"OsOperations", "LocalOperations", "RemoteOperations", "ConnectionParams"
7367
]

testgres/plugins/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from pg_probackup2.gdb import GDBobj
2+
from pg_probackup2.app import ProbackupApp, ProbackupException
3+
from pg_probackup2.init_helpers import init_params
4+
from pg_probackup2.storage.fs_backup import FSTestBackupDir
5+
6+
7+
__all__ = [
8+
"ProbackupApp", "ProbackupException", "init_params", "FSTestBackupDir", "GDBobj"
9+
]

testgres/plugins/pg_probackup2/pg_probackup2/storage/__init__.py

Whitespace-only changes.

testgres/plugins/probackup/storage/fs_backup.py renamed to testgres/plugins/pg_probackup2/pg_probackup2/storage/fs_backup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import os
55
import shutil
66

7-
from testgres.plugins.probackup.init_helpers import init_params
7+
from ..init_helpers import init_params
88

99

1010
class TestBackupDir:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy