Skip to content

Commit bbe09b2

Browse files
committedJul 2, 2015
Merge branch 'release/1.3.2' into develop
2 parents a0892ec + aadfb63 commit bbe09b2

13 files changed

+66
-29
lines changed
 

‎.eggs/README.txt

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
This directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins.
2+
3+
This directory caches those eggs to prevent repeated downloads.
4+
5+
However, it is safe to delete this directory.
6+

‎.pypt/LICENSE.PyPT

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ commercial (a.k.a. proprietary) license, you must contact me first.
44

55
HOWEVER, the following files must remain under the BSD license:
66

7-
* /.pypt/aursend
87
* /.pypt/commitlog
8+
* /.pypt/ghrel
99
* /.pypt/localegen
10-
* /.pypt/README.PyPT
10+
* /.pypt/PYPT-UPDATE
11+
* /.pypt/README.rst
1112
* /.pypt/LICENSE.PyPT
1213
* /docs/CONTRIBUTING.rst
1314
* /CONTRIBUTING.rst
@@ -17,7 +18,7 @@ HOWEVER, the following files must remain under the BSD license:
1718
The README file for PyPT MAY NOT be relicensed.
1819

1920
The actual license is: (the name may have been replaced by yours if you did the
20-
Getting up to speed in 15 easy steps, it was mine originally, and the
21+
Getting up to speed in 16 easy steps, it was mine originally, and the
2122
version in .pypt/ should reflect that.)
2223

2324
LICENSE

‎.pypt/README.rst

+13-8
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Python Project Template. INSERT TAGLINE HERE.™
55
:Author: Chris Warrick <chris@chriswarrick.com>
66
:Copyright: © 2013-2015, Chris Warrick.
77
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
8-
:Date: 2015-06-29
9-
:Version: 1.1.1
8+
:Date: 2015-06-30
9+
:Version: 1.2.1
1010

1111
.. index: README
1212
.. image:: https://travis-ci.org/Kwpolska/python-project-template.png?branch=master
@@ -48,7 +48,8 @@ The template contains the following files to get you started:
4848
script
4949
* ``__init__.py`` and ``template.py`` files in the Python package directory
5050
* A good-enough ``setup.py`` file
51-
* ``tests.py`` containing some *Is My Python Sane?*-style tests
51+
* ``tests/`` containing some *Is My Python Sane?*-style tests (using ``py.test``)
52+
* An automated global update script (``.pypt/PYPT-UPDATE``)
5253
* Entry points configuration ready to be uncommented
5354
* Addons for Qt users
5455
* PKGBUILDs for the Arch Linux User Repository (AUR)
@@ -63,7 +64,7 @@ The template contains the following files to get you started:
6364
* committing into git, finishing the ``git flow`` release
6465
* creating a GitHub Releases entry
6566

66-
Getting up to speed in 15 easy steps
67+
Getting up to speed in 16 easy steps
6768
====================================
6869

6970
1. Create the repository for the project on GitHub and enable it on Travis CI.
@@ -99,8 +100,8 @@ Getting up to speed in 15 easy steps
99100
1. ``/docs/README.rst`` to ``/README.rst`` and ``/README``
100101
2. ``/docs/CHANGELOG.rst`` to ``/CHANGELOG.rst``
101102

102-
7. Modify ``/.pypt/config``
103-
8. Generate a `GitHub Personal Access Token <https://github.com/settings/tokens>`_ and write it to a ``/.pypt/gh-token`` file
103+
7. Modify ``/.pypt/config``.
104+
8. Generate a `GitHub Personal Access Token <https://github.com/settings/tokens>`_ and write it to a ``/.pypt/gh-token`` file.
104105
9. Customize ``/setup.py`` to your liking. You should pay attention to the
105106
classifiers and the commented parts.
106107
10. Customize ``requirements.txt``.
@@ -123,8 +124,11 @@ Getting up to speed in 15 easy steps
123124
PS. GNU GPL is not a good idea. You can use it, but the world would be
124125
much happier if you did not.
125126

126-
15. Remove ``/.git``, and run the following commands::
127+
15. If you have a ``PYPT-UPDATE`` script, add your new project to the list
128+
there. If not, you may want to copy it from ``.pypt`` and set it up.
129+
16. Run the following commands::
127130

131+
rm -rf .git .pypt/PYPT-UPDATE
128132
source .pypt/config
129133
git init
130134
git remote add origin git@github.com:$GITUSER/$GITREPO
@@ -148,7 +152,8 @@ commercial (a.k.a. proprietary) license, you must contact me first.
148152
* /.pypt/commitlog
149153
* /.pypt/ghrel
150154
* /.pypt/localegen
151-
* /.pypt/README.PyPT
155+
* /.pypt/PYPT-UPDATE
156+
* /.pypt/README.rst
152157
* /.pypt/LICENSE.PyPT
153158
* /docs/CONTRIBUTING.rst
154159
* /CONTRIBUTING.rst

‎CHANGELOG.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
Appendix A. Changelog
33
=====================
44

5-
:Version: 1.3.1
5+
:Version: 1.3.2
6+
7+
1.3.2
8+
* Added two options that should not be used, EVER. Please ignore them.
69

710
1.3.1
811
* Use rq from PyPI instead of GitHub
@@ -22,7 +25,7 @@ Appendix A. Changelog
2225

2326
1.1.0
2427
* Changed hashing mechanism to sha256 + bcrypt.
25-
Hashes will be fixed automatically on first login of each user.
28+
Hashes will be fixed automatically on first login of each user.
2629
* Added ``passlib`` dependency.
2730
* rqworker queue is now named ``coil`` (was ``default``)
2831
* add trailing slashes to all URLs

‎CONTRIBUTING.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Appendix A. Contribution rules
55
:Author: Chris Warrick <chris@chriswarrick.com>
66
:Copyright: © 2015, Chris Warrick.
77
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
8-
:Date: 2015-06-18
9-
:Version: 1.3.1
8+
:Date: 2015-07-02
9+
:Version: 1.3.2
1010

1111
.. index:: contributing
1212

‎README

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
========
2+
Coil CMS
3+
========
4+
5+
Making Nikola accessible for non-programmers, casual users, and all other
6+
people that don’t feel comfortable using the command line.
7+
8+
Setup
9+
-----
10+
11+
Setting up Coil CMS is described in `the documentation <https://coil.readthedocs.org/en/latest/admin/setup/>`_.

‎coil/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929

3030
__all__ = ['__version__']
3131

32-
__version__ = '1.3.1'
32+
__version__ = '1.3.2'

‎coil/__main__.py

+9-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
u"""Coil CMS v{0}
3030
3131
Usage:
32-
coil devserver [-b | --browser] [-p <port> | --port=<port>]
32+
coil devserver [-b | --browser] [-p <port> | --port=<port>] [--no-url-fix] [--no-debug]
3333
coil write_users
3434
coil -h | --help
3535
coil --version
@@ -39,6 +39,8 @@
3939
--version Show version.
4040
-b, --browser Open Coil CMS in the browser after starting.
4141
-p <port>, --port=<port> Port to use [default: 8001].
42+
--no-url-fix Don't fix the URL in devserver. DO NOT USE.
43+
--no-debug Don't run devserver in debug mode.
4244
"""
4345

4446
from __future__ import unicode_literals
@@ -81,8 +83,12 @@ def devserver(arguments):
8183
if coil.web.app:
8284
port = int(arguments['--port'])
8385
url = 'http://localhost:{0}/'.format(port)
84-
coil.web.configure_url(url)
85-
coil.web.app.config['DEBUG'] = True
86+
nourl = arguments['--no-url-fix']
87+
nodebug = arguments['--no-debug']
88+
if not nourl:
89+
coil.web.configure_url(url)
90+
if not nodebug:
91+
coil.web.app.config['DEBUG'] = True
8692

8793
if arguments['--browser']:
8894
webbrowser.open(url)

‎docs/CHANGELOG.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
Appendix A. Changelog
33
=====================
44

5-
:Version: 1.3.1
5+
:Version: 1.3.2
6+
7+
1.3.2
8+
* Added two options that should not be used, EVER. Please ignore them.
69

710
1.3.1
811
* Use rq from PyPI instead of GitHub

‎docs/CONTRIBUTING.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Appendix A. Contribution rules
55
:Author: Chris Warrick <chris@chriswarrick.com>
66
:Copyright: © 2015, Chris Warrick.
77
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
8-
:Date: 2015-06-18
9-
:Version: 1.3.1
8+
:Date: 2015-07-02
9+
:Version: 1.3.2
1010

1111
.. index:: contributing
1212

‎docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
# built documents.
5656
#
5757
# The short X.Y version.
58-
version = '1.3.1'
58+
version = '1.3.2'
5959
# The full version, including alpha/beta/rc tags.
60-
release = '1.3.1'
60+
release = '1.3.2'
6161

6262
# The language for content autogenerated by Sphinx. Refer to documentation
6363
# for a list of supported languages.

‎release

+6-4
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,12 @@ if [[ $? = 1 ]]; then
169169
fi
170170

171171
status 'Running tests...'
172-
./setup.py test
173-
if [[ $? = 1 ]]; then
174-
error "Tests failed. Fix your code or don't come back."
175-
exit 1
172+
if [[ -e tests ]]; then
173+
./setup.py test
174+
if [[ $? = 1 ]]; then
175+
error "Tests failed. Fix your code or don't come back."
176+
exit 1
177+
fi
176178
fi
177179

178180
status 'Running pre-sdist.hook...'

‎setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
dependencies = [l.strip() for l in fh]
88

99
setup(name='coil',
10-
version='1.3.1',
10+
version='1.3.2',
1111
description='A user-friendly CMS frontend for Nikola.',
1212
keywords='coil,nikola,cms',
1313
author='Chris Warrick, Roberto Alsina, Henry Hirsch et al.',

0 commit comments

Comments
 (0)
Please sign in to comment.