vcs

Site vcs

To install, run nikola plugin -i vcs

This EXPERIMENTAL plugin tries to make it easy to keep your site in a version control system.

There are problems in the anyvc support of python 3. So, use this only in python2 until I figure that out.

REMEMBER, this is a first iteration, it's probably buggy, so be careful, and only use it if you are experienced with your VCS, ok?

How to use it:

  1. Choose your favourite VCS between git, bzr, subversion, mercurial.
  2. Initialize the repo in your site (for example: git init .)
  3. Install this plugin: nikola plugin -i vcs
  4. Run nikola vcs
  5. Check what happened (for example: git status and git log)
  6. Use your site as usual, creating posts, adding stuff or removing it
  7. GOTO 4.
  8. You may want to add nikola vcs to your deploy commands.

What it should do:

  1. Add a lot of stuff to the repo:

  2. All your posts

  3. All your pages
  4. All your galleries' images
  5. All your listings
  6. All your static files
  7. Your themes
  8. Your plugins
  9. Your conf.py

  10. Remove stuff if you removed it

  11. Commit stuff if you changed it

What it should NOT do:

  1. Lose your data
  2. Push it anywhere (yet)
  3. Manage your output (consider github_deploy would not like it!)

Please report anything missing, or any ideas on how to improve this, where you want this to go by filing issues.

Requirements:

  • anyvc (Python package)
  • py (Python package)

Issues? Questions?

You can report issues with this plugin and request help via GitHub Issues.