| 1 |
# vim: set ft=python ts=4 sw=4 expandtab: |
| 2 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
| 3 |
# |
| 4 |
# C E D A R |
| 5 |
# S O L U T I O N S "Software done right." |
| 6 |
# S O F T W A R E |
| 7 |
# |
| 8 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
| 9 |
# |
| 10 |
# Author : Kenneth J. Pronovici <[email protected]> |
| 11 |
# Language : Python 3 |
| 12 |
# Project : Cedar Backup, release 3 |
| 13 |
# Purpose : Provides common constants used by standard actions. |
| 14 |
# |
| 15 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
| 16 |
|
| 17 |
######################################################################## |
| 18 |
# Module documentation |
| 19 |
######################################################################## |
| 20 |
|
| 21 |
""" |
| 22 |
Provides common constants used by standard actions. |
| 23 |
:author: Kenneth J. Pronovici <[email protected]> |
| 24 |
""" |
| 25 |
|
| 26 |
######################################################################## |
| 27 |
# Module-wide constants and variables |
| 28 |
######################################################################## |
| 29 |
|
| 30 |
DIR_TIME_FORMAT = "%Y/%m/%d" |
| 31 |
DIGEST_EXTENSION = "sha" |
| 32 |
|
| 33 |
INDICATOR_PATTERN = [r"cback\..*"] |
| 34 |
COLLECT_INDICATOR = "cback.collect" |
| 35 |
STAGE_INDICATOR = "cback.stage" |
| 36 |
STORE_INDICATOR = "cback.store" |