A (very) simple file versioning system
Project description
A (very) simple file versioning system
Version: 1.7.0
Detailed documentation on the available commands can be found on the quicksave wiki
Getting started:
The first thing you’ll need to do is create a new database where quicksave can store its data:
$ quicksave init <path>
That will setup the new database so it’s ready to use.
After that, you’re good to go. You can register new files so they’re tracked by quicksave, save new states of registered files, and revert to previously saved states. There are several other commands which modify the database itself, but I’m only covering those three listed commands in this guide (and none of their various options). For detailed documentation on all of the available commands, check out the wiki page.
To track (AKA register) a new file in quicksave use:
$ quicksave register <filepath>
Which will copy the initial state of the file, and provide the names of the file and state keys you’ll need use this file. For a brief description of file and state keys, see this note on the wiki.
To then save a new state of the file, use the save command:
$ quicksave save <filepath>
Quicksave will use the the absolute path and the base file name derived from filepath to automatically decide which file key to use.
Lastly, to get the file back into a previously saved state, use the revert command:
$ quicksave revert <filepath> <state>
Again, quicksave will attempt to determine which file key to use based on the absolute path and the file name. Quicksave will lookup the provided state key and revert the file.
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
Built Distribution
File details
Details for the file quicksave-1.7.0.tar.gz
.
File metadata
- Download URL: quicksave-1.7.0.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2dc2c9b5c45dd450cb60bdd6dfbc150d69d57ec9d408a545e8f2c7f78b4e9e3 |
|
MD5 | 6e4f459c6cb0a2b996d00336cf3204b7 |
|
BLAKE2b-256 | ac8587fdb370ced8ccb48f321875d663f01384bc0a6ed2bf04f85b9322b8b253 |
File details
Details for the file quicksave-1.7.0-py3-none-any.whl
.
File metadata
- Download URL: quicksave-1.7.0-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24b867bc850c36f40c0e09c6ebcef8ad301a57c61fcf0849e7e3529990ccbe56 |
|
MD5 | 45717c131984aef7377744e52c30a6f3 |
|
BLAKE2b-256 | ea63576b3e950fb061cb02d726d79b02ee2494da90e6f96fbffd0acc74995301 |