stowage
stowage badge
travis badge
Stow-like designed for keeping dotfiles under version control, written in python
Installation
Assuming Python’s pip is installed (for Debian-based systems, this can be installed with sudo apt-get install python-pip), stowage can be installed directly from PyPI:
pip install stowage
Python versions 3.3+ (and 2.6+) are supported and tested against.
Quick start
Setup your dotfiles repo (by default stowage assumes its at ~/dotfiles, but it could be anywhere)
mkdir ~/dotfiles cd ~/dotfiles git init
Create one or more dotfile ‘packages’
# An example, making one for your .vimrc # Notice that we can call it _vimrc instead of .vimrc, making it visible / # easier to interact with mkdir ~/dotfiles/vim cp ~/.vimrc ~/dotfiles/vim/_vimrc
Activate stowage
stowage vim
Now, your ~/.vimrc has been replaced by a symlink to the ~/dotfiles/vim/_vimrc file, enabling the ~/dotfiles directory to be more easily put into version control.
Full usage
usage: stowage [-h] [-n] [-v] [-s SOURCE] [-d DESTINATION] [-b BACKUP] [-B]
[packages [packages ...]]
Symlink files recursively, good for dotfiles.
positional arguments:
packages one or more packages
optional arguments:
-h, --help show this help message and exit
-n, --dryrun dryrun, just simulate
-v, --verbose increase output verbosity
-s SOURCE, --source SOURCE
stowage source directory
-d DESTINATION, --destination DESTINATION
stowage destination directory
-b BACKUP, --backup BACKUP
stowage backup directory
-B, --skip-backup skip making backups
Contributing
New features, tests, and bug fixes are welcome!
Release files for stowage 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stowage-0.1.9.tar.gz | 19.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stowage-0.1.9-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size:25.6 kB
Release files / stowage-0.1.9.tar.gz
| Download URL | stowage-0.1.9.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d65487f4eec3efc40fe444d9768094a973f208b35ec6f4a52a00a11151b3d4c
|
|
BLAKE2b-256 checksum How to use checksums |
4e62322a3d3b7822a695ac099b52f16043f14e3712666bfd4ef325f9dbe5708a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / stowage-0.1.9-py2.py3-none-any.whl
| Download URL | stowage-0.1.9-py2.py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8e562bf212af2351d199b41a5d78cc65d0f61f7ed1a5069d7bb1ad21f02d93cb
|
|
BLAKE2b-256 checksum How to use checksums |
d2029266cc70731f72f297fab30dff73566af7f0950be75dc7a5a77c0ecfaff5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |