summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Packages.py
Commit message (Collapse)AuthorAgeFilesLines
* Packages: Reverse sorting order for sources, allowing sources to work ↵Narayan Desai2009-07-151-0/+2
| | | | | | similarly to apt-get config. (Resolves Ticket #691) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5329 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Smarten up Yum dep resolverNarayan Desai2009-07-081-10/+13
| | | | | | | | Track all providers of required files; this allows us to use the common framework for multiple providers and gets rid of pathological behavior relating to packaging oddities (in particular, package kdebindings offering /usr/lib64/python2.4 on centos 5.2) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5315 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Fix YumSource file map pruningNarayan Desai2009-07-071-1/+1
| | | | | | Propertly keep all files that are referenced by any packages in the source. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5309 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Fix file architecture tagging for YumSources (patch from slack)Narayan Desai2009-06-291-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5303 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix handling of architectures for RawURL YumSourcesNarayan Desai2009-06-231-17/+23
| | | | | | Add dictionary tracking YumSource architecture mappings for cache files git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5292 ce84e21b-d406-0410-9b95-82705330c041
* 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
* 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
* 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
* 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
* 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
* 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
* Packages: improve error handing (Patch from Tim Laszlo)Narayan Desai2009-04-231-4/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5175 ce84e21b-d406-0410-9b95-82705330c041
* Packages patch from Tim LaszloNarayan Desai2009-04-231-6/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5171 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Fix ptype error handlingNarayan Desai2009-04-151-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5165 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Implement proper support for provides targets with multiple providersNarayan Desai2009-04-061-3/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5153 ce84e21b-d406-0410-9b95-82705330c041
* Fix multi-arch yum sourcesNarayan Desai2009-04-061-2/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5152 ce84e21b-d406-0410-9b95-82705330c041
* fix typoNarayan Desai2009-04-021-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5150 ce84e21b-d406-0410-9b95-82705330c041
* Remove hardcoded group names from plugin body, instead, auto-activate based ↵Narayan Desai2009-04-021-1/+3
| | | | | | on active sources git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5149 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Implement full yum dep resolver and improve error handlingNarayan Desai2009-03-191-78/+217
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5127 ce84e21b-d406-0410-9b95-82705330c041
* Raise exception when cached files do not existSol Jerome2009-03-091-0/+1
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5116 ce84e21b-d406-0410-9b95-82705330c041
* Packages: handle APT virtual packages properlyNarayan Desai2009-02-051-3/+50
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5065 ce84e21b-d406-0410-9b95-82705330c041
* Packages bug fixNarayan Desai2009-02-021-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5054 ce84e21b-d406-0410-9b95-82705330c041
* Create cachedir if it doesn't existSol Jerome2009-01-221-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5038 ce84e21b-d406-0410-9b95-82705330c041
* Packages: only kick in on package entriesNarayan Desai2009-01-211-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5035 ce84e21b-d406-0410-9b95-82705330c041
* more error handling for PackagesNarayan Desai2009-01-211-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5030 ce84e21b-d406-0410-9b95-82705330c041
* Infrastructure and initial implementation of the Packages pluginNarayan Desai2009-01-211-0/+159
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5029 ce84e21b-d406-0410-9b95-82705330c041