mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-05 16:18:02 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
196acd0aca | ||
|
|
679ac841f6 | ||
|
|
b864218b44 |
@@ -1,9 +1,16 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
0.27.0 (2020-01-21)
|
0.28.0 (2020-02-03)
|
||||||
-------------------
|
-------------------
|
||||||
------------------------
|
------------------------
|
||||||
|
- Remove deprecated (and removed) git lfs flags. [smiley]
|
||||||
|
|
||||||
|
"--tags" and "--force" were removed at some point from "git lfs fetch". This broke our backup script.
|
||||||
|
|
||||||
|
|
||||||
|
0.27.0 (2020-01-22)
|
||||||
|
-------------------
|
||||||
- Fixed script fails if not installed from pip. [Ben Baron]
|
- Fixed script fails if not installed from pip. [Ben Baron]
|
||||||
|
|
||||||
At the top of the script, the line from github_backup import __version__ gets the script's version number to use if the script is called with the -v or --version flags. The problem is that if the script hasn't been installed via pip (for example I cloned the repo directly to my backup server), the script will fail due to an import exception.
|
At the top of the script, the line from github_backup import __version__ gets the script's version number to use if the script is called with the -v or --version flags. The problem is that if the script hasn't been installed via pip (for example I cloned the repo directly to my backup server), the script will fail due to an import exception.
|
||||||
|
|||||||
@@ -1036,7 +1036,7 @@ def fetch_repository(name,
|
|||||||
logging_subprocess(git_command, None, cwd=local_dir)
|
logging_subprocess(git_command, None, cwd=local_dir)
|
||||||
|
|
||||||
if lfs_clone:
|
if lfs_clone:
|
||||||
git_command = ['git', 'lfs', 'fetch', '--all', '--force', '--tags', '--prune']
|
git_command = ['git', 'lfs', 'fetch', '--all', '--prune']
|
||||||
else:
|
else:
|
||||||
git_command = ['git', 'fetch', '--all', '--force', '--tags', '--prune']
|
git_command = ['git', 'fetch', '--all', '--force', '--tags', '--prune']
|
||||||
logging_subprocess(git_command, None, cwd=local_dir)
|
logging_subprocess(git_command, None, cwd=local_dir)
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = '0.27.0'
|
__version__ = '0.28.0'
|
||||||
|
|||||||
Reference in New Issue
Block a user