GitHub user agentmilindu opened a pull request:
https://github.com/apache/stratos/pull/437
Python CLI GSoC15
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/agentmilindu/stratos python-cli-gsoc15
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/stratos/pull/437.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #437
----
commit 33c66410b0c6e7dcb2a183b1d44cd6598b5cc083
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-01T02:38:30Z
Create README.md
commit 758555cdb874671bbae639c58c3bb6d6a3ec96ac
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-03T05:23:16Z
Directory structure added
On branch python-cli
new file:
components/org.apache.stratos.python.cli/src/main/python/cli/__init__.py
commit 3020d25b53e800c98ece368dd6de0a30b13502e8
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-03T06:41:24Z
Setup file added, setup config added
On branch python-cli
new file:
components/org.apache.stratos.python.cli/src/main/python/cli/setup.cfg
new file:
components/org.apache.stratos.python.cli/src/main/python/cli/setup.py
commit 4ef19f9bae3c4d79a80f024d86d371732b18af3b
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-03T10:15:56Z
Directory for Tests added
On branch python-cli
new file:
components/org.apache.stratos.python.cli/src/main/python/tests/__init__.py
commit 6553b4604ea0de89eba936519c041337616bbd5d
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-03T10:17:29Z
Setup file and Setup config file moved to correct location
On branch python-cli
renamed:
components/org.apache.stratos.python.cli/src/main/python/cli/setup.cfg ->
components/org.apache.stratos.python.cli/src/main/python/setup.cfg
renamed:
components/org.apache.stratos.python.cli/src/main/python/cli/setup.py ->
components/org.apache.stratos.python.cli/src/main/python/setup.py
Refer
https://pythonhosted.org/an_example_pypi_project/setuptools.html#directory-structure
commit 3b9067d05a9e001a714606c4689b15b71aef5193
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-03T17:29:52Z
README added
commit 867c9a8645c26fd82909604af87512c77f1bbb93
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-03T17:33:55Z
Main file added
On branch python-cli
new file:
components/org.apache.stratos.python.cli/src/main/python/cli/Main.py
Main file contains the main() method, the entry point of the CLI
commit e8c46899aa5f0bef511b20358a6be50819cd5313
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-05T12:39:01Z
Simple code style fixes as of the coding guides
commit ea0987681884a9a13dbc80b1a05eb83c48e5f9d7
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-05T12:43:08Z
CLI and Stratos scripts added
On branch python-cli
new file:
components/org.apache.stratos.python.cli/src/main/python/cli/CLI.py
new file:
components/org.apache.stratos.python.cli/src/main/python/cli/Stratos.py
commit cc0e57c5186922f45313caaa032f8f64ebf2f06f
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-06T06:33:25Z
Initializing the CMD and started the loop in Main
On branch python-cli
modified:
components/org.apache.stratos.python.cli/src/main/python/cli/Main.py
commit 0e8c1377e9c280b7b9a62aaa77f6775f5bc3efb4
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-06T08:04:47Z
Main and CLI linked
On branch python-cli
modified: cli/CLI.py
modified: cli/Main.py
modified: cli/Stratos.py
modified: setup.py
Now anyone build and install stratos CLI by,
$ python setup.py build
$ python setup.py install
or use
$ python setup.py develop
instead `install` if developing
commit f67802be3adfd42574dd746dfe16465eb73c520d
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-07T12:39:53Z
Made the README a rst file
On branch python-cli
renamed: README.md -> README.rst
Using rst(reStructuredText) file as setup.py's description, this will
become the description of stratos on Pip.
Therefor adding the default Stratos CLI guide there.
Python CLI specific details would reside on README.md
commit a04004568a8a937676e09635e94f5066eb84bcb4
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-07T12:46:54Z
Git Ignore file updated
On branch python-cli
new file: .gitignore
Ignoring
build/
dist/
stratos.egg-info/
commit 4f5740772cf97daa7dbb0e10fce3a3b854e9795c
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-07T12:48:14Z
new README.md added
On branch python-cli
new file: README.md
Python CLI specific README
commit eeb5e1fb9547e7dffca295661e077886df053278
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-07T12:54:05Z
Setup.py now use README.rst as description
commit a8b65235cb4ce80d0b312e8e28b2d6a63ce50042
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-13T18:35:01Z
Added Apache details to the Setup.py
On branch python-cli
modified: setup.py
commit 979c0ef7f68a2ab25f466b30f1dd979db04f38e0
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-14T03:32:01Z
Utilities to print tables, trees added
On branch python-cli
new file: cli/Utils.py
commit c3dbb1756160fa3a268dc3f1d04aa36e1f8f0a18
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-14T03:33:21Z
Seperate py to handle Logging related stuffs
On branch python-cli
new file: cli/Logging.py
commit 05e3a721808f2c9bc11e944a2574365d2fe60ec9
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-16T05:59:42Z
Creating stratos folder for logging( if not exists ), logging in to
stratos-cli.log
commit 999500c897b677ce1d683ab828047e2ebb0e01f0
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-16T06:01:28Z
Logging added to the Main py
commit d1ab83c5df4a83217d62f83a7e67d66880bff7c3
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-22T11:46:11Z
Configs.py added, Using the constants in Configs.py
On branch python-cli
modified: cli/CLI.py
new file: cli/Configs.py
modified: cli/Logging.py
commit 4502eb63b881ed9f65d9dd3dbac29c34f80c6b4a
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-05-22T12:09:16Z
Resolving the '-' issue
commit ef36b7a0aa683fb3f91cf909244d90e39c432235
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-06-13T11:41:58Z
Log file location moved to COnfigs.py from Logger.py
On branch python-cli
modified:
components/org.apache.stratos.python.cli/src/main/python/cli/Configs.py
modified:
components/org.apache.stratos.python.cli/src/main/python/cli/Logging.py
commit 72dd3a4b8753501b63241287dca07065e1742298
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-06-14T07:45:33Z
Some quick fixes
Using python os.path.join() to avoid forward/back slash problems
Setting empty strings as defaults for username and password evn vars
instead of None
commit 28a72d39bf321cbfc6baf524b91930449f504cbd
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-06-14T09:41:25Z
Pre Authentication decorator added
commit f9f246f6bf61a9a767cee7cb9e314052b3bad91c
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-06-18T01:40:06Z
Default stratos URL added
commit bf053e092e23f1d76bdc980048f78c4036ce2982
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-06-18T16:37:56Z
Auth and Print tree improved
commit 347010278fa50ec90cdacc6ab830be6fe58cfc70
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-06-18T16:39:09Z
Prompting for user credentials when starting the interactive mode
commit 23d9785dd95bb38c96f76647b7283069cef169b6
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-06-18T16:41:09Z
Stratos API URL added
commit e66a7ee147467e7f9f286c0447f718f3baaf03ff
Author: Milindu Sanoj Kumarage <[email protected]>
Date: 2015-07-25T06:59:13Z
Passowrd and username checking now happens in @auth decorator.
do_list_users and do_network_partitions added
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---