blob: a2d0ba07dabcd20f35315d0667be5ca6d6c9f07c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# The basic workflow is like this:
# git rsync
# [remote git] <-> [local git] <-> [local storage]
#
# If action PULL is specified:
# 1. git pull from remote repo
# 2. rsync local repo to local storage
#
# If action PUSH is specified:
# 1. rsync from local storage to local repo
# 2. git push to remote repo
# Pull config files from git repo
import git
def repo_pull():
pass
# Push config files to git repo
def repo_push():
pass
# Pull config files from local storage to be pushed to repo
def local_pull():
pass
# Push config pulled from repo to local storage
def local_push():
pass
|