-
Notifications
You must be signed in to change notification settings - Fork 0
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
19 changed files
with
820 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
language: python | ||
|
||
python: | ||
- "2.6" | ||
- "2.7" | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
install: | ||
- pip install nose | ||
|
||
script: | ||
- make travis |
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,12 @@ | ||
Receptor is written and maintained by Alexandr Lispython and | ||
various contributors: | ||
|
||
Development Lead | ||
~~~~~~~~~~~~~~~~ | ||
|
||
- Alex Lispython <alex@obout.ru> | ||
|
||
Patches and Suggestions | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
|
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,8 @@ | ||
Fab Magic Changelog | ||
==================== | ||
|
||
|
||
# v0.0.1 (27-10-2012) | ||
--------------------- | ||
|
||
- First version |
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,33 @@ | ||
Copyright (c) 2012 by Alexandr Lispython (alex@obout.ru) and contributors. | ||
See AUTHORS for more details. | ||
|
||
Some rights reserved. | ||
|
||
Redistribution and use in source and binary forms of the software as well | ||
as documentation, with or without modification, are permitted provided | ||
that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above | ||
copyright notice, this list of conditions and the following | ||
disclaimer in the documentation and/or other materials provided | ||
with the distribution. | ||
|
||
* The names of the contributors may not be used to endorse or | ||
promote products derived from this software without specific | ||
prior written permission. | ||
|
||
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT | ||
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER | ||
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | ||
DAMAGE. |
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,14 @@ | ||
include *.txt *.md *.rst Makefile *.py AUTHORS ChangeLog LICENSE | ||
recursive-include commandor *.py | ||
recursive-exclude commandor *.pyo *.pyc | ||
recursive-include docs *.txt *.py *.rst *.md * | ||
recursive-include docs * | ||
recursive-include tests *.py | ||
recursive-include commandor/magic_templates/ * | ||
recursive-include examples * | ||
recursive-exclude docs *.pyc | ||
recursive-exclude docs *.pyo | ||
recursive-exclude tests *.pyc | ||
recursive-exclude tests *.pyo | ||
recursive-exclude examples *.pyc | ||
recursive-exclude examples *.pyo |
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,32 @@ | ||
all: clean-pyc test | ||
|
||
test: | ||
python setup.py nosetests --stop --tests tests.py | ||
|
||
travis: | ||
python setup.py nosetests --tests tests.py | ||
|
||
coverage: | ||
python setup.py nosetests --with-coverage --cover-package=commandor --cover-html --cover-html-dir=coverage_out coverage | ||
|
||
|
||
shell: | ||
../venv/bin/ipython | ||
|
||
audit: | ||
python setup.py autdit | ||
|
||
release: | ||
python setup.py sdist upload | ||
|
||
clean-pyc: | ||
find . -name '*.pyc' -exec rm -f {} + | ||
find . -name '*.pyo' -exec rm -f {} + | ||
find . -name '*~' -exec rm -f {} + | ||
|
||
clean: clean-pyc | ||
find . -name '*.egg' -exec rm -f {} + | ||
find . -name '*.egg-info' -exec rm -rf {} + | ||
|
||
find-print: | ||
grep -r --include=*.py --exclude-dir=venv --exclude=fabfile* --exclude=tests.py --exclude-dir=tests --exclude-dir=commands 'print' ./ |
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,54 @@ | ||
Welcome to Commandor's documentation! | ||
============================================= | ||
|
||
Collections of Megic Recipes for Fabric | ||
|
||
.. image:: https://secure.travis-ci.org/Lispython/commandor.png | ||
:target: https://secure.travis-ci.org/Lispython/commandor | ||
|
||
|
||
Overview | ||
-------- | ||
|
||
- Servers configuration | ||
|
||
|
||
INSTALLATION | ||
------------ | ||
|
||
|
||
You can install the most recent commandor version using `easy_install`_:: | ||
|
||
easy_install commandor | ||
|
||
or `pip`_:: | ||
|
||
pip install commandor | ||
|
||
|
||
.. _easy_install: http://peak.telecommunity.com/DevCenter/EasyInstall | ||
.. _pip: http://pypi.python.org/pypi/pip | ||
|
||
|
||
Contribute | ||
---------- | ||
|
||
#. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. | ||
There is a Contributor Friendly tag for issues that should be ideal for people who are not very familiar with the codebase yet. | ||
#. Fork `the repository`_ on Github to start making your changes to the **develop** branch (or branch off of it). | ||
#. Write a test which shows that the bug was fixed or that the feature works as expected. | ||
#. Send a pull request and bug the maintainer until it gets merged and published. | ||
|
||
|
||
|
||
CONTRIBUTE | ||
---------- | ||
|
||
Fork https://github.com/Lispython/commandor/ , create commit and pull request. | ||
|
||
|
||
SEE ALSO | ||
-------- | ||
|
||
- `Receptor <http://github.com/Lispython/receptor>`_ | ||
.. _`the repository`: https://github.com/Lispython/commandor/ |
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,29 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
""" | ||
Commandor | ||
~~~~~~~~~ | ||
Python script options and args parser | ||
:copyright: (c) 2012 by Alexandr Lispython (alex@obout.ru). | ||
:license: BSD, see LICENSE for more details. | ||
:github: http://github.com/Lispython/commandor | ||
""" | ||
|
||
__all__ = 'VERSION', 'VERSION_INFO',\ | ||
'Commandor', 'Command' | ||
|
||
|
||
__author__ = "Alex Lispython (alex@obout.ru)" | ||
__license__ = "BSD, see LICENSE for more details" | ||
__version_info__ = (0, 0, 1) | ||
__build__ = 0x000001 | ||
__version__ = ".".join(map(str, __version_info__)) | ||
__maintainer__ = "Alexandr Lispython (alex@obout.ru)" | ||
|
||
VERSION = __version__ | ||
VERSION_INFO = __version_info__ | ||
|
||
|
||
from base import Commandor, Command |
Oops, something went wrong.