Command line utils to manage Silva sites
Project description
Introduction
This extension provides a script to help you manage Silva sites in the Zope instance from the command line. This will add script into the bin directory of your installation called silva.
For most of the operations, the script requires you to provide the Zope 2 configuration file with the option -c.
By default you can , view the Silva site in the root of your database, create and delete Silva sites, and users to them, pack your database, and remove old versions of versioned content.
The script is however pluggable. An another default command provided by silva.core.upgrade extension let you to upgrade a Silva site.
Default commands
- manage
Manage Silva sites:
List existing Silva sites,
Add a new Silva site,
Delete an existing Silva site,
Install documentation into an existing Silva site,
Add a user into an existing Silva site.
Multiple actions can done at the same time: you can create a new Silva, install the documentation and add a user to it.
- pack
Pack a database. The database name and the number of days to pack can be provided on the command line.
- files
Convert Silva file storage accordingly to the service files settings.
- versions
Delete old closed versions from versioned content. The number of version to keep is configurable.
- zexp_export
Export content into a ZEXP file.
- zexp_import
Import a ZEXP file.
- xml_import
Import an Silva XML file.
Code repository
The code source for this extension can be found in Git at: https://github.com/silvacms/silva.system.utils
Changes
1.4.2 (2013/08/26)
Add support to import ZEXP referring to missing filesystem code.
1.4.1 (2013/05/23)
Add support for XML import options to the xml_import command.
Support to set the title of a Silva site while creating it from the command line.
1.4 (2013/03/06)
Add xml_import command.
Improve debugging of errors containing UTF-8 characters.
1.3 (2012/12/11)
Add zexp_import and zexp_export commands.
1.2 (2012/09/24)
This is a Silva 3.0 compatible only release.
Update API to convert file storage.
Improve pack command.
Add a command to create a new Silva root, install documentation and add user to it.
Add a generic log option.
1.1 (2012/02/23)
This is a Silva 2.3 compatible only release.
Add a command to convert file storage from the command line.
Add a command to find code sources, and where they are found.
Commands now support to run actions in a Silva site with a logged user.
1.0 (2011/11/10)
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file silva.system.utils-1.4.2.tar.gz
.
File metadata
- Download URL: silva.system.utils-1.4.2.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63a10e828e0933650720a2445b53ba01aaf9e4d164e1ade97062904db055431c |
|
MD5 | b7a57e16f1b694312a575e045c8060d7 |
|
BLAKE2b-256 | 12d45f91b782bea341c492bbebccd31916e231ba5b67995e5bcef4210efc47dd |