Skip to content

Commit 25997c6

Browse files
committed
update documentation and get ready for a quick fix
1 parent b70d427 commit 25997c6

File tree

9 files changed

+43
-14
lines changed

9 files changed

+43
-14
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,3 +540,7 @@ cscope.files
540540
cscope.out
541541
cscope.in.out
542542
cscope.po.out
543+
544+
545+
# remove moban hash dictionary
546+
.moban.hashes

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Change log
22
================================================================================
33

4+
0.0.4 - 10.11.2024
5+
--------------------------------------------------------------------------------
6+
7+
**Added**
8+
9+
#. fix github protocol timeout problem
10+
411
0.0.3 - 11.12.2019
512
--------------------------------------------------------------------------------
613

README.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,17 @@ gitfs2
1111
:target: https://pypi.org/project/gitfs2
1212

1313
.. image:: https://pepy.tech/badge/gitfs2/month
14-
:target: https://pepy.tech/project/gitfs2/month
14+
:target: https://pepy.tech/project/gitfs2
1515

1616
.. image:: https://img.shields.io/github/stars/moremoban/gitfs2.svg?style=social&maxAge=3600&label=Star
1717
:target: https://github.com/moremoban/gitfs2/stargazers
1818

19+
.. image:: https://img.shields.io/static/v1?label=continuous%20templating&message=%E6%A8%A1%E7%89%88%E6%9B%B4%E6%96%B0&color=blue&style=flat-square
20+
:target: https://moban.readthedocs.io/en/latest/#at-scale-continous-templating-for-open-source-projects
21+
22+
.. image:: https://img.shields.io/static/v1?label=coding%20style&message=black&color=black&style=flat-square
23+
:target: https://github.com/psf/black
24+
1925
.. image:: https://dev.azure.com/moremoban/gitfs2/_apis/build/status/moremoban.gitfs2?branchName=master
2026
:target: https://dev.azure.com/moremoban/gitfs2/_build/latest?definitionId=2&branchName=master
2127

@@ -35,7 +41,7 @@ Get a file inside a python package
3541
>>> import fs
3642
>>> git_fs = fs.open_fs("git://github.com/moremobans/pypi-mobans.git!/templates")
3743
>>> git_fs.readtext("_version.py.jj2")
38-
'__version__ = "0.0.3"\n__author__ = "C.W."\n'
44+
'__version__ = "0.0.4"\n__author__ = "C.W."\n'
3945
4046
4147
Get from a different branch
@@ -46,7 +52,7 @@ Get from a different branch
4652
>>> import fs
4753
>>> git_fs = fs.open_fs("git://github.com/moremobans/pypi-mobans.git?branch=master!/templates")
4854
>>> git_fs.read("_version.py.jj2")
49-
'__version__ = "0.0.3"\n__author__ = "C.W."\n'
55+
'__version__ = "0.0.4"\n__author__ = "C.W."\n'
5056
5157
5258
Checkout submodules recursively

changelog.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: gitfs2
22
organisation: moremoban
33
releases:
4+
- changes:
5+
- action: Added
6+
details:
7+
- "fix github protocol timeout problem"
8+
version: 0.0.4
9+
date: 10.11.2024
410
- changes:
511
- action: Added
612
details:

gitfs2.yml

Lines changed: 3 additions & 3 deletions
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.3"
7-
current_version: "0.0.3"
8-
release: "0.0.3"
6+
version: "0.0.4"
7+
current_version: "0.0.4"
8+
release: "0.0.4"
99
copyright_year: 2019
1010
license: MIT
1111
dependencies:

gitfs2/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "0.0.3"
1+
__version__ = "0.0.4"
22
__author__ = "C.W."

lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pip install flake8
2-
flake8 . --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long
2+
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs

setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
NAME = "gitfs2"
3434
AUTHOR = "C.W."
35-
VERSION = "0.0.3"
35+
VERSION = "0.0.4"
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.3.tar.gz" % URL
47+
DOWNLOAD_URL = "%s/archive/0.0.4.tar.gz" % URL
4848
FILES = ["README.rst", "CHANGELOG.rst"]
4949
KEYWORDS = [
5050
"python",
@@ -79,13 +79,14 @@
7979
}
8080
# You do not need to read beyond this line
8181
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
82-
GS_COMMAND = ("gs gitfs2 v0.0.3 " +
83-
"Find 0.0.3 in changelog for more details")
82+
HERE = os.path.abspath(os.path.dirname(__file__))
83+
84+
GS_COMMAND = ("gease gitfs2 v0.0.4 " +
85+
"Find 0.0.4 in changelog for more details")
8486
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
8587
"Please install gease to enable it.")
8688
UPLOAD_FAILED_MSG = (
8789
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND)
88-
HERE = os.path.abspath(os.path.dirname(__file__))
8990

9091

9192
class PublishCommand(Command):
@@ -131,7 +132,6 @@ def run(self):
131132
"publish": PublishCommand
132133
})
133134

134-
135135
def has_gease():
136136
"""
137137
test if github release command is installed

tests/requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ mock;python_version<"3"
33
codecov
44
coverage
55
flake8
6+
black
7+
isort
8+
collective.checkdocs
9+
pygments
10+
moban
11+
moban_jinja2_github
612
moban
713
black;python_version>="3.6"
814
isort;python_version>="3.6"

0 commit comments

Comments
 (0)