summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugin/helpers.py
Commit message (Collapse)AuthorAgeFilesLines
* cleared pylint error on PluginDatabaseModel metadata optionsChris St. Pierre2014-03-031-1/+2
|
* helpers: better error message when failing to read FileBackedChris St. Pierre2014-02-251-1/+2
|
* XMLSrc: Load XML in one step instead of separate read and parseChris St. Pierre2013-12-091-9/+2
|
* testsuite: fixed unit tests for database fixesChris St. Pierre2013-11-251-4/+5
|
* Core: Avoid starting server if database is enabled but cannot be usedChris St. Pierre2013-11-251-4/+13
| | | | | | | Plugins that use the database often act quite differently depending on whether or not the database is enabled. If we start the server without the database (e.g., the connection failed), then Very Strange Things can happen.
* XMLFileBacked: removed unused variableChris St. Pierre2013-09-111-1/+1
|
* XMLFileBacked: Fixed multiple identical XIncludes in one fileChris St. Pierre2013-09-111-12/+9
|
* XMLFileBacked: Monitor XIncludes whenever a FAM is availableChris St. Pierre2013-09-041-3/+4
| | | | | | | | | | This monitors XIncluded files even if should_monitor=False, since the object monitoring the base file will not monitor XIncludes. This ensures that XIncluded files are properly monitored whenever possible, particularly for Bundler and Properties. This is a partial backport of 5b66845 -- as much of a backport as is possible without a module-level FAM object.
* tools: make migrate_info.py migrate "perms" ↵Chris St. Pierre2013-05-221-9/+9
| | | | (http://trac.mcs.anl.gov/projects/bcfg2/ticket/1150)
* XMLFileBacked: fixed deprecated logic when create is lxml.etree._Element objectChris St. Pierre2013-03-281-2/+2
|
* XMLFileBacked: track FAM monitors separately from processed xincludes to ↵Chris St. Pierre2013-03-271-2/+8
| | | | avoid infinite loop with pseudo FAM
* testsuite: fixed more unit test stuffChris St. Pierre2013-03-261-4/+4
|
* fixed regex errors introduced by 6c996f42c53a36fc0406f836d64b8c1bec6f4bccChris St. Pierre2013-03-261-3/+3
|
* testsuite: can't disable pylint R0924, since it doesn't exist on older ↵Chris St. Pierre2013-03-261-0/+9
| | | | pylint and pylint barfs
* Plugin: use appropriate loggers for Debuggable helper objectsChris St. Pierre2013-03-261-34/+35
|
* testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-261-13/+13
|
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-261-13/+13
|
* Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-9/+38
| | | | | | | | | * Where possible, create the file or directory that is about to be monitored. This ensures that content can be added later without need to restart Bcfg2. (Otherwise, adding the monitor would fail, and so when you did create the file in question, bcfg2-server would never be notified of it.) * When not possible, give better error messages.
* Revert "Packages: properly implemented deepcopy() for PackagesSources objects"Chris St. Pierre2013-03-251-33/+0
| | | | This reverts commit 432f448983ff27452d82d62314d91c942f31bce5.
* Packages: properly implemented deepcopy() for PackagesSources objectsChris St. Pierre2013-03-251-0/+33
|
* XMLFileBacked: fixed XIncludeChris St. Pierre2013-03-221-0/+1
| | | | | | | | Clear out "extras" when each event is handled to ensure that we start fresh. Failure to do so prevents the wildcard XInclude munging to work, so the first time an event is processed everything is fine; but when subsequent events are processed, _follow_xincludes() thinks that each xinclude tag has already been munged and only removes it.
* added support for wildcard XInclude in XMLFileBackedChris St. Pierre2013-02-141-11/+20
|
* read default Path metadata from config file properlyChris St. Pierre2013-01-171-1/+3
|
* get default metadata for Path entries from config file given on command lineChris St. Pierre2013-01-161-1/+1
|
* StructFile: removed unnecessary exception handling in Index()Chris St. Pierre2013-01-031-10/+4
|
* python < 2.6 doesn't support * magic on dotted namesChris St. Pierre2012-12-181-1/+2
|
* added unit tests for Rules and DefaultsChris St. Pierre2012-12-181-6/+2
|
* StructFile: get text from matching elements in XMLMatchChris St. Pierre2012-12-101-0/+5
|
* fixed plugin-specific implementations of toggle_debug for new set_debug stuffChris St. Pierre2012-11-161-5/+5
|
* fixed unit testsChris St. Pierre2012-10-291-3/+6
|
* added database locking to MetadataChris St. Pierre2012-10-291-9/+11
|
* Probes/DatabaseBackend: add a thread lock for databases that cannot handle ↵Tim Laszlo2012-10-261-0/+29
| | | | multiple writes
* improved error messages during failed decryptionChris St. Pierre2012-10-241-0/+3
|
* fixed a few straggling perms -> mode changesChris St. Pierre2012-10-151-1/+1
|
* Plugins: Fix info/:info regexSol Jerome2012-10-151-4/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* documented Statistics interfaceChris St. Pierre2012-10-151-3/+5
|
* wrote sphinx docs for base server CoreChris St. Pierre2012-10-151-1/+1
|
* XMLFileBacked: clarified docs on __identifier__Chris St. Pierre2012-10-101-7/+28
|
* moved track_statistics to plugin helpers to make it usable by pluginsChris St. Pierre2012-10-101-3/+37
|
* testsuite: unit tests for Cfg plugin and base handlersChris St. Pierre2012-10-021-1/+2
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-79/+105
|
* documented PackagesSourcesChris St. Pierre2012-09-201-2/+2
|
* Cfg: documented all Cfg modules, added development docsChris St. Pierre2012-09-111-53/+78
|
* Documented all plugin helper objectsChris St. Pierre2012-09-061-82/+566
|
* split up mammoth Plugin.pyChris St. Pierre2012-09-061-0/+965