Skip to content

Commit b5d6056

Browse files
authored
Merge pull request #8 from moremoban/dev
🥚 🎡 release 0.0.3
2 parents 00da96b + a0dea03 commit b5d6056

19 files changed

+168
-34
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Upload Python Package
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Set up Python
13+
uses: actions/setup-python@v1
14+
with:
15+
python-version: '3.x'
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install setuptools wheel twine
20+
- name: Build and publish
21+
env:
22+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
23+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
24+
run: |
25+
python setup.py sdist bdist_wheel
26+
twine upload dist/*

.moban.d/CUSTOM_README.rst.jj2

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,14 @@ Checkout submodules recursively
4747
Does it write?
4848
--------------------------------------------------------------------------------
4949

50-
Yes locally, it will write as you can do so without using gitfs2. And no, it does help
51-
commit and push the changes for you.
50+
Yes locally, it will write as you can do so without using gitfs2. And no, it
51+
does not help commit and push the changes for you.
5252

5353
Plus, the intention is never to write to a repository.
5454

55+
License
56+
--------------------------------------------------------------------------------
57+
58+
MIT
5559

5660
{% endblock %}

.moban.d/mit_license.jj2

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) {{copyright_year}} {{company}}
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

.moban.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ targets:
88
- setup.py: custom_setup.py.jj2
99
- requirements.txt: requirements.txt.jj2
1010
- "tests/requirements.txt": "tests/custom_requirements.txt.jj2"
11-
- "docs/source/conf.py": "docs/conf.py_t"
1211
- "gitfs2/_version.py": "_version.py.jj2"
1312
- .gitignore: gitignore.jj2
1413
- .travis.yml: travis.yml.jj2
@@ -17,3 +16,4 @@ targets:
1716
configuration: changelog.yml
1817
template: CHANGELOG.rst.jj2
1918
- lint.sh: lint.script.jj2
19+
- LICENSE: mit_license.jj2

CHANGELOG.rst

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
Change log
22
================================================================================
33

4+
0.0.3 - 11.12.2019
5+
--------------------------------------------------------------------------------
6+
7+
**Added**
8+
9+
#. `#5 <https://github.com/moremoban/gitfs2/issues/5>`_: support offline
10+
#. `#7 <https://github.com/moremoban/gitfs2/issues/7>`_: add license text
11+
412
0.0.2 - 2.10.2019
513
--------------------------------------------------------------------------------
614

7-
Fix
8-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15+
**Fixed**
916

1017
#. `#4 <https://github.com/moremoban/gitfs2/issues/4>`_: failed to checkout more
1118
than one git repo.
1219

1320
0.0.1 - 19.08.2019
1421
--------------------------------------------------------------------------------
1522

16-
first release
17-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23+
**first release**
1824

1925
#. what a feat!

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2019 moban dev team
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
include README.rst
22
include CHANGELOG.rst
3+
include LICENSE
4+

README.rst

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ gitfs2
88
.. image:: https://codecov.io/github/moremoban/gitfs2/coverage.png
99
:target: https://codecov.io/github/moremoban/gitfs2
1010

11+
.. image:: https://badge.fury.io/py/gitfs2.svg
12+
:target: https://pypi.org/project/gitfs2
13+
14+
.. image:: https://pepy.tech/badge/gitfs2/month
15+
:target: https://pepy.tech/project/gitfs2/month
16+
1117

1218
.. image:: https://dev.azure.com/moremoban/gitfs2/_apis/build/status/moremoban.gitfs2?branchName=master
1319
:target: https://dev.azure.com/moremoban/gitfs2/_build/latest?definitionId=2&branchName=master
@@ -28,7 +34,7 @@ Get a file inside a python package
2834
>>> import fs
2935
>>> git_fs = fs.open_fs("git://github.com/moremobans/pypi-mobans.git!/templates")
3036
>>> git_fs.readtext("_version.py.jj2")
31-
'__version__ = "0.0.2"\n__author__ = "C.W."\n'
37+
'__version__ = "0.0.3"\n__author__ = "C.W."\n'
3238
3339
3440
Get from a different branch
@@ -39,7 +45,7 @@ Get from a different branch
3945
>>> import fs
4046
>>> git_fs = fs.open_fs("git://github.com/moremobans/pypi-mobans.git?branch=master!/templates")
4147
>>> git_fs.read("_version.py.jj2")
42-
'__version__ = "0.0.2"\n__author__ = "C.W."\n'
48+
'__version__ = "0.0.3"\n__author__ = "C.W."\n'
4349
4450
4551
Checkout submodules recursively
@@ -53,11 +59,15 @@ Checkout submodules recursively
5359
Does it write?
5460
--------------------------------------------------------------------------------
5561

56-
Yes locally, it will write as you can do so without using gitfs2. And no, it does help
57-
commit and push the changes for you.
62+
Yes locally, it will write as you can do so without using gitfs2. And no, it
63+
does not help commit and push the changes for you.
5864

5965
Plus, the intention is never to write to a repository.
6066

67+
License
68+
--------------------------------------------------------------------------------
69+
70+
MIT
6171

6272

6373
Installation

changelog.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@ name: gitfs2
22
organisation: moremoban
33
releases:
44
- changes:
5-
- action: Fix
5+
- action: Added
6+
details:
7+
- "`#5`: support offline"
8+
- "`#7`: add license text"
9+
version: 0.0.3
10+
date: 11.12.2019
11+
- changes:
12+
- action: Fixed
613
details:
714
- "`#4`: failed to checkout more than one git repo."
815
version: 0.0.2

docs/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# This file only contains a selection of the most common options. For a full
44
# list see the documentation:
5-
# http://www.sphinx-doc.org/en/master/config
5+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
66

77
# -- Path setup --------------------------------------------------------------
88

@@ -20,9 +20,9 @@
2020
copyright = ''
2121
author = 'C.W.'
2222
# The short X.Y version
23-
version = '0.0.2'
23+
version = '0.0.3'
2424
# The full version, including alpha/beta/rc tags
25-
release = '0.0.2'
25+
release = '0.0.3'
2626

2727
# -- General configuration ---------------------------------------------------
2828

0 commit comments

Comments
 (0)