Merge lp://staging/~rajeevs1992/mailman.client/mailmancli into lp://staging/mailman.client

Proposed by Rajeev S
Status: Needs review
Proposed branch: lp://staging/~rajeevs1992/mailman.client/mailmancli
Merge into: lp://staging/mailman.client
Diff against target: 4955 lines (+4719/-1)
39 files modified
README.rst (+29/-1)
conf.py (+330/-0)
setup.py (+4/-0)
src/mailmanclient.egg-info/PKG-INFO (+14/-0)
src/mailmanclient.egg-info/SOURCES.txt (+59/-0)
src/mailmanclient.egg-info/dependency_links.txt (+1/-0)
src/mailmanclient.egg-info/requires.txt (+5/-0)
src/mailmanclient.egg-info/top_level.txt (+1/-0)
src/mailmanclient/cli/client/cmdparser.py (+365/-0)
src/mailmanclient/cli/client/parsers/README.txt (+190/-0)
src/mailmanclient/cli/client/parsers/_set.py (+64/-0)
src/mailmanclient/cli/client/parsers/base.py (+62/-0)
src/mailmanclient/cli/client/parsers/create.py (+86/-0)
src/mailmanclient/cli/client/parsers/delete.py (+101/-0)
src/mailmanclient/cli/client/parsers/disable.py (+63/-0)
src/mailmanclient/cli/client/parsers/enable.py (+63/-0)
src/mailmanclient/cli/client/parsers/show.py (+101/-0)
src/mailmanclient/cli/client/parsers/show_var.py (+63/-0)
src/mailmanclient/cli/client/parsers/subscribe.py (+84/-0)
src/mailmanclient/cli/client/parsers/unset.py (+63/-0)
src/mailmanclient/cli/client/parsers/unsubscribe.py (+83/-0)
src/mailmanclient/cli/client/parsers/update.py (+114/-0)
src/mailmanclient/cli/client/shell.py (+394/-0)
src/mailmanclient/cli/core/domains.py (+136/-0)
src/mailmanclient/cli/core/lists.py (+227/-0)
src/mailmanclient/cli/core/misc.py (+69/-0)
src/mailmanclient/cli/core/preferences.py (+96/-0)
src/mailmanclient/cli/core/users.py (+189/-0)
src/mailmanclient/cli/docs/using_cli_shell.txt (+150/-0)
src/mailmanclient/cli/docs/using_cli_tools.txt (+311/-0)
src/mailmanclient/cli/docs/writing_a_new_command.txt (+57/-0)
src/mailmanclient/cli/lib/colors.py (+32/-0)
src/mailmanclient/cli/lib/mailman_utils.py (+117/-0)
src/mailmanclient/cli/lib/utils.py (+216/-0)
src/mailmanclient/cli/mmclient (+46/-0)
src/mailmanclient/cli/tests/test_domain.py (+223/-0)
src/mailmanclient/cli/tests/test_list.py (+285/-0)
src/mailmanclient/cli/tests/test_preference.py (+99/-0)
src/mailmanclient/cli/tests/test_user.py (+127/-0)
To merge this branch: bzr merge lp://staging/~rajeevs1992/mailman.client/mailmancli
Reviewer Review Type Date Requested Status
Mailman Coders Pending
Review via email: mp+236052@code.staging.launchpad.net

Commit message

Adds Command line tools and command line shell for mailman.client

Description of the change

GSoC project "Mailman CLI"

The branch contains the Mailman CLI shell as well as the command line tools built as a part of the GSoC 2014, Under the mentors Stephen J Turnbull, Abhilash Raj and Barry Warsaw.

To post a comment you must log in.

Unmerged revisions

75. By Rajeev S

- fixed bug in update global preference, which is readonly
- fixed/improved a few test cases

Global preferences are readonly, which is mentioned in the mmclient docs.
Option to edit the global preferences, which were previously allowed in
CLI are removed.

74. By Rajeev S

merged with base

73. By Rajeev S

Ported CLI to Py3

72. By Rajeev S

- made the docs sphinx compatiable
- added more docs

71. By Rajeev S

- added more tests, for the preferences methods
- added a check for HTTPErrors to make sure that
  correct errors are displayed
- scrubbed more code to enhance readability
- added readme for parsers

70. By Rajeev S

- modifed the setup.py to use scripts instead of entry_points
- added acks to Google and Mentors in file headers
- improved code for connection verification
- improved the `get_listing` function; moved to utils
- added colors as a seperate file, as per Steve's suggestion

69. By Rajeev S

- adds backup and restore tool
- fixed up installation routines
- refactored code to make it installable
- modified `in list` filter to support regular
  expressions
- updated docs and existing tests

68. By Rajeev S

- added expoort to csv function for domains, users
  and lists
- updated shell to support object names with whitespaces

67. By Rajeev S

- switched command parsing to YACC and LEX
  using python PLY module

66. By Rajeev S

- added update preference command
- introduced regex based validation for all commands
- regex stored in config.ini
- added docstrings aka help for all commands
- help stings printed upon error

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches