summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Statistics.py
Commit message (Collapse)AuthorAgeFilesLines
* cherry-picked a2cc392 Switch to shallow rather than deep copies to improve ↵Chris St. Pierre2012-01-131-1/+1
| | | | performance
* Statistics: Abort if "sensitive" files are pulledHolger Weiß2011-06-301-1/+3
| | | | | | Let the Statistics plugin raise a PluginExecutionError if a "sensitive" entry is requested by "bcfg2-admin pull". This is how the DBStats plugin behaves already.
* Plugins: Add full PY3K compatibilitySol Jerome2011-04-261-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Updated files to match PEP 257 Fabian Affolter2010-06-091-5/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5904 ce84e21b-d406-0410-9b95-82705330c041
* Switching Statistics.py to ThreadedStatisticsTim Laszlo2010-06-071-19/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5890 ce84e21b-d406-0410-9b95-82705330c041
* Threaded Statistics.py and fixed xml corruptionTim Laszlo2010-06-041-5/+19
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5888 ce84e21b-d406-0410-9b95-82705330c041
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-071-7/+12
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
* Statistics: fix destructive use of statistics dataNarayan Desai2009-07-181-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5369 ce84e21b-d406-0410-9b95-82705330c041
* Finish up Pull Source and multi-Statistics codeNarayan Desai2009-01-121-4/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5012 ce84e21b-d406-0410-9b95-82705330c041
* This patch is stage 1 of the plugin capabilities reworkNarayan Desai2009-01-051-16/+26
| | | | | | | | - define new plugin base classes - switch Plugin.__name__ => Plugin.name git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5004 ce84e21b-d406-0410-9b95-82705330c041
* Improve Statistics plugin error handling when no entry pull data is ↵Narayan Desai2008-11-131-0/+2
| | | | | | available (Reported by Fernando Laudares Camargos) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4974 ce84e21b-d406-0410-9b95-82705330c041
* Fix bcfg2-admin pull (Resolves Ticket #469)Narayan Desai2008-10-241-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4950 ce84e21b-d406-0410-9b95-82705330c041
* Implement GetCurrentEntry api for Statistics and DBStats (prereq for ↵Narayan Desai2008-08-071-1/+19
| | | | | | portable bcfg2-admin pull) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4869 ce84e21b-d406-0410-9b95-82705330c041
* Switch bcfg2-admin minestruct to use the new statistics api to get at data ↵Narayan Desai2008-08-061-3/+3
| | | | | | in either of statistics.xml or dbstats directly git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4862 ce84e21b-d406-0410-9b95-82705330c041
* SSHbase: improve tempfile handling (patch from f.pauget) (Resolves Ticket #588)Narayan Desai2008-08-051-0/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4854 ce84e21b-d406-0410-9b95-82705330c041
* move xml statistics over to new typed-plugin system (enables ↵Narayan Desai2008-07-221-0/+120
direct-to-django statistics plugin) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4817 ce84e21b-d406-0410-9b95-82705330c041