mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-06 00:28:01 +01:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b9549ffde | ||
|
|
fb2c3ca921 | ||
|
|
4f4785085d | ||
|
|
76895dcf69 | ||
|
|
1d50a4038b | ||
|
|
9d31ccfba9 | ||
|
|
27a1ba2d04 |
@@ -1,6 +1,13 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
0.15.0 (2017-12-11)
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
- Fix arg not defined error. [Edward Pfremmer]
|
||||||
|
|
||||||
|
Ref: https://github.com/josegonzalez/python-github-backup/issues/69
|
||||||
|
|
||||||
0.14.0 (2017-10-11)
|
0.14.0 (2017-10-11)
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
|||||||
@@ -69,11 +69,15 @@ def logging_subprocess(popenargs,
|
|||||||
"""
|
"""
|
||||||
child = subprocess.Popen(popenargs, stdout=subprocess.PIPE,
|
child = subprocess.Popen(popenargs, stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE, **kwargs)
|
stderr=subprocess.PIPE, **kwargs)
|
||||||
|
if sys.platform == 'win32':
|
||||||
|
log_info("Windows operating system detected - no subprocess logging will be returned")
|
||||||
|
|
||||||
log_level = {child.stdout: stdout_log_level,
|
log_level = {child.stdout: stdout_log_level,
|
||||||
child.stderr: stderr_log_level}
|
child.stderr: stderr_log_level}
|
||||||
|
|
||||||
def check_io():
|
def check_io():
|
||||||
|
if sys.platform == 'win32':
|
||||||
|
return
|
||||||
ready_to_read = select.select([child.stdout, child.stderr],
|
ready_to_read = select.select([child.stdout, child.stderr],
|
||||||
[],
|
[],
|
||||||
[],
|
[],
|
||||||
@@ -552,7 +556,7 @@ def backup_repositories(args, output_directory, repositories):
|
|||||||
repo_dir,
|
repo_dir,
|
||||||
skip_existing=args.skip_existing,
|
skip_existing=args.skip_existing,
|
||||||
bare_clone=args.bare_clone,
|
bare_clone=args.bare_clone,
|
||||||
lfs_clone=arg.lfs_clone)
|
lfs_clone=args.lfs_clone)
|
||||||
|
|
||||||
download_wiki = (args.include_wiki or args.include_everything)
|
download_wiki = (args.include_wiki or args.include_everything)
|
||||||
if repository['has_wiki'] and download_wiki:
|
if repository['has_wiki'] and download_wiki:
|
||||||
@@ -561,7 +565,7 @@ def backup_repositories(args, output_directory, repositories):
|
|||||||
os.path.join(repo_cwd, 'wiki'),
|
os.path.join(repo_cwd, 'wiki'),
|
||||||
skip_existing=args.skip_existing,
|
skip_existing=args.skip_existing,
|
||||||
bare_clone=args.bare_clone,
|
bare_clone=args.bare_clone,
|
||||||
lfs_clone=arg.lfs_clone)
|
lfs_clone=args.lfs_clone)
|
||||||
|
|
||||||
if args.include_issues or args.include_everything:
|
if args.include_issues or args.include_everything:
|
||||||
backup_issues(args, repo_cwd, repository, repos_template)
|
backup_issues(args, repo_cwd, repository, repos_template)
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = '0.14.0'
|
__version__ = '0.15.0'
|
||||||
|
|||||||
Reference in New Issue
Block a user