-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
307 additions
and
192 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
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,63 @@ | ||
============ | ||
Contributing | ||
============ | ||
|
||
.. contents:: :local: | ||
|
||
Discuss first | ||
------------- | ||
|
||
For changes open an issue p on Github for discussion preferably before starting any coding. Ask the authors opinion how the issue should be approached as this will make it easier to merge the pull request later. | ||
|
||
Unit tests | ||
---------- | ||
|
||
All features must be covered by unit tests, so that test coverage stays in 100%. | ||
|
||
To run tests:: | ||
|
||
pip install tox # System wide installation | ||
tox | ||
|
||
This will run tests for Python 2.x, Python 3.x, PyPy, functional, coverage, documentation. | ||
|
||
Functional tests | ||
---------------- | ||
|
||
All features must be covered by functional tests and have example use. To run functional tests only:: | ||
|
||
tox -e functional | ||
|
||
.. to edit functional tests:: | ||
source .tox/functional/bin/activate | ||
cd deformdefom # Checked out by tox functional | ||
pserve demo.ini # Start web server | ||
# Run functional test suite using Chrome | ||
WEBDRIVER="chrome" nosetests -x | ||
# Run functional test suite using Chrome, stop on pdb on exception | ||
WEBDRIVER="chrome" nosetests -x --pdb | ||
# Run one functional test case using Chrome | ||
WEBDRIVER="chrome" nosetests -x deformdemo.test:SequenceOfDateInputs | ||
Documentation | ||
------------- | ||
|
||
All features must be documented with code samples in narrative documentation, API documentation or deformdeom. | ||
|
||
Changelog | ||
--------- | ||
|
||
Update ``CHANGES.txt``. | ||
|
||
Update ``CONTRIBUTORS.rst``. | ||
|
||
Pull requests | ||
------------- | ||
|
||
Make pull request on github for deform, deformdemo. | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,121 +0,0 @@ | ||
# Translations template for deform. | ||
# Copyright (C) 2013 ORGANIZATION | ||
# This file is distributed under the same license as the deform project. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: deform 2.0a2\n" | ||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" | ||
"POT-Creation-Date: 2013-11-16 15:42+0900\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Babel 1.3\n" | ||
|
||
#: deform/schema.py:103 | ||
msgid "${value} is not a dictionary" | ||
msgstr "" | ||
|
||
#: deform/schema.py:110 | ||
msgid "${value} has no ${key} key" | ||
msgstr "" | ||
|
||
#: deform/widget.py:656 deform/widget.py:1662 | ||
msgid "Incomplete date" | ||
msgstr "" | ||
|
||
#: deform/widget.py:659 | ||
msgid "Incomplete time" | ||
msgstr "" | ||
|
||
#: deform/widget.py:1157 | ||
msgid "Fields did not match" | ||
msgstr "" | ||
|
||
#: deform/widget.py:1158 | ||
msgid "Value" | ||
msgstr "" | ||
|
||
#: deform/widget.py:1159 | ||
msgid "Confirm Value" | ||
msgstr "" | ||
|
||
#: deform/widget.py:1216 | ||
msgid "Password did not match confirm" | ||
msgstr "" | ||
|
||
#: deform/widget.py:1373 | ||
msgid "Add ${subitem_title}" | ||
msgstr "" | ||
|
||
#: deform/templates/checked_password.pt:8 | ||
msgid "Password" | ||
msgstr "" | ||
|
||
#: deform/templates/checked_password.pt:18 | ||
msgid "Confirm Password" | ||
msgstr "" | ||
|
||
#: deform/templates/dateparts.pt:10 | ||
msgid "Year" | ||
msgstr "" | ||
|
||
#: deform/templates/dateparts.pt:18 | ||
msgid "Month" | ||
msgstr "" | ||
|
||
#: deform/templates/dateparts.pt:26 | ||
msgid "Day" | ||
msgstr "" | ||
|
||
#: deform/templates/datetimeinput.pt:10 | ||
msgid "Date" | ||
msgstr "" | ||
|
||
#: deform/templates/datetimeinput.pt:17 | ||
msgid "Time" | ||
msgstr "" | ||
|
||
#: deform/templates/form.pt:34 | ||
msgid "There was a problem with your submission" | ||
msgstr "" | ||
|
||
#: deform/templates/mapping.pt:13 | ||
msgid "There was a problem with this section" | ||
msgstr "" | ||
|
||
#. Default: en | ||
#: deform/templates/richtext.pt:30 | ||
msgid "language-code" | ||
msgstr "" | ||
|
||
#: deform/templates/sequence_item.pt:23 | ||
msgid "Reorder (via drag and drop)" | ||
msgstr "" | ||
|
||
#: deform/templates/sequence_item.pt:28 | ||
msgid "Remove" | ||
msgstr "" | ||
|
||
#: deform/templates/readonly/checkbox.pt:5 | ||
msgid "True" | ||
msgstr "" | ||
|
||
#: deform/templates/readonly/checkbox.pt:9 | ||
msgid "False" | ||
msgstr "" | ||
|
||
#: deform/templates/readonly/checked_password.pt:2 | ||
#: deform/templates/readonly/password.pt:2 | ||
msgid "Password not displayed." | ||
msgstr "" | ||
|
||
#: deform/tests/test_widget.py:1550 | ||
msgid "Yo ${subitem_title}" | ||
msgstr "" | ||
|
||
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
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
Empty file.
Submodule deformdemo
added at
d4e91b
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,16 @@ | ||
Support and Development | ||
======================= | ||
|
||
To report bugs, use the `bug tracker <https://github.com/Pylons/deform/issues>`_. | ||
|
||
To submit patches see :ref:`contributing`. | ||
|
||
If you've got questions that aren't answered by this documentation, contact the `Pylons-discuss mailing list <http://groups.google.com/group/pylons-discuss>`_ or join the | ||
|
||
.. only:: not latex | ||
|
||
`#pyramid IRC channel <irc://irc.freenode.net/#pylons>`_. | ||
|
||
.. only:: latex | ||
|
||
#pyramid IRC channel ``irc://irc.freenode.net/#pylons``. |
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 @@ | ||
.. _contributing: | ||
|
||
.. include:: ../CONTRIBUTING.rst |
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,11 +1,18 @@ | ||
#!/usr/bin/env bash | ||
# | ||
|
||
# Say no to errors | ||
set -e | ||
|
||
domain="deform" | ||
py=python | ||
if [[ -f $INS/bin/pyramidpy ]];then | ||
py="$INS/bin/pyramidpy" | ||
fi | ||
$py setup.py extract_messages | ||
$py setup.py update_catalog -D $domain | ||
$py setup.py compile_catalog -D $domain | ||
# vim:set et sts=4 ts=4 tw=80: | ||
|
||
# $py setup.py extract_messages | ||
# $py setup.py update_catalog -D $domain | ||
# $py setup.py compile_catalog -D $domain | ||
pot-create -c lingua.ini deform | ||
|
||
|
Oops, something went wrong.