Skip to content

Commit da3d1eb

Browse files
authored
Merge pull request #112 from moremoban/config-as-requires
Configuration file in required dependencies
2 parents 7d357b7 + c0a228f commit da3d1eb

File tree

15 files changed

+62
-29
lines changed

15 files changed

+62
-29
lines changed

.moban.cd/changelog.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: moban
22
organisation: moremoban
33
releases:
4+
- changes:
5+
- action: Added
6+
details:
7+
- "`requires` shall support configuration dirs. In other words, configuration file could be stored in python package or git repository."
8+
date: unreleased
9+
version: 0.3.2
410
- changes:
511
- action: Added
612
details:

.moban.cd/moban.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ organisation: moremoban
33
author: C. W.
44
55
license: MIT
6-
version: 0.3.1
7-
current_version: 0.3.1
6+
version: 0.3.2
7+
current_version: 0.3.2
88
release: 0.3.1
99
branch: master
1010
command_line_interface: "moban"

CHANGELOG.rst

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

4+
0.3.2 - unreleased
5+
--------------------------------------------------------------------------------
6+
7+
Added
8+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9+
10+
#. `requires` shall support configuration dirs. In other words, configuration
11+
file could be stored in python package or git repository.
12+
413
0.3.1 - 02-11-2018
514
--------------------------------------------------------------------------------
615

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# The short X.Y version
3131
version = u'0.3.1'
3232
# The full version, including alpha/beta/rc tags
33-
release = u'0.3.1'
33+
release = u'0.3.2'
3434

3535

3636
# -- General configuration ---------------------------------------------------

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ examples folder.
2424
level-7-use-custom-jinja2-filter-test-n-global/README.rst
2525
level-8-pass-a-folder-full-of-templates/README.rst
2626
level-9-moban-dependency-as-pypi-package/README.rst
27+
level-10-moban-dependency-as-git-repo/README.rst
2728

2829
In pratice, the following use cases were found interesting to go along with.
2930

docs/level-10-moban-dependency-as-git-repo/.moban.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ configuration:
55
- "pypi-mobans:templates"
66
- local
77
configuration: config.yml
8+
configuration_dir: "pypi-mobans:config"
89
targets:
910
- mytravis.yml: travis.yml.jj2
1011
- test.txt: demo.txt.jj2
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
overrides: data.yml
12
level10: "moban dependency as git repo"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{{level10}}
1+
{{name}}: {{level10}}

docs/level-9-moban-dependency-as-pypi-package/.moban.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ configuration:
55
- "pypi-mobans-pkg:templates"
66
- local
77
configuration: config.yml
8+
configuration_dir: "pypi-mobans-pkg:config"
89
targets:
910
- mytravis.yml: travis.yml.jj2
1011
- test.txt: demo.txt.jj2
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
overrides: data.yml
12
level9: "moban dependency as pypi package"

0 commit comments

Comments
 (0)