summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Packages.py
Commit message (Collapse)AuthorAgeFilesLines
* Packages: Solve byte string incompatibility in a different waySol Jerome2011-05-031-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: Handle builtin file type for PY3KSol Jerome2011-05-031-8/+14
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: Fix import and indent errorsSol Jerome2011-04-261-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: Add full PY3K compatibilitySol Jerome2011-04-261-8/+18
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: PY3K + PEP8 fixesSol Jerome2011-04-061-11/+24
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Packages: fix global package coalescing (Patch from Jeramey Crawford) ↵Narayan Desai2011-01-061-2/+2
| | | | (Resolves Ticket #973)
* Packages: Pylint/PEP8 fixesSol Jerome2010-11-151-11/+14
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* changed package type to 'pacman', if request package version is 'auto' and ↵Asaf2010-11-021-1/+1
| | | | its installed dont re-install
* Packages plugin / Client tools : add support for pacman based distros(arch, ↵asaf2010-11-021-0/+112
| | | | parabola), needs some more work
* Packages: fix is_pkg breakageNarayan Desai2010-09-271-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6077 ce84e21b-d406-0410-9b95-82705330c041
* Packages: restore whitelist functionality (patch from Richard Connon) ↵Narayan Desai2010-09-261-22/+20
| | | | | | (Resolves #944) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6064 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Assign the deps variable before resolution.Tim Laszlo2010-09-041-0/+1
| | | | | | If no dependencies are found a trace is thrown in the validation phase. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6048 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix type conflictNarayan Desai2010-08-301-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6044 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix type conflictNarayan Desai2010-08-301-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6043 ce84e21b-d406-0410-9b95-82705330c041
* Packages: invalidate virt_pkgs cache when source data is reloadedNarayan Desai2010-08-281-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6041 ce84e21b-d406-0410-9b95-82705330c041
* Packages: dep resolver rewriteNarayan Desai2010-08-271-154/+150
| | | | | | | | | Fix dep resolver to take all providers of a dependency into consideration. Rewrite resolver to be simpler at the same time. Added support for "apt" and "yum" as non-distro specific magic groups git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6040 ce84e21b-d406-0410-9b95-82705330c041
* Fix typosSol Jerome2010-08-141-1/+1
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6014 ce84e21b-d406-0410-9b95-82705330c041
* Don't assume python2.5 is being used on successful hashlib importSol Jerome2010-08-111-2/+4
| | | | | | | | | | | | The hashlib module has been backported to earlier versions of python. If we assume that 2.5 is in use, then python will go crazy looking for stuff that doesn't exist in earlier versions. This patch will allow older versions of python installed alongside a standalone hashlib module to work properly. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6004 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Move knobs to config.xmlTim Laszlo2010-08-041-26/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5999 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Resolver/Metadata optionsTim Laszlo2010-08-041-1/+32
| | | | | | | Patch from Jack Neely to add enable/disable options to the resolver and metadata pareser. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5998 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow soft relaods and use a checksum for cache file.Tim Laszlo2010-08-041-41/+41
| | | | | | | | Use checksum for cache file. Allow reloads of config.xml and sources without downloading everything. Merged config.xml and source processing into a single function. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5997 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Expose repo data as a ConnectorTim Laszlo2010-08-041-4/+24
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5996 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow xinclude and add XML error handlingTim Laszlo2010-07-301-6/+18
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5990 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Remove log line from black/whitelist testTim Laszlo2010-07-301-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5989 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow for whitelistingTim Laszlo2010-07-301-7/+11
| | | | | | | Patch from IRConan to allow for whitelisted packages in sources. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5988 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Treat blacklisted packages as if they don't existTim Laszlo2010-07-301-2/+2
| | | | | | | Currently a blacklisted package stops further source processing. This prevents any other sources from defining a good package. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5987 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow authentication in urlsTim Laszlo2010-07-161-2/+25
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5970 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Add RawURL support for APT sources (Patch from Remi Broemeling for ↵Sol Jerome2010-06-241-11/+16
| | | | | | | | Ticket #896) Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5958 ce84e21b-d406-0410-9b95-82705330c041
* Core: Allow the specification of plugin conflicts (Fix for Ticket #875)Sol Jerome2010-04-241-0/+1
| | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* Packages: fix handling of negative recommended directiveNarayan Desai2010-04-171-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5828 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix up config file readingNarayan Desai2010-04-171-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5827 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement support for recommended packages in APTSourcesNarayan Desai2010-04-171-6/+16
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5826 ce84e21b-d406-0410-9b95-82705330c041
* Packages: handle BoundPackage entries for prereq processingNarayan Desai2010-04-081-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5810 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement blacklist functionalityNarayan Desai2010-04-081-6/+16
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5809 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Add 'fedora' os group to the list of basegroupsSol Jerome2010-03-091-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5759 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix minor thinko in error path [bugfix]Narayan Desai2010-02-151-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5726 ce84e21b-d406-0410-9b95-82705330c041
* Packages: get rid of spurious whitespace in choice pkg namesNarayan Desai2010-02-141-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5725 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix dep issue on apt sources [bugfix]Narayan Desai2010-02-141-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5724 ce84e21b-d406-0410-9b95-82705330c041
* Packages: add pre-depends requirements for apt package sources (Resolves ↵Narayan Desai2010-02-141-1/+1
| | | | | | Ticket #832) [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5723 ce84e21b-d406-0410-9b95-82705330c041
* Packages: [bugfix]Narayan Desai2010-02-141-37/+24
| | | | | | | - fix cache file name creation - process dependencies for packages that have the same name as a multi-choice dependency (Resolves Ticket #847) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5722 ce84e21b-d406-0410-9b95-82705330c041
* Packages: process apt-source choices correctly with multi-package version ↵Narayan Desai2010-01-201-4/+4
| | | | | | requirements (Reported by gregcoit) [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5687 ce84e21b-d406-0410-9b95-82705330c041
* Packages: handle architecture changes in Yum configs [bugfix]Narayan Desai2010-01-151-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5684 ce84e21b-d406-0410-9b95-82705330c041
* Packages; use new debugging infrastructureNarayan Desai2009-11-211-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5587 ce84e21b-d406-0410-9b95-82705330c041
* Packages: create urls that work with old urllib2 (Resolves ticket #796) [bugfix]Narayan Desai2009-11-111-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5572 ce84e21b-d406-0410-9b95-82705330c041
* Packages: only log explicit packages that are unsatisfiedNarayan Desai2009-11-051-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5544 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Defer handling of virtual requirements provided by multipleNarayan Desai2009-10-221-2/+17
| | | | | | packages until last possible time (now with 100% less wtf ;) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5491 ce84e21b-d406-0410-9b95-82705330c041
* Packages: simplify package resolution logic (should resolve outstanding ↵Narayan Desai2009-10-211-95/+105
| | | | | | issues with prereq resolution) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5490 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: simplify codepaths for debug modeNarayan Desai2009-10-211-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5489 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Remove debug printNarayan Desai2009-10-191-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5488 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Add virtual packages properlyNarayan Desai2009-10-191-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5487 ce84e21b-d406-0410-9b95-82705330c041