summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Pkgmgr.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove blanket excepts from plugins and lintChris St. Pierre2015-02-181-6/+2
| | | | | | | | | | This removes most blanket except: clauses from all plugins, including the base plugin libraries, and bcfg2-lint. The few that remain should all be necessary. Most of the changes were quite minor, but this did require some restructuring of the CfgPrivateKeyCreator; as a result, the tests for that module were rewritten.
* Pylint/PEP8 fixesSol Jerome2013-09-061-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Options: migrated plugins to new options parserChris St. Pierre2013-06-271-44/+0
|
* Replaced XMLSrc with StructFileChris St. Pierre2013-05-201-51/+172
| | | | | | | | | | | | | | | | XMLSrc and StructFile were very different implementations of basically the same thing. StructFile has gotten lots and lots of improvements, while XMLSrc, with its wonky, unintuitive interface, has floundered. This replaces XMLSrc with StructFile (nearly) everywhere, and rebases everything that inherited from XMLSrc with StructFile. XMLSrc lives on somewhat in the Pkgmgr plugin's PNode and PkgSrc objects, where originally inherited from the XMLSrc and INode objects but are now the only implementation of that older interface. Pkgmgr was left as-is because a) it's a little-used plugin; b) it's in need of a rewrite anyway; and c) it has deep, deep hooks into the guts of XMLSrc and INode, and rewriting it with StructFile was deeply nontrivial.
* doc: added devel docs for bcfg2-lint pluginsChris St. Pierre2013-05-141-6/+10
|
* Hostbase: Avoid DeprecationWarningSol Jerome2012-08-121-0/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Pkgmgr: missing os importTim Laszlo2012-07-251-0/+1
|
* made bcfg2-lint load lint plugins from server plugins where appropriateChris St. Pierre2012-06-141-2/+42
|
* Pkgmgr: Fix broken altsrcTim Laszlo2012-05-221-4/+6
| | | | | | Use __contains__ instead of has_key in Pkgmgr. Gone in Py3k. Fallback on __getitem__ in PrioDir. Handles cased with an override for __getitem__ is used.
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-0/+169
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>