1. Fredrik Håård
  2. unleash

Overview

Unleash

Unleash is a tool to release and manage versions of 'stuff', for example web pages. It is not a CMS, but made to use when a CMS is overkill.

When working with unleash, you have a staging folder, called 'stage', a number of frozen snapshots, and an active release called 'active' which is a symlink to one of the snapshots.

For example, if you have a web page, you might put your content in /stage and serve it at https://stage.example.com while working with it, and when satisfied, freeze it. If you serve /active att http://www.example.com, you can then atomically release the new version by using 'unleash activate'.

Commands:

unleash -p <path> init - create new environment (creates the s
unleash [-p <path>] freeze [name] - create a snapshot of stge
unleash [-p <path>] thaw <name> - update stage from the snapshot named <name>
unleash [-p <path>] activate <name> - activate the snapshot named <name>
unleash [-p <path>] active - get the name of the currently active snapshot

Roadmap/stuff to be done:

  • cgi & WSGI interface
  • delete snapshots
  • prevent deletion and thawing of active snapshot
  • example .htaccess files

License

Copyright (c) 2011, Fredrik Håård

Do whatever you want, don't blame me. You may also use this software as licensed under the MIT or BSD licenses, or the more permissive license below:

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.