Skip to content

Commit a917ba2

Browse files
author
vshepard
committed
Add testgres.plugins to plugin
1 parent 1321a8f commit a917ba2

File tree

9 files changed

+28
-1
lines changed

9 files changed

+28
-1
lines changed

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:
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
try:
2+
from setuptools import setup
3+
except ImportError:
4+
from distutils.core import setup
5+
6+
setup(
7+
version='0.0.1',
8+
name='testgres_pg_probackup2',
9+
packages=['pg_probackup2', 'pg_probackup2.storage'],
10+
description='Plugin for testgres that manages pg_probackup2',
11+
url='https://github.com/postgrespro/testgres',
12+
long_description_content_type='text/markdown',
13+
license='PostgreSQL',
14+
author='Postgres Professional',
15+
author_email='testgres@postgrespro.ru',
16+
keywords=['pg_probackup', 'testing', 'testgres'],
17+
install_requires=['testgres>=1.9.2']
18+
)

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