Skip to content

Commit f4196b9

Browse files
committed
fix git clone time out problem
1 parent 1687b0d commit f4196b9

File tree

8 files changed

+28
-14
lines changed

8 files changed

+28
-14
lines changed

.github/workflows/pythonpublish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
26-
pip install setuptools wheel twine
26+
pip install setuptools wheel
2727
- name: Build
2828
run: |
2929
python setup.py sdist bdist_wheel

CHANGELOG.rst

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
Change log
22
================================================================================
33

4-
0.0.4 - 10.11.2024
4+
0.0.5 - 09.11.2024
5+
--------------------------------------------------------------------------------
6+
7+
**Added**
8+
9+
#. `#12 <https://github.com/moremoban/gitfs2/issues/12>`_:fix github protocol
10+
timeout problem
11+
12+
0.0.4 - 11.10.2024
513
--------------------------------------------------------------------------------
614

715
**Added**

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Get a file inside a python package
4141
>>> import fs
4242
>>> git_fs = fs.open_fs("git://github.com/moremobans/pypi-mobans.git!/templates")
4343
>>> git_fs.readtext("_version.py.jj2")
44-
'__version__ = "0.0.4"\n__author__ = "C.W."\n'
44+
'__version__ = "0.0.5"\n__author__ = "C.W."\n'
4545
4646
4747
Get from a different branch
@@ -52,7 +52,7 @@ Get from a different branch
5252
>>> import fs
5353
>>> git_fs = fs.open_fs("git://github.com/moremobans/pypi-mobans.git?branch=master!/templates")
5454
>>> git_fs.read("_version.py.jj2")
55-
'__version__ = "0.0.4"\n__author__ = "C.W."\n'
55+
'__version__ = "0.0.5"\n__author__ = "C.W."\n'
5656
5757
5858
Checkout submodules recursively

changelog.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
name: gitfs2
22
organisation: moremoban
33
releases:
4+
- changes:
5+
- action: Added
6+
details:
7+
- "`#12`:fix github protocol timeout problem"
8+
version: 0.0.5
9+
date: 09.11.2024
410
- changes:
511
- action: Added
612
details:
713
- "`#12`:fix github protocol timeout problem"
814
version: 0.0.4
9-
date: 10.11.2024
15+
date: 11.10.2024
1016
- changes:
1117
- action: Added
1218
details:

gitfs2.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ organisation: "moremoban"
33
author: "C.W."
44
55
company: "moban dev team"
6-
version: "0.0.4"
7-
current_version: "0.0.4"
8-
release: "0.0.4"
6+
version: "0.0.5"
7+
current_version: "0.0.5"
8+
release: "0.0.5"
99
copyright_year: 2019
1010
license: MIT
1111
dependencies:

gitfs2/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "0.0.4"
1+
__version__ = "0.0.5"
22
__author__ = "C.W."

gitfs2/repo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class GitRequire(object):
1616
def __init__(
1717
self, git_url=None, branch=None, submodule="False", reference=None
1818
):
19-
self.git_url = git_url.replace("git://", "ssh://git@")
19+
self.git_url = git_url.replace("git://", "https://")
2020
self.submodule = convert_submodule(submodule)
2121
self.branch = branch
2222
self.reference = reference

setup.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
NAME = "gitfs2"
3434
AUTHOR = "C.W."
35-
VERSION = "0.0.4"
35+
VERSION = "0.0.5"
3636
3737
LICENSE = "MIT"
3838
ENTRY_POINTS = {
@@ -44,7 +44,7 @@
4444
"Python file system 2 over GitPython"
4545
)
4646
URL = "https://github.com/moremoban/gitfs2"
47-
DOWNLOAD_URL = "%s/archive/0.0.4.tar.gz" % URL
47+
DOWNLOAD_URL = "%s/archive/0.0.5.tar.gz" % URL
4848
FILES = ["README.rst", "CHANGELOG.rst"]
4949
KEYWORDS = [
5050
"python",
@@ -81,8 +81,8 @@
8181
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
8282
HERE = os.path.abspath(os.path.dirname(__file__))
8383

84-
GS_COMMAND = ("gease gitfs2 v0.0.4 " +
85-
"Find 0.0.4 in changelog for more details")
84+
GS_COMMAND = ("gease gitfs2 v0.0.5 " +
85+
"Find 0.0.5 in changelog for more details")
8686
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
8787
"Please install gease to enable it.")
8888
UPLOAD_FAILED_MSG = (

0 commit comments

Comments
 (0)