Skip to main content

GS Export

GS Export is a little 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:

[gs_export]
base_url = http://yoursite:8080/Plone/portal_setup
user = youruser
password = yourpass
path = /absolute_path_to_dump_diretory_of_git
mail_server = your.mailserver
mail_port = 587
mail_user = your_mail_user
mail_password= your_mail_pass
mail_from = your_email_adress
mail_mode = TLS
mail_recipient=your_receiving_email_adress
ignore = 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 elements

GS Export is intended to be run by a cron job.

Todo

  • Allow for multiple recipients.

Changes

0.1.2 (2012-12-05)

  • Work around missing subprocess.check_output() in python 2.6 [pgerken]

0.1.1 (2012-12-03)

  • Make email-message more verbose [pbauer]

0.1.0 (2012-09-06)

  • Nothing changed yet.

0.0.5 (2012-09-06)

  • Nothing changed yet.

0.0.4 (2012-09-06)

  • Nothing changed yet.

0.0.3 (2012-09-06)

  • Corrected the classifiers.

0.0.2 (2012-09-06)

  • Adding missing meta information.

  • The egg has correct classifiers, but the egg tagged as 0.0.2 has not!

0.0.1 (2012-09-06)

  • Initial release

Metadata

Release files for gs_export 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gs_export 0.1.2
File Size Uploaded Provenance Actions
gs_export-0.1.2.zip 9.7 kB Without provenance Details for gs_export-0.1.2.zip

Release files / gs_export-0.1.2.zip

Download URL gs_export-0.1.2.zip
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
613cb5fca138683e6d1a1e7afc7dc734a3c004359d24f26553e3993f9d751679
BLAKE2b-256 checksum
How to use checksums
2363b431fda9fa220263dd38f74bcdb1e9559005e23f18379a4eb8b067ab1a4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for gs_export 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page