summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages
Commit message (Collapse)AuthorAgeFilesLines
* Plugins/Packages/Portage: do not try to update the {var,port}tree instancesv1.3.4-spline2Alexander Sulfrian2014-02-281-6/+4
|
* Plugins/Packages/Layman: add support for layman overlaysAlexander Sulfrian2014-02-262-0/+141
| | | | | | In combination with the PortageCollection the Packages plugin could now handle layman overlays. The Portage collection evaluates the dependencies with respect to the configured overlays.
* Plugins/Packages/Portage: add support for per-package flagsAlexander Sulfrian2014-02-261-11/+2
|
* Plugins/PkgVars: support multiple values per packageAlexander Sulfrian2014-02-261-2/+2
| | | | | If multiple values specified for one package all values are joined together in a set.
* Plugins/Packages/Portage: add Packages Plugin for PortageAlexander Sulfrian2014-02-261-0/+331
|
* Plugins/Packages/Collection: add cclass marker for SourcesAlexander Sulfrian2014-02-261-5/+7
| | | | | | | | | | | The classes of Sources could now specify another class for the Collection container. One host could only use one Collection class at a time. So all different Sources have to reference the same Collection. If no "cclass" is defined in the Sources class, the collection class name is generated by striping the "Source" string from the Sources class name like before.
* Packages/Apt: add name property to additional_dataAlexander Sulfrian2014-02-261-1/+1
|
* Packages/Apt: add pin attribute for extra pinning informationAlexander Sulfrian2014-02-261-1/+5
|
* Packages/Apt: add priority to additional_infoAlexander Sulfrian2014-02-261-1/+1
|
* Plugins/PkgVars: new plugin to set various vars per packageAlexander Sulfrian2014-02-263-7/+34
| | | | | | | This plugins allows the setting of varius flags per package. It should be used f.e. to specify pinnings for debian packages or use flags and keywords for gentoo packages (needs to be implemented by future Portage plugin).
* Packages: add name to sourcesAlexander Sulfrian2014-02-261-0/+3
|
* Packages: add priority to sources and sort according to itAlexander Sulfrian2014-02-262-0/+5
|
* Plugins/Packages: ability to overwrite recommended flag per packageAlexander Sulfrian2014-02-265-22/+68
|
* Fixed typoChris St. Pierre2014-02-211-1/+1
| | | | Note to self: do not push code before 9 am
* Yum: fix pylint testsChris St. Pierre2014-02-211-2/+2
|
* Yum: only fork to find bcfg2-yum-helper once, for realChris St. Pierre2014-02-211-2/+2
|
* testsuite: Fixed several pylint 1.0 issuesChris St. Pierre2014-02-212-3/+3
|
* Merge pull request #149 from danfoster/apt-essential-cacheChris St. Pierre2014-02-101-0/+1
|\ | | | | Essential package list cache is not cleared when Packages is refreshed
| * Reset essential package list to an empty set when Packages is refreshedDan Foster2013-12-291-0/+1
| |
* | fixed pylint testsChris St. Pierre2014-01-301-1/+2
| |
* | load correct JSON library on py2.4Chris St. Pierre2014-01-291-1/+2
| |
* | Packages: fixed metadata.Packages["sources"]Chris St. Pierre2013-10-091-1/+1
| |
* | Packages: always add collections to group/package cacheChris St. Pierre2013-08-091-4/+8
| | | | | | | | | | | | | | This fixes cases where the collection itself would not be cached because a host had no sources, or multiple sources of different types; we still want to cache package group results and package sets (both of which will be empty).
* | MultiprocessingCore: added a way to dispatch RMI calls to child processesChris St. Pierre2013-08-071-0/+3
| |
* | Plugin: added new Caching interfaceChris St. Pierre2013-08-071-0/+5
| | | | | | | | | | | | | | This gives a single unified interface for expiring caches, no matter the plugin. This will be particularly useful with the MultiprocessingCore, as certain calls must be dispatched to child processes to expire their caches.
* | Packages: cache group and package selectionsChris St. Pierre2013-08-071-5/+32
| |
* | Yum: better errors when yum helper output isn't valid JSONChris St. Pierre2013-08-051-3/+8
| |
* | Yum: suppress warning about class variable assignmentChris St. Pierre2013-08-011-0/+2
| |
* | Yum: Fixed class-scope variable assignmentsChris St. Pierre2013-08-011-4/+6
| |
* | Packages: reduce source_from_xml() calls on startupChris St. Pierre2013-07-311-6/+6
| |
* | Yum: record helper location in class variable so it's only detected onceChris St. Pierre2013-07-311-1/+2
| |
* | Packages: instantiate Executor before determining path to helperChris St. Pierre2013-07-221-5/+4
| |
* | Packages: Added timeout to bcfg2-yum-helper callsChris St. Pierre2013-07-221-34/+20
| | | | | | | | | | | | | | This involved making the Yum backend use Bcfg2.Utils.Executor to call bcfg2-yum-helper instead of subprocess.Popen directly. This was cherry-picked (kinda) from 3d06f311274d6b942ee89d8cdb13b2ecc99af1b0, so will likely break the maint -> master merge in spectacular ways.
* | Packages: added lock to yum cache updateChris St. Pierre2013-07-181-0/+13
| |
* | Packages: make opportunistic yum cache creation respect metadata=disabledChris St. Pierre2013-07-181-1/+22
| |
* | Yum: Removed unused importChris St. Pierre2013-07-181-2/+1
| |
* | Packages: fixed read-only yum cacheChris St. Pierre2013-07-181-29/+4
| | | | | | | | | | | | Replaced incredibly stupid (mea culpa!) and race-condition-prone system that toggled filesystem permissions (what was I thinking?!?) with judicious application of the yum cacheonly option.
* | Packages: better stringification/representation of OnDemandDictChris St. Pierre2013-07-181-1/+1
| |
* | Packages: use a separate yum persistdir per cacheChris St. Pierre2013-07-181-0/+1
| |
* | Packages: added missing docstringChris St. Pierre2013-07-151-0/+3
| |
* | Read-only yum cacheChris St. Pierre2013-07-153-27/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the yum cache read-only so that bcfg2-yum-helper cannot update the cache on the fly, which should help avoid locking issues with the yum caches that can cause client runs to fail. It also makes the Packages plugin behave more consistently, since use of yum libraries won't cause the cache to be refreshed at random times on the fly, but rather more predictably as with the Apt cache or the yum cache without using yum libraries. Unlike those two cases, though, the caches will not all be downloaded initially, but rather opportunistically as needed. In order for this to work, the Bcfg2 server must not run as root. Root ignores the 'w' permissions bit, so the cache cannot be made read-only.
* | Plugins/Packages: add missing format string parameterAlexander Sulfrian2013-06-281-1/+2
| |
* | Yum: fixed logging bcfg2-yum-helper error outputChris St. Pierre2013-06-191-1/+3
| |
* | Yum: fixed yum-helper logging for real this time, i totally swearChris St. Pierre2013-06-131-1/+1
| |
* | Yum: fixed verbose logging from bcfg2-yum-helperChris St. Pierre2013-06-131-1/+1
| |
* | Yum: handle and log helper errors betterChris St. Pierre2013-06-131-5/+16
| |
* | Packages: handle bcfg2-yum-helper failures more gracefullyChris St. Pierre2013-06-031-10/+22
|/
* Yum: prevent traceback with empty repositoryChris St. Pierre2013-05-211-2/+2
|
* Packages: don't cache package collections with no sourcesChris St. Pierre2013-05-211-2/+3
|
* Packages: handle URLErrors (e.g., timeouts) when downloading GPG keys betterChris St. Pierre2013-05-101-2/+2
|