Skip to content

Commit

Permalink
🥚 🎡 release 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Feb 24, 2018
1 parent abac2fa commit fc1d59a
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 8 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Change log
================================================================================

0.0.3 - 24/02/2018
--------------------------------------------------------------------------------

Added
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

#. To add all files to a git repo is being made optional. The action is
specified in `git-repo-files` under `post-moban` section. This particular
need arises when it is used to scaffold other type of projects such as npm.

0.0.2 - 15/10/2017
--------------------------------------------------------------------------------

Expand Down
6 changes: 6 additions & 0 deletions changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
releases:
- changes:
- action: Added
details:
- "To add all files to a git repo is being made optional. The action is specified in `git-repo-files` under `post-moban` section. This particular need arises when it is used to scaffold other type of projects such as npm."
date: 24/02/2018
version: 0.0.3
- changes:
- action: Added
details:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

project = u'yehua'
copyright = u'2017 Onni Software Ltd.'
version = '0.0.2'
version = '0.0.3'
release = '0.0.3'
exclude_patterns = []
pygments_style = 'sphinx'
Expand Down
5 changes: 5 additions & 0 deletions docs/source/filespec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Here is the sample startup file::
"1. Answser":
- follow_up_keyword: "Follow up question?"
"2. Answer": "N/A"
mobans:
- 'mobans': 'this is optional'
layout:
- tests
- docs:
Expand All @@ -27,3 +29,6 @@ Here is the sample startup file::
static:
- ".moban.d/README.rst": "README.rst"
- "{{project_src}}/__init__.py": __init__.py.jj2
post-moban:
git-repo-files:
- "this_is_optional"
1 change: 0 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
:Source code: http://github.com/moremoban/yehua.git
:Issues: http://github.com/moremoban/yehua/issues
:License: New BSD License
:Development: |release|
:Released: |version|
:Generated: |today|

Expand Down
15 changes: 13 additions & 2 deletions docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The files in this section follows this spec:
- templated_target_file: template.file.in.templates.folder

.. literalinclude:: ../../yehua/resources/yehua.yml
:lines: 31-33
:lines: 33-36

As you can see, **yehua** would expand `project_name` for you.

Expand All @@ -82,7 +82,7 @@ File in this section is simply copied over. Here is the spec::
- relative_file_path: relative_static_file_path_in_static_folder

.. literalinclude:: ../../yehua/resources/yehua.yml
:lines: 34-46
:lines: 37-44


Template files
Expand All @@ -107,3 +107,14 @@ Static files

The static files in yehua/resources/static are copied over by yehua according to
the instruction file.


After all actions
--------------------------------------------------------------------------------

The possible extra actions is `git-repo-files` where you can name the files
to be added to a git repo. Here is a list of default files to be added to
the file repo:

.. literalinclude:: ../../yehua/resources/yehua.yml
:lines: 46-62
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'package.'
)
URL = 'https://github.com/moremoban/yehua'
DOWNLOAD_URL = '%s/archive/0.0.2.tar.gz' % URL
DOWNLOAD_URL = '%s/archive/0.0.3.tar.gz' % URL
FILES = ['README.rst', 'CHANGELOG.rst']
KEYWORDS = [
'python'
Expand Down Expand Up @@ -56,8 +56,8 @@
# You do not need to read beyond this line
PUBLISH_COMMAND = '{0} setup.py sdist bdist_wheel upload -r pypi'.format(
sys.executable)
GS_COMMAND = ('gs yehua v0.0.2 ' +
"Find 0.0.2 in changelog for more details")
GS_COMMAND = ('gs yehua v0.0.3 ' +
"Find 0.0.3 in changelog for more details")
NO_GS_MESSAGE = ('Automatic github release is disabled. ' +
'Please install gease to enable it.')
UPLOAD_FAILED_MSG = (
Expand Down Expand Up @@ -86,6 +86,8 @@ def run(self):
try:
self.status('Removing previous builds...')
rmtree(os.path.join(HERE, 'dist'))
rmtree(os.path.join(HERE, 'build'))
rmtree(os.path.join(HERE, 'yehua.egg-info'))
except OSError:
pass

Expand Down
2 changes: 1 addition & 1 deletion yehua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ contact: "[email protected]"
company: "Onni Software Ltd."
version: "0.0.3"
current_version: "0.0.3"
release: "0.0.2"
release: "0.0.3"
copyright_year: 2017
command_line_interface: "yh"
entry_point: "yehua.main:main"
Expand Down

0 comments on commit fc1d59a

Please sign in to comment.