Import 2017-06-07 23:51:09: master 3d1618b2

Author Committer Branch Timestamp Parent
jcfr jcfr master 2016-11-22 17:51:33 master 7e555562
Changeset

ENH: Add python cli automating versioning of Slicer wiki documentation

See https://www.slicer.org/wiki/Documentation/Nightly/Developers/ReleaseProcess#Update_Slicer_wiki

$ python wiki.py --help
usage: wiki.py [-h] [--log-level LOG_LEVEL] [--password PASSWORD]
               {query,copy,update} ...

This command-line tool allows to `version` Slicer mediawiki documentation. It
has three main modes of operation: ``query``, `copy` and ``update``.

positional arguments:
  {query,copy,update}   available sub-commands
    query               obtain version information
    copy                copy Nightly pages into RELEASE_VERSION namespace
    update              create and/or update wiki pages with RELEASE_VERSION

optional arguments:
  -h, --help            show this help message and exit
  --log-level LOG_LEVEL
                        Level of debug verbosity. DEBUG, INFO, WARNING, ERROR,
                        CRITICAL.
  --password PASSWORD   password for 'UpdateBot' user. By default, try to get
                        password from 'SLICER_WIKI_UPDATEBOT_PWD' environment
                        variable.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25571 3bd1e089-480b-0410-8dfb-8563597acbee

add - Base/Python/slicer/release/wiki.py Diff File