hockey-blast-common-lib 0.1.44__py3-none-any.whl → 0.1.45__py3-none-any.whl

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.
@@ -14,6 +14,10 @@ export PGPASSWORD=$DB_PASSWORD
14
14
 
15
15
  # Dump the database schema and data
16
16
  pg_dump --username=$DB_USER --host=$DB_HOST --port=$DB_PORT --format=custom --file=$DUMP_FILE $DB_NAME
17
+ if [ $? -ne 0 ]; then
18
+ echo "Error: Database dump failed."
19
+ exit 1
20
+ fi
17
21
 
18
22
  # Compress the backup file
19
23
  gzip -c $DUMP_FILE > $COMPRESSED_DUMP_FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hockey-blast-common-lib
3
- Version: 0.1.44
3
+ Version: 0.1.45
4
4
  Summary: Common library for shared functionality and DB models
5
5
  Author: Pavel Kletskov
6
6
  Author-email: kletskov@gmail.com
@@ -6,8 +6,8 @@ hockey_blast_common_lib/aggregate_referee_stats.py,sha256=FszWLTygddDQNcUgbmevQ-
6
6
  hockey_blast_common_lib/aggregate_skater_stats.py,sha256=FBc6enJNnFXYg7mVPiXssleTA1vZRAXCTFUa-3eOGdo,17199
7
7
  hockey_blast_common_lib/assign_skater_skill.py,sha256=p-0fbodGpM8BCjKHDpxNb7BH2FcIlBsJwON844KNrUY,1817
8
8
  hockey_blast_common_lib/db_connection.py,sha256=HvPxDvOj7j5H85RfslGvHVNevfg7mKCd0syJ6NX21mU,1890
9
- hockey_blast_common_lib/dump_sample_db.sh,sha256=MHPA-Ciod7wsvAlMbRtXFiyajgnEqU1xR59sJQ9UWR0,738
10
- hockey_blast_common_lib/hockey_blast_sample_backup.sql.gz,sha256=-2Bb7gCHENn3iWQtSWv6_WSVPBp8TxhGKRPfRjRoolg,51
9
+ hockey_blast_common_lib/dump_sample_db.sh,sha256=MY3lnzTXBoWd76-ZlZr9nWsKMEVgyRsUn-LZ2d1JWZs,810
10
+ hockey_blast_common_lib/hockey_blast_sample_backup.sql.gz,sha256=_Ye8Pi-TrJTrcLU5WLoOQNNUVQN5jrtojK7vHYc7hBg,1325016
11
11
  hockey_blast_common_lib/models.py,sha256=xne38KwdBDcWvzdLyU6toozqkuatB9wiQhyiQ4xvAgU,16413
12
12
  hockey_blast_common_lib/options.py,sha256=ejwDM2LVzeARlE5UwUNDt2Zzolat7OkXddhOZpzn1bw,823
13
13
  hockey_blast_common_lib/restore_sample_db.sh,sha256=-Bl0QUhJrGtwpPE646AVe3y9vON8hiNdYNoulhi7wgA,1872
@@ -17,7 +17,7 @@ hockey_blast_common_lib/stats_models.py,sha256=NWigeIowIJU6o1Sk1cP08kEy4t594LZpe
17
17
  hockey_blast_common_lib/stats_utils.py,sha256=DXsPO4jw8XsdRUN46TGF_IiBAfz3GCIVBswCGp5ELDk,284
18
18
  hockey_blast_common_lib/utils.py,sha256=Sy5Pk40Tk3gsMrhMsUMlBD7i7jiVZmWLUBc94qI3zOA,5235
19
19
  hockey_blast_common_lib/wsgi.py,sha256=7LGUzioigviJp-EUhSEaQcd4jBae0mxbkyBscQfZhlc,730
20
- hockey_blast_common_lib-0.1.44.dist-info/METADATA,sha256=aPLkaerjW5lrzwEBD5xqfqNfXp1fTolx_iyawCKKMG4,318
21
- hockey_blast_common_lib-0.1.44.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
22
- hockey_blast_common_lib-0.1.44.dist-info/top_level.txt,sha256=wIR4LIkE40npoA2QlOdfCYlgFeGbsHR8Z6r0h46Vtgc,24
23
- hockey_blast_common_lib-0.1.44.dist-info/RECORD,,
20
+ hockey_blast_common_lib-0.1.45.dist-info/METADATA,sha256=sxvZjYcxWuSkFjtonczk4HeXIgzMz3OTbFSeND3mqYI,318
21
+ hockey_blast_common_lib-0.1.45.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
22
+ hockey_blast_common_lib-0.1.45.dist-info/top_level.txt,sha256=wIR4LIkE40npoA2QlOdfCYlgFeGbsHR8Z6r0h46Vtgc,24
23
+ hockey_blast_common_lib-0.1.45.dist-info/RECORD,,