testgres-pg-probackup2 0.0.4__tar.gz → 0.0.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (15) hide show
  1. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/PKG-INFO +10 -2
  2. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/pg_probackup2/init_helpers.py +4 -0
  3. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/setup.py +1 -1
  4. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/testgres_pg_probackup2.egg-info/PKG-INFO +10 -2
  5. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/README.md +0 -0
  6. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/pg_probackup2/__init__.py +0 -0
  7. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/pg_probackup2/app.py +0 -0
  8. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/pg_probackup2/gdb.py +0 -0
  9. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/pg_probackup2/storage/__init__.py +0 -0
  10. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/pg_probackup2/storage/fs_backup.py +0 -0
  11. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/setup.cfg +0 -0
  12. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/testgres_pg_probackup2.egg-info/SOURCES.txt +0 -0
  13. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/testgres_pg_probackup2.egg-info/dependency_links.txt +0 -0
  14. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/testgres_pg_probackup2.egg-info/requires.txt +0 -0
  15. {testgres_pg_probackup2-0.0.4 → testgres_pg_probackup2-0.0.5}/testgres_pg_probackup2.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: testgres_pg_probackup2
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Summary: Plugin for testgres that manages pg_probackup2
5
5
  Home-page: https://github.com/postgrespro/testgres
6
6
  Author: Postgres Professional
@@ -9,3 +9,11 @@ License: PostgreSQL
9
9
  Keywords: pg_probackup,testing,testgres
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: testgres>=1.9.2
12
+ Dynamic: author
13
+ Dynamic: author-email
14
+ Dynamic: description-content-type
15
+ Dynamic: home-page
16
+ Dynamic: keywords
17
+ Dynamic: license
18
+ Dynamic: requires-dist
19
+ Dynamic: summary
@@ -172,6 +172,10 @@ class Init(object):
172
172
  self.ptrack = test_env.get('PG_PROBACKUP_PTRACK', None) == 'ON' and self.pg_config_version >= 110000
173
173
  self.wal_tree_enabled = test_env.get('PG_PROBACKUP_WAL_TREE_ENABLED', None) == 'ON'
174
174
 
175
+ self.bckp_source = test_env.get('PG_PROBACKUP_SOURCE', 'pro').lower()
176
+ if self.bckp_source not in ('base', 'direct', 'pro'):
177
+ raise Exception("Wrong PG_PROBACKUP_SOURCE value. Available options: base|direct|pro")
178
+
175
179
  self.paranoia = test_env.get('PG_PROBACKUP_PARANOIA', None) == 'ON'
176
180
  env_compress = test_env.get('ARCHIVE_COMPRESSION', None)
177
181
  if env_compress:
@@ -4,7 +4,7 @@ except ImportError:
4
4
  from distutils.core import setup
5
5
 
6
6
  setup(
7
- version='0.0.4',
7
+ version='0.0.5',
8
8
  name='testgres_pg_probackup2',
9
9
  packages=['pg_probackup2', 'pg_probackup2.storage'],
10
10
  description='Plugin for testgres that manages pg_probackup2',
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: testgres_pg_probackup2
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Summary: Plugin for testgres that manages pg_probackup2
5
5
  Home-page: https://github.com/postgrespro/testgres
6
6
  Author: Postgres Professional
@@ -9,3 +9,11 @@ License: PostgreSQL
9
9
  Keywords: pg_probackup,testing,testgres
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: testgres>=1.9.2
12
+ Dynamic: author
13
+ Dynamic: author-email
14
+ Dynamic: description-content-type
15
+ Dynamic: home-page
16
+ Dynamic: keywords
17
+ Dynamic: license
18
+ Dynamic: requires-dist
19
+ Dynamic: summary