-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from moremoban/dev
release 0.0.4 - get a list of all contributors of a git repo
- Loading branch information
Showing
36 changed files
with
635 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# These are supported funding model platforms | ||
|
||
github: chfw | ||
patreon: chfw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: [push] | ||
|
||
jobs: | ||
run_moban: | ||
runs-on: ubuntu-latest | ||
name: synchronize templates via moban | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.7' | ||
- name: check changes | ||
run: | | ||
pip install moban gitfs2 pypifs | ||
moban | ||
git status | ||
git diff --exit-code | ||
- name: Auto-commit | ||
if: failure() | ||
uses: docker://cdssnc/auto-commit-github-action | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
args: This is an auto-commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install setuptools wheel twine | ||
- name: Build and publish | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
twine upload dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[settings] | ||
line_length=79 | ||
# Ignore generated files | ||
skip=setup.py, moban/__init__.py | ||
known_third_party=crayons, requests, mock, nose | ||
indent=' ' | ||
multi_line_output=3 | ||
length_sort=1 | ||
include_trailing_comma=true | ||
default_section=FIRSTPARTY | ||
no_lines_before=LOCALFOLDER | ||
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
Change log | ||
=========== | ||
================================================================================ | ||
|
||
v0.0.3 - 25.11.2017 | ||
0.0.4 - 21.08.2020 | ||
-------------------------------------------------------------------------------- | ||
|
||
added | ||
******************************************************************************** | ||
**Added** | ||
|
||
#. `issue 1<https://github.com/moremoban/gease/issues/1>`_, release repos of the | ||
#. get contributors of a github repo | ||
|
||
0.0.3 - 25.11.2017 | ||
-------------------------------------------------------------------------------- | ||
|
||
**Added** | ||
|
||
#. `#1 <https://github.com/moremoban/gease/issues/1>`_: release repos of the | ||
organisation that you belong to. | ||
|
||
v0.0.2 - 15.10.2017 | ||
0.0.2 - 15.10.2017 | ||
-------------------------------------------------------------------------------- | ||
|
||
updated | ||
******************************************************************************** | ||
**Added** | ||
|
||
#. quit with -1 if github responds with error | ||
|
||
|
||
v0.0.1 - 13.10.2017 | ||
0.0.1 - 13.10.2017 | ||
-------------------------------------------------------------------------------- | ||
|
||
First release. Make a release from command line | ||
**Added** | ||
|
||
#. First release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
all: test | ||
|
||
test: | ||
test: lint | ||
bash test.sh | ||
|
||
document: | ||
bash document.sh | ||
install_test: | ||
pip install -r tests/requirements.txt | ||
|
||
git-diff-check: | ||
git diff --exit-code | ||
|
||
lint: | ||
bash lint.sh | ||
|
||
format: | ||
bash format.sh | ||
|
||
git-diff-check: | ||
git diff --exit-code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: gease | ||
organisation: moremoban | ||
releases: | ||
- changes: | ||
- action: Added | ||
details: | ||
- get contributors of a github repo | ||
date: 21.08.2020 | ||
version: 0.0.4 | ||
- changes: | ||
- action: Added | ||
details: | ||
- "`#1`: release repos of the organisation that you belong to." | ||
date: 25.11.2017 | ||
version: 0.0.3 | ||
- changes: | ||
- action: Added | ||
details: | ||
- quit with -1 if github responds with error | ||
date: 15.10.2017 | ||
version: 0.0.2 | ||
- changes: | ||
- action: Added | ||
details: | ||
- First release. | ||
date: 13.10.2017 | ||
version: 0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
isort $(find gease -name "*.py"|xargs echo) $(find tests -name "*.py"|xargs echo) | ||
black -l 79 gease | ||
black -l 79 tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
# flake8: noqa | ||
from gease._version import __version__ | ||
from gease._version import __author__ | ||
from gease._version import __author__, __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
__version__ = '0.0.3' | ||
__version__ = '0.0.4' | ||
__author__ = 'C. W.' | ||
__description__ = 'simply makes a git release using github api v3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
DEFAULT_GEASE_FILE_NAME = '.gease' | ||
DEFAULT_GEASE_FILE_NAME = ".gease" | ||
DEFAULT_RELEASE_MESSAGE = "A new release via gease." | ||
NOT_ENOUGH_ARGS = 'Not enough arguments' | ||
KEY_GEASE_USER = 'user' | ||
KEY_GEASE_TOKEN = 'personal_access_token' | ||
MESSAGE_FMT_RELEASED = 'Release is created at: %s' | ||
NOT_ENOUGH_ARGS = "Not enough arguments" | ||
KEY_GEASE_USER = "user" | ||
KEY_GEASE_TOKEN = "personal_access_token" | ||
MESSAGE_FMT_RELEASED = "Release is created at: %s" |
Oops, something went wrong.