Hi all,
Over the past few weeks I have been working to improve the SR tools
infrastructure to make it easier to package, develop and test them while
also adding a few useful, but long-desired, tools.
The main list of changes are:
* The tools are now installable as a proper Python package using
'Setuptools'.
* Sphinx based documentation is now in the repository and currently
being hosted on Read the Docs [0].
* Man pages are now available separately for all the commands
(generated with Sphinx).
* Python 3 is officially supported (and is better supported than
Python 2).
* A new 'inv-history' command has been added allowing historical
information about an asset to be viewed.
* An 'inv-validate' tool has been created (prompted by this list post
[1]) to check the inventory is in a valid state.
* A few tests were written during development (and a Travis CI
configuration file has been added).
Although the tools have been tested and I'm fairly confident all the
commands work, I would appreciate some other people testing before I
merge the changes into the 'master' branch. I intend on doing this on
the 31st January to give people some time to adapt.
To install the new tools, clone the 'tools.git' repo, change to the
'new-tools' branch and read the 'README.md' file. The documentation
currently talks about installing from the 'master' branch under the
assumption this will be the case shortly.
Tom
[0]:
https://srtools.readthedocs.org/en/latest/
[1]:
https://groups.google.com/d/topic/srobo-devel/yF29dHWCOmQ/discussion