gs_export

A little shell script to dump you GenericSetup profile somewhere and notify you for changes
Download

gs_export Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Patrick Gerken
  • Publisher web site:
  • http://github.com/collective/

gs_export Tags


gs_export Description

gs_export is a little Python helper that dumps your GenericSetup profile to a given directory, and sends you a mail, if anything has changed since it was last run.gs_export uses git to store the change history, it simply sends the result of a git status -q if there are any changes. It is your responsabilility to commit the changes, else you will get the same notification on the next run.gs_export always sends a passwort with each request, it is POST encoded but it is still there. This also means, it needs basic auth working on your plone site. You might want to run gs_export only on the same machine as the zope client.gs_export needs to be configured, and it needs a lot of options. Since gs_export might be needed for many sites on one host, it does not look for a configuration file with a fixed name, but you must provide a configuration file as the first argument to the script. This is a sample configuration. All arguments are required:base_url = http://yoursite:8080/Plone/portal_setupuser = youruserpassword = yourpasspath = /absolute_path_to_dump_diretory_of_gitmail_server = your.mailservermail_port = 587mail_user = your_mail_usermail_password= your_mail_passmail_from = your_email_adressmail_mode = TLSmail_recipient=your_receiving_email_adressignore = structure workflow- base_url must point to portal_setup- the path must exist- mail_mode accepts an empty string, TLS and SSL- This tool only accepts one mail recipient. This could easily by changed though- ignore accepts multiple parameters. Ignore means, after dumping the configuration, the ignore parts are deleted! It is a good idea to ignore structure. Multiple values can be added by adding one for each line and indenting the elementsgs_export is intended to be run by a cron job.Product's homepage


gs_export Related Software