summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* APT: Allow specification of deb-src lines (Resolves #1148)Sol Jerome2013-05-102-0/+9
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Packages: Fix Apt dependency resolution for py3kSol Jerome2013-04-121-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Packages: Read cache files using binary formatSol Jerome2013-04-111-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Packages: Write Packages cache in binary formatSol Jerome2013-04-111-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* remove some unnecessary __all__ variablesChris St. Pierre2013-03-291-1/+2
|
* Change generated APT sources default to someplace APT will actually look, ↵Phil Miller2013-03-281-1/+1
| | | | and avoid potential name conflicts there
* testsuite: fixed more unit test stuffChris St. Pierre2013-03-261-0/+1
|
* testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-263-5/+5
|
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-264-18/+18
|
* Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-8/+3
| | | | | | | | | * Where possible, create the file or directory that is about to be monitored. This ensures that content can be added later without need to restart Bcfg2. (Otherwise, adding the monitor would fail, and so when you did create the file in question, bcfg2-server would never be notified of it.) * When not possible, give better error messages.
* Packages: add and expose get_config() function to get configs for other hostsChris St. Pierre2013-03-252-2/+11
|
* Revert "Packages: expose full source list via Connector interface"Chris St. Pierre2013-03-251-3/+1
| | | | This reverts commit fe7a3e9c7a7d66cccbd825465cefcf88165a0c3a.
* Revert "Packages: properly implemented deepcopy() for PackagesSources objects"Chris St. Pierre2013-03-253-26/+4
| | | | This reverts commit 432f448983ff27452d82d62314d91c942f31bce5.
* Packages: properly implemented deepcopy() for PackagesSources objectsChris St. Pierre2013-03-253-4/+26
|
* Packages: expose full source list via Connector interfaceChris St. Pierre2013-03-251-1/+3
|
* fixed unit testsChris St. Pierre2013-03-211-4/+3
|
* Merge branch '1.3.2' into maintChris St. Pierre2013-03-211-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py testsuite/Testsrc/test_code_checks.py
| * added PEP-8 style checks to test suiteChris St. Pierre2013-03-111-1/+1
| |
* | YUM: Fixing long linesJason Kincl2013-02-241-2/+5
| |
* | Packages: Adding Yum groups to Bcfg2's internal dependency resolverJason Kincl2013-02-221-13/+72
| |
* | YUM: Adding functionality to YUM client tool to resolve YUM groups when ↵Jason Kincl2013-02-221-0/+5
| | | | | | | | server-side resolver is off
* | Packages: fixed overzealous deduplication of packages that removed essential ↵Chris St. Pierre2013-02-221-6/+8
|/ | | | and group packages