summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-info
Commit message (Collapse)AuthorAgeFilesLines
* bcfg2-info: Add patch from Fabian AffolterSol Jerome2010-05-041-3/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5853 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Remove support for old-style posix entriesSol Jerome2009-11-191-8/+8
| | | | | | | | | | | This commit forces the user to specify <Path> entries on the server side while still maintaining compatibility with old clients via the POSIXCompat plugin. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5582 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: fix traceback when python-profiler is not available (see Ticket ↵Narayan Desai2009-10-301-4/+13
| | | | | | #767 for details) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5516 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: Implement debug script modeNarayan Desai2009-10-261-3/+22
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5504 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: simplify codepaths for debug modeNarayan Desai2009-10-211-33/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5489 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: Implement debug mode explicitlySol Jerome2009-10-161-10/+51
| | | | | | | | | | | This commit allows us to explicitly start a debugging console rather than relying on python -i trickery. It also makes the debugging interpreter more consistent with a regular python interpreter. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5486 ce84e21b-d406-0410-9b95-82705330c041
* Enhanced bcfg2-info to implement a new "builddir" command.Mike McCallister2009-10-081-0/+81
| | | | | | | | | | | | | | | This new command is similar to the "build" command, except that instead of writing the complete config to a single file, it writes the ConfigFile elements from the config into separate files in their appropriate locations in a directory tree. This is based on the functionality (and implementation) found in the tools/bcfg2-export-config script, which does not currently work due to being out of sync with updates made to Bcfg2 library functions on which it depends. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5479 ce84e21b-d406-0410-9b95-82705330c041
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-071-3/+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
* bcfg2-info: refuse to write build output outside of /tmp without -f flag ↵Narayan Desai2009-09-181-3/+11
| | | | | | (Resolves Ticket #737) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5439 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: Fix traceback when client has no bundlesSol Jerome2009-09-151-1/+2
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5433 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: improve showclient displayNarayan Desai2009-09-091-4/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5421 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: implement more showclient command that displays connector dataNarayan Desai2009-07-181-28/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5359 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: change profiling options to be more usefulNarayan Desai2009-07-161-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5341 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: reduce size of startup event windowNarayan Desai2009-07-161-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5334 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: fix showclient traceback (Reported by teknix on irc)Narayan Desai2009-07-101-2/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5317 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: add complete profiling supportNarayan Desai2009-06-211-25/+29
| | | | | | | | | | Build uniform profiling support for both core startup and individual commands. Also ensure that single shot commands (from argv) work properly. Core profiling (for startup) can be enabled with -p, and individual commands can be profiled by prefixing the profile command, a la: > profile build ubik3 /tmp/ubik3.xml git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5290 ce84e21b-d406-0410-9b95-82705330c041
* Fix exit in bcfg2-infoNarayan Desai2009-05-151-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5239 ce84e21b-d406-0410-9b95-82705330c041
* Merge xmlrpc interfaces with Bcfg2.Server.CoreNarayan Desai2009-05-151-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5238 ce84e21b-d406-0410-9b95-82705330c041
* Clean up File Monitoring code/adapt to new server infrastructureNarayan Desai2009-05-061-4/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5202 ce84e21b-d406-0410-9b95-82705330c041
* Fix some simple python 2to3 changesSol Jerome2009-04-231-23/+23
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5170 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: pretty print generated configurationsNarayan Desai2009-03-191-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5128 ce84e21b-d406-0410-9b95-82705330c041
* Fix debug mode after profiling updatesNarayan Desai2009-03-181-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5126 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: Remove hardcoded profiling optionNarayan Desai2009-03-161-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5120 ce84e21b-d406-0410-9b95-82705330c041
* improve startup even handling for bcfg2-info and bcfg2-serverNarayan Desai2009-03-091-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5115 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: add option trace file option for profiling modeNarayan Desai2009-03-091-5/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5113 ce84e21b-d406-0410-9b95-82705330c041
* Implement profiler mode for bcfg2-infoNarayan Desai2009-03-091-8/+28
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5111 ce84e21b-d406-0410-9b95-82705330c041
* Add Version plugin typeSol Jerome2009-01-261-4/+3
| | | | | | | | | | | | | | | The following changes were made: * Remove VCS logic out of the Core * Add Git/Svn plugins * Remove config file directive in bcfg2.conf Use of the plugins are enabled by adding Git or Svn (or both) to the plugins line of bcfg2.conf Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5044 ce84e21b-d406-0410-9b95-82705330c041
* Revert accidental svn keyword changes and add minor pylint fixesSol Jerome2009-01-151-4/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5027 ce84e21b-d406-0410-9b95-82705330c041
* Add support for alternate VCS backendsSol Jerome2009-01-131-5/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5023 ce84e21b-d406-0410-9b95-82705330c041
* Plugin configuration change: all plugins now need to be specified in the ↵Narayan Desai2009-01-121-10/+5
| | | | | | plugins line in bcfg2.conf (no more structures, generators, or connectors lines) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5014 ce84e21b-d406-0410-9b95-82705330c041
* Rework bcfg2-info/showclient to use new metadata interfaceNarayan Desai2009-01-101-11/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5006 ce84e21b-d406-0410-9b95-82705330c041
* This patch is stage 1 of the plugin capabilities reworkNarayan Desai2009-01-051-1/+1
| | | | | | | | - 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
* Implement metadata connector functionalityNarayan Desai2008-12-241-14/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5000 ce84e21b-d406-0410-9b95-82705330c041
* Update dictionary accesses to work with Python 3.0Sol Jerome2008-12-221-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4999 ce84e21b-d406-0410-9b95-82705330c041
* applied logging->logger patchJames Yang2008-08-051-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4852 ce84e21b-d406-0410-9b95-82705330c041
* Fix bcfg2-info for core api change (Resolves Ticket #583)Narayan Desai2008-07-291-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4840 ce84e21b-d406-0410-9b95-82705330c041
* Implement support for non-configuration pluginsNarayan Desai2008-07-281-4/+7
| | | | | | | | | - add new configuration option - switch all callers over to new Core api - fork RecvStats when DBStats is in use git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4831 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: add cfgdebug functionNarayan Desai2008-07-141-0/+22
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4782 ce84e21b-d406-0410-9b95-82705330c041
* added event debugging on load with -d optionAndrew Brestick2008-07-141-6/+13
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4781 ce84e21b-d406-0410-9b95-82705330c041
* Unicode support (from stousignant) (Resolves Ticket #549)Narayan Desai2008-06-301-6/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4731 ce84e21b-d406-0410-9b95-82705330c041
* Probe data loaded whenever Metadata plugin is usedAndrew Brestick2008-06-201-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4702 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: Fix use of command line options in non-interactive mode ↵Narayan Desai2008-05-031-2/+2
| | | | | | (Resolves Ticket #550) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4590 ce84e21b-d406-0410-9b95-82705330c041
* Fix bcfg2-info interactions with BoundEntriesNarayan Desai2008-04-241-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4557 ce84e21b-d406-0410-9b95-82705330c041
* implement bcfg2-info non-interactive modeNarayan Desai2008-04-241-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4556 ce84e21b-d406-0410-9b95-82705330c041
* Speed up bcfg2-info startupNarayan Desai2008-03-241-5/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4448 ce84e21b-d406-0410-9b95-82705330c041
* Implement filesystem event debugging in bcfg2-info (new command event_debug)Narayan Desai2008-03-221-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4440 ce84e21b-d406-0410-9b95-82705330c041
* remove debug message from bcfg2-infoNarayan Desai2008-03-091-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4405 ce84e21b-d406-0410-9b95-82705330c041
* Pull internal option parsing out of CoreNarayan Desai2008-01-081-4/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4198 ce84e21b-d406-0410-9b95-82705330c041
* Switch over to more Options usage and complete tests (everything appears to ↵Narayan Desai2007-12-311-10/+4
| | | | | | work now) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4142 ce84e21b-d406-0410-9b95-82705330c041
* Settings class to remove redundant code for parsing config file.Robert Gogolok2007-12-301-3/+7
| | | | | | | | | | If a module wants to access bcfg2 settings: from Bcfg2.Settings import settings git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4131 ce84e21b-d406-0410-9b95-82705330c041