summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Pkgmgr.py
Commit message (Collapse)AuthorAgeFilesLines
* Pkgmgr: Fix broken altsrcTim Laszlo2012-05-221-4/+6
| | | | | | Use __contains__ instead of has_key in Pkgmgr. Gone in Py3k. Fallback on __getitem__ in PrioDir. Handles cased with an override for __getitem__ is used.
* Pkgmgr: Fix DeprecationWarning (reported by odenbach on IRC)Sol Jerome2012-03-191-2/+5
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Explicitly use child.attrib.keys(), rather than expecting child.attrib to ↵Calen Pennington2012-01-131-1/+1
| | | | interpreted as a list of keys
* Use set differences, rather than list inclusion in PkgmgrCalen Pennington2012-01-131-2/+3
|
* Fix predicate call from PkgmgrCalen Pennington2011-09-141-2/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* PY3K + PEP8 fixes for remaining filesSol Jerome2011-04-071-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: PY3K + PEP8 fixesSol Jerome2011-04-061-19/+30
| | | | 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
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-071-1/+1
| | | | | | 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
* Fix Pkgmgr virtual package target binding (Reported by TimL)Narayan Desai2009-05-201-0/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5245 ce84e21b-d406-0410-9b95-82705330c041
* Remove hacks for sets in python 2.3Sol Jerome2009-04-231-10/+4
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5169 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
* Fix Package entries for new set infrastructure (Resolves PDS's issue ↵Narayan Desai2008-10-281-1/+1
| | | | | | reported in irc) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4953 ce84e21b-d406-0410-9b95-82705330c041
* Switch Pkgmgr to using sets (for a 10X startup improvement)Narayan Desai2008-06-121-2/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4694 ce84e21b-d406-0410-9b95-82705330c041
* Fix comments in pkglists with FuzzyDictNarayan Desai2007-08-281-6/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3655 ce84e21b-d406-0410-9b95-82705330c041
* Add bind support for virtual package remappingsNarayan Desai2007-08-081-0/+13
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3613 ce84e21b-d406-0410-9b95-82705330c041
* First chunk of the Pkgmgr altsrc changes (no affect on existing setups)Narayan Desai2007-08-081-1/+48
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3612 ce84e21b-d406-0410-9b95-82705330c041
* Revert mistaken Pkgmgr matchesNarayan Desai2007-08-011-48/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3588 ce84e21b-d406-0410-9b95-82705330c041
* Client side of improved support for binary files in statisticsNarayan Desai2007-08-011-1/+48
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3587 ce84e21b-d406-0410-9b95-82705330c041
* Fix use of altsrc when using Package entries with file attributesNarayan Desai2007-07-221-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3536 ce84e21b-d406-0410-9b95-82705330c041
* Change encap splitting regular expressions to allow package names with ↵Daniel Joseph Barnhart Clark2007-07-191-3/+3
| | | | | | dashes and version names with pluses. Should solve ticket #467 (except for the not complaining about epkg.log thing, but that seems harmless). http://kodos.sourceforge.net/ is your friend. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3482 ce84e21b-d406-0410-9b95-82705330c041
* Fix pkgmgr issues with autosplit packagesNarayan Desai2007-03-271-4/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2995 ce84e21b-d406-0410-9b95-82705330c041
* Fix child node issues in Pkgmgr (for Ignore/Instance)Narayan Desai2007-03-231-3/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2991 ce84e21b-d406-0410-9b95-82705330c041
* Handle non-elements in pkglists (Resolves Ticket #403)Narayan Desai2007-02-161-2/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2831 ce84e21b-d406-0410-9b95-82705330c041
* Use dictionary substitution of formatting strings for multiarch supportNarayan Desai2006-07-181-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1967 ce84e21b-d406-0410-9b95-82705330c041
* Implement multiarch support (resolves Ticket #52)Narayan Desai2006-06-301-3/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1908 ce84e21b-d406-0410-9b95-82705330c041
* * Add diff delta support in CfgNarayan Desai2006-05-081-0/+2
| | | | | | | * Add support to propagate 'verify' status in Pkgmgr git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1859 ce84e21b-d406-0410-9b95-82705330c041
* schema updateNarayan Desai2006-04-111-1/+1
| | | | | | | pkgmgr bugfix git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1835 ce84e21b-d406-0410-9b95-82705330c041
* * Fix schema validation for host specific service entriesNarayan Desai2006-04-101-13/+18
| | | | | | | * Move to using generic rule-based core (in preparation for the rules plugin) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1827 ce84e21b-d406-0410-9b95-82705330c041
* Introduce the new logging infrastructure and convert the server (and ↵Narayan Desai2006-01-251-4/+4
| | | | | | bcfg2-info) over to using it git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1717 ce84e21b-d406-0410-9b95-82705330c041
* last step of repo switchesNarayan Desai2006-01-231-87/+41
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1716 ce84e21b-d406-0410-9b95-82705330c041
* Add package type for packages using the file attributeNarayan Desai2006-01-051-0/+1
| | | | | | | | Fix display bugs in terminal size determination Fix pkgadd problems git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1642 ce84e21b-d406-0410-9b95-82705330c041
* fix deepcopy of lxml structureNarayan Desai2005-12-211-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1635 ce84e21b-d406-0410-9b95-82705330c041
* Re-add daemonize support to the serverNarayan Desai2005-12-061-1/+1
| | | | | | | | | Fix some pylint errors Add better error handling for function calls Add mesh-mode support for sshbase git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1612 ce84e21b-d406-0410-9b95-82705330c041
* work around stupid lxml bugNarayan Desai2005-11-281-2/+4
| | | | | | | (Logical change 1.367) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1543 ce84e21b-d406-0410-9b95-82705330c041
* pylint fixesNarayan Desai2005-10-241-1/+6
| | | | | | | (Logical change 1.343) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1413 ce84e21b-d406-0410-9b95-82705330c041
* kill debug messageNarayan Desai2005-10-131-1/+0
| | | | | | | (Logical change 1.336) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1377 ce84e21b-d406-0410-9b95-82705330c041
* fix multi-regex stuffNarayan Desai2005-09-231-5/+15
| | | | | | | (Logical change 1.319) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1300 ce84e21b-d406-0410-9b95-82705330c041
* fix simplefile url generationNarayan Desai2005-09-161-16/+15
| | | | | | | | | | 2005/09/15 12:42:50-05:00 anl.gov!desai encap file entries should now work properly (Logical change 1.316) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1289 ce84e21b-d406-0410-9b95-82705330c041
* add support for cascading location -> package type mappingsNarayan Desai2005-09-131-0/+2
| | | | | | | (Logical change 1.306) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1255 ce84e21b-d406-0410-9b95-82705330c041
* switch to new Plugin APINarayan Desai2005-09-071-0/+80
| | | | | | | | | | | | switch to using Plugin.LogError 2005/09/06 22:22:25-05:00 anl.gov!desai Rename: src/lib/Server/Generators/Pkgmgr.py -> src/lib/Server/Plugins/Pkgmgr.py (Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1210 ce84e21b-d406-0410-9b95-82705330c041
* Initial revisionNarayan Desai2005-09-071-0/+0
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1198 ce84e21b-d406-0410-9b95-82705330c041