Skip to content

Commit d76e85a

Browse files
authored
Merge pull request #151 from moremoban/dev
release 0.1.0
2 parents 5c114e0 + 405157a commit d76e85a

20 files changed

+238
-5
lines changed

.github/workflows/moban-update.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
on: [push]
2+
3+
jobs:
4+
run_moban:
5+
runs-on: ubuntu-latest
6+
name: synchronize templates via moban
7+
steps:
8+
- uses: actions/checkout@v2
9+
with:
10+
ref: ${{ github.head_ref }}
11+
- name: Set up Python
12+
uses: actions/setup-python@v1
13+
with:
14+
python-version: '3.7'
15+
- name: check changes
16+
run: |
17+
pip install moban gitfs2 pypifs moban-jinja2-github moban-ansible
18+
make upstreaming
19+
git status
20+
git diff --exit-code
21+
- name: Auto-commit
22+
if: failure()
23+
uses: docker://cdssnc/auto-commit-github-action
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
with:
27+
args: >-
28+
This is an auto-commit, updating project meta data,
29+
such as changelog.rst, contributors.rst

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ stages:
2727
env:
2828
- MINREQ=0
2929
stage: moban
30-
install: pip install moban>=0.0.4 gitfs2 pypifs
30+
install: pip install moban gitfs2 pypifs moban-jinja2-github moban-ansible
3131
script: make upstreaming git-diff-check
3232

3333
jobs:

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.1.0 - 13.09.20220
5+
--------------------------------------------------------------------------------
6+
7+
**added**
8+
9+
#. new project starter kits is relocated from yehua here
10+
411
0.0.12 - 26.08.20220
512
--------------------------------------------------------------------------------
613

changelog.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: pypi-mobans
22
organisation: moremoban
33
releases:
4+
- changes:
5+
- action: added
6+
details:
7+
- "new project starter kits is relocated from yehua here"
8+
date: 13.09.20220
9+
version: 0.1.0
410
- changes:
511
- action: added
612
details:

new-project/static/CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Change log
2+
===========

new-project/static/CUSTOM_README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{% extends 'README.rst.jj2' %}
2+
3+
{%block documentation_link%}
4+
.. image:: https://dev.azure.com/{{organisation}}/{{name}}/_apis/build/status/{{organisation}}.{{name}}?branchName=master
5+
:target: https://dev.azure.com/{{organisation}}/{{name}}/_build/latest?definitionId=2&branchName=master
6+
{%endblock%}

new-project/static/MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include README.rst
2+
include CHANGELOG.rst
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "setup.py.jj2" %}

new-project/static/setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
universal = 1
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% extends "tests/requirements.txt.jj2" %}
2+
3+
{%block extras %}
4+
moban
5+
black;python_version>="3.6"
6+
isort;python_version>="3.6"
7+
{%endblock%}

0 commit comments

Comments
 (0)