summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Packages: add parse-caching support for YumSourcesNarayan Desai2009-06-191-3/+4
| | | | | | | This commit caches the result of startup parsing, reducing startup time for YumSources. bcfg2-info startup time on my repo was reduced by 60%. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5285 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Improve YumSource performance dramaticallyNarayan Desai2009-06-181-6/+13
| | | | | | | Track needed file paths so that the contents of all packages do not need to be tracked. This reduces memory consumption ~60% on my test repository (360MB -> 60MB for bcfg2-info). woo! git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5283 ce84e21b-d406-0410-9b95-82705330c041
* Implement zultron's inter-client metadata stuffNarayan Desai2009-06-182-3/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5282 ce84e21b-d406-0410-9b95-82705330c041
* Implement -z (for Independent entries only, a la -b) (Resolves Ticket #616)Narayan Desai2009-06-142-2/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5281 ce84e21b-d406-0410-9b95-82705330c041
* Cfg: Fix hardwired filename ignores (Fixes Ticket #619)Narayan Desai2009-06-142-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5280 ce84e21b-d406-0410-9b95-82705330c041
* APT: Force cache reload to get data from source updatesNarayan Desai2009-06-141-5/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5278 ce84e21b-d406-0410-9b95-82705330c041
* Improve error message for attempted directory unlinks (Patch from Torsten ↵Narayan Desai2009-06-141-0/+3
| | | | | | Rehn) (Resolves Ticket #657) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5277 ce84e21b-d406-0410-9b95-82705330c041
* APT: fix cache invalidationNarayan Desai2009-06-141-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5276 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement caching for APTNarayan Desai2009-06-141-26/+60
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5275 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement repomd support for yum sourcesNarayan Desai2009-06-141-16/+45
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5274 ce84e21b-d406-0410-9b95-82705330c041
* Fix Yum URL sourcesNarayan Desai2009-06-111-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5273 ce84e21b-d406-0410-9b95-82705330c041
* Improve bundler error handling for .genshi filesNarayan Desai2009-06-111-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5272 ce84e21b-d406-0410-9b95-82705330c041
* Implement RawURL supportNarayan Desai2009-06-111-7/+16
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5271 ce84e21b-d406-0410-9b95-82705330c041
* Fixed bug in Init.py with setting up Bcfg2-admin for the first time.James Yang2009-06-091-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5269 ce84e21b-d406-0410-9b95-82705330c041
* Fix yum api use for centos 4 compatibility (Resolves Ticket #670)Narayan Desai2009-06-051-6/+20
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5268 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2.conf updates for 1.0pre3Sol Jerome2009-06-031-3/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5267 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: Add --date for detailed view for a particular dateSol Jerome2009-06-012-0/+30
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5266 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Fix cases where arch group mappings are unexpectedNarayan Desai2009-05-291-3/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5265 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: SimpleXMLRPCServer patch for python 2.4 (Patch from Jack Neely)Sol Jerome2009-05-291-44/+46
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5264 ce84e21b-d406-0410-9b95-82705330c041
* Send messages to loggerSol Jerome2009-05-291-2/+2
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5263 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Fix traceback with missing config.xml (Reported by Jack Neely)Sol Jerome2009-05-291-1/+6
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5262 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Make cache directory creation recursiveSol Jerome2009-05-291-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5261 ce84e21b-d406-0410-9b95-82705330c041
* Fall back to previous XMLRPCDispatcher calling convention (Resolves Ticket #669)Narayan Desai2009-05-291-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5260 ce84e21b-d406-0410-9b95-82705330c041
* Pull out hashlib for the momentNarayan Desai2009-05-291-8/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5259 ce84e21b-d406-0410-9b95-82705330c041
* Add back python 2.3 fixes for {RPM,YUM}ngSol Jerome2009-05-272-0/+12
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5258 ce84e21b-d406-0410-9b95-82705330c041
* Revert "Remove last traces of popen2 from client code"Sol Jerome2009-05-271-12/+38
| | | | | | | | | | | This reverts commit 5167. We are still supporting python2.3 on the client. This can be redone once we start supporting 2.4 or greater. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5257 ce84e21b-d406-0410-9b95-82705330c041
* Make pseudofam work on systems without GaminNarayan Desai2009-05-241-11/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5256 ce84e21b-d406-0410-9b95-82705330c041
* APT.Remove: Split up package names properlySol Jerome2009-05-221-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5252 ce84e21b-d406-0410-9b95-82705330c041
* Fix fd leak caused by our use of the subprocess APINarayan Desai2009-05-221-5/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5251 ce84e21b-d406-0410-9b95-82705330c041
* Packages: improve terseness of resolver debug messagesNarayan Desai2009-05-201-5/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5249 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement dependency resolver debugging (and fix some bugs shown ↵Narayan Desai2009-05-201-7/+18
| | | | | | by it) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5248 ce84e21b-d406-0410-9b95-82705330c041
* Log auth changes for bootstrap modeNarayan Desai2009-05-201-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5247 ce84e21b-d406-0410-9b95-82705330c041
* Implement cert bootstrap mode for SSL authNarayan Desai2009-05-201-2/+13
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5246 ce84e21b-d406-0410-9b95-82705330c041
* Fix Pkgmgr virtual package target binding (Reported by TimL)Narayan Desai2009-05-202-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5245 ce84e21b-d406-0410-9b95-82705330c041
* SSL: Implememt client-side server cN verificationNarayan Desai2009-05-192-5/+28
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5244 ce84e21b-d406-0410-9b95-82705330c041
* Add support for probed groups in bcfg2-admin query (Resolves Ticket #647)Sol Jerome2009-05-181-1/+8
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5242 ce84e21b-d406-0410-9b95-82705330c041
* Add back updates for VCS pluginsSol Jerome2009-05-151-0/+4
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5241 ce84e21b-d406-0410-9b95-82705330c041
* pylint fixesNarayan Desai2009-05-151-4/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5240 ce84e21b-d406-0410-9b95-82705330c041
* Merge xmlrpc interfaces with Bcfg2.Server.CoreNarayan Desai2009-05-152-179/+151
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5238 ce84e21b-d406-0410-9b95-82705330c041
* Remove deprecated RPM and Yum driversNarayan Desai2009-05-153-158/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5237 ce84e21b-d406-0410-9b95-82705330c041
* Implement count field for statisticsNarayan Desai2009-05-152-3/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5236 ce84e21b-d406-0410-9b95-82705330c041
* Remove incorrect pseudo filemonitor warningNarayan Desai2009-05-151-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5235 ce84e21b-d406-0410-9b95-82705330c041
* Fix fam tracebacks for Ticket #650Sol Jerome2009-05-151-9/+29
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5234 ce84e21b-d406-0410-9b95-82705330c041
* 'N' is the default actionSol Jerome2009-05-141-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5233 ce84e21b-d406-0410-9b95-82705330c041
* Fix reversed options (Reported by Kamil Kisiel)Sol Jerome2009-05-141-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5232 ce84e21b-d406-0410-9b95-82705330c041
* Fix one more try/except/finallyNarayan Desai2009-05-141-4/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5231 ce84e21b-d406-0410-9b95-82705330c041
* Fix py2.4 portability (try/except/finally is 2.5+) (Reported by Lisa Giacchetti)Narayan Desai2009-05-141-8/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5229 ce84e21b-d406-0410-9b95-82705330c041
* Implement perf-reporting clientNarayan Desai2009-05-143-44/+43
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5228 ce84e21b-d406-0410-9b95-82705330c041
* Implement perf-reporting clientNarayan Desai2009-05-141-0/+37
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5227 ce84e21b-d406-0410-9b95-82705330c041
* Remove deprecated fingerprint admin modeNarayan Desai2009-05-142-28/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5226 ce84e21b-d406-0410-9b95-82705330c041