mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-05 16:18:02 +01:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
943e84e3d9 | ||
|
|
0c924c3158 | ||
|
|
f62c4eaf8b | ||
|
|
a53d7f6849 | ||
|
|
4e571d0735 | ||
|
|
5a71bc5e5a | ||
|
|
794ccf3996 |
44
CHANGES.rst
44
CHANGES.rst
@@ -1,10 +1,48 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
0.37.1 (2021-01-01)
|
0.38.0 (2021-02-13)
|
||||||
-------------------
|
-------------------
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
Fix
|
||||||
|
~~~
|
||||||
|
- Always clone with OAuth token when provided. [Samantha Baldwin]
|
||||||
|
|
||||||
|
Github Enterprise servers with 'Anonymous Git read access' disabled
|
||||||
|
cause `git ls-remote` to fail (128) for a repo's `clone_url`. Using the
|
||||||
|
OAuth token when provided allows cloning private AND public repos when
|
||||||
|
Anonymous Git read access is disabled.
|
||||||
|
|
||||||
|
Other
|
||||||
|
~~~~~
|
||||||
|
- Merge pull request #172 from samanthaq/always-use-oauth-when-provided.
|
||||||
|
[Jose Diaz-Gonzalez]
|
||||||
|
|
||||||
|
fix: Always clone with OAuth token when provided
|
||||||
|
- Merge pull request #170 from Mindavi/bugfix/broken-url. [Jose Diaz-
|
||||||
|
Gonzalez]
|
||||||
|
|
||||||
|
Fix broken and incorrect link to github repository
|
||||||
|
- Change broken link to a fork to a working link to upstream. [Rick van
|
||||||
|
Schijndel]
|
||||||
|
|
||||||
|
|
||||||
|
0.37.2 (2021-01-02)
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
Fix
|
||||||
|
~~~
|
||||||
|
- Use distutils.core on error. [Jose Diaz-Gonzalez]
|
||||||
|
|
||||||
|
Other
|
||||||
|
~~~~~
|
||||||
|
- Release version 0.37.2. [Jose Diaz-Gonzalez]
|
||||||
|
|
||||||
|
|
||||||
|
0.37.1 (2021-01-02)
|
||||||
|
-------------------
|
||||||
|
|
||||||
Fix
|
Fix
|
||||||
~~~
|
~~~
|
||||||
- Use twine for releases. [Jose Diaz-Gonzalez]
|
- Use twine for releases. [Jose Diaz-Gonzalez]
|
||||||
@@ -18,6 +56,10 @@ Fix
|
|||||||
- Set long description type
|
- Set long description type
|
||||||
- Gitignore the temporary readme file
|
- Gitignore the temporary readme file
|
||||||
|
|
||||||
|
Other
|
||||||
|
~~~~~
|
||||||
|
- Release version 0.37.1. [Jose Diaz-Gonzalez]
|
||||||
|
|
||||||
|
|
||||||
0.37.0 (2021-01-02)
|
0.37.0 (2021-01-02)
|
||||||
-------------------
|
-------------------
|
||||||
|
|||||||
@@ -178,4 +178,4 @@ This project currently contains no unit tests. To run linting::
|
|||||||
.. |PyPI| image:: https://img.shields.io/pypi/v/github-backup.svg
|
.. |PyPI| image:: https://img.shields.io/pypi/v/github-backup.svg
|
||||||
:target: https://pypi.python.org/pypi/github-backup/
|
:target: https://pypi.python.org/pypi/github-backup/
|
||||||
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/github-backup.svg
|
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/github-backup.svg
|
||||||
:target: https://github.com/albertyw/github-backup
|
:target: https://github.com/josegonzalez/python-github-backup
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = '0.37.1'
|
__version__ = '0.38.0'
|
||||||
|
|||||||
@@ -420,7 +420,7 @@ def get_github_repo_url(args, repository):
|
|||||||
return repository['ssh_url']
|
return repository['ssh_url']
|
||||||
|
|
||||||
auth = get_auth(args, encode=False, for_git_cli=True)
|
auth = get_auth(args, encode=False, for_git_cli=True)
|
||||||
if auth and repository['private'] is True:
|
if auth:
|
||||||
repo_url = 'https://{0}@{1}/{2}/{3}.git'.format(
|
repo_url = 'https://{0}@{1}/{2}/{3}.git'.format(
|
||||||
auth,
|
auth,
|
||||||
get_github_host(args),
|
get_github_host(args),
|
||||||
|
|||||||
18
setup.py
18
setup.py
@@ -1,10 +1,24 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import os
|
import os
|
||||||
from setuptools import setup
|
|
||||||
|
|
||||||
from github_backup import __version__
|
from github_backup import __version__
|
||||||
|
|
||||||
|
try:
|
||||||
|
from setuptools import setup
|
||||||
|
setup # workaround for pyflakes issue #13
|
||||||
|
except ImportError:
|
||||||
|
from distutils.core import setup
|
||||||
|
|
||||||
|
# Hack to prevent stupid TypeError: 'NoneType' object is not callable error on
|
||||||
|
# exit of python setup.py test # in multiprocessing/util.py _exit_function when
|
||||||
|
# running python setup.py test (see
|
||||||
|
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
|
||||||
|
try:
|
||||||
|
import multiprocessing
|
||||||
|
multiprocessing
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def open_file(fname):
|
def open_file(fname):
|
||||||
return open(os.path.join(os.path.dirname(__file__), fname))
|
return open(os.path.join(os.path.dirname(__file__), fname))
|
||||||
|
|||||||
Reference in New Issue
Block a user