summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools/APT.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maint'Alexander Sulfrian2015-06-121-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/changelog doc/conf.py misc/bcfg2-selinux.spec misc/bcfg2.spec osx/Makefile osx/macports/Portfile solaris-ips/MANIFEST.bcfg2-server.header solaris-ips/MANIFEST.bcfg2.header solaris-ips/Makefile solaris-ips/pkginfo.bcfg2 solaris-ips/pkginfo.bcfg2-server solaris/Makefile solaris/pkginfo.bcfg2 solaris/pkginfo.bcfg2-server src/lib/Bcfg2/Client/Tools/APT.py src/lib/Bcfg2/Client/Tools/FreeBSDInit.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Reporting/templates/base.html src/lib/Bcfg2/Server/CherrypyCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/__init__.py src/lib/Bcfg2/Server/Lint/Validate.py src/lib/Bcfg2/Server/Lint/__init__.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/__init__.py src/lib/Bcfg2/Server/Plugins/GroupPatterns.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/SSHbase.py src/lib/Bcfg2/Server/Plugins/SSLCA.py src/lib/Bcfg2/version.py src/sbin/bcfg2-info src/sbin/bcfg2-test testsuite/requirements.txt
| * APT.py: Fix syntax error introduced in cae39b7Sol Jerome2015-03-191-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * Fix pylint errorsChris St. Pierre2015-02-251-16/+14
| | | | | | | | | | | | | | | | | | This also pins pylint to <= 0.28 so we don't have to keep playing whack-a-mole with it. Also removes unnecessary suppression of apt warnings. This is no longer necessary in 12.04, so should be safe to remove. If you're on Ubuntu < 12.04, upgrade for heaven's sake.
* | Merge branch 'fix-extra-packages' of https://github.com/AlexanderS/bcfg2Sol Jerome2015-03-181-2/+2
|\ \
| * | Client/Tools: Report the version of extra packages as current_version.Alexander Sulfrian2015-02-191-2/+2
| | | | | | | | | | | | | | | The version of extra packages should be reported as current_version and not as target_version.
* | | Client/Tools/APT: Fix regression of ee4111fcAlexander Sulfrian2015-02-231-1/+1
|/ / | | | | | | | | In ee4111fc we removed the wrong continue (the one after the if/else block for newapi) and now we get an error that 'auto' is not an available version.
* | Remove unnecessary suppression of apt warningsChris St. Pierre2015-02-171-5/+0
| | | | | | | | | | This is no longer necessary in 12.04, so should be safe to remove. If you're on Ubuntu < 12.04, upgrade for heaven's sake.
* | more pylint fixesChris St. Pierre2015-02-171-6/+10
| |
* | Client/Tools/APT: some syntax cleanupAlexander Sulfrian2014-11-161-15/+13
| |
* | Client/Tools/APT: use more modern python-apt APIAlexander Sulfrian2014-11-161-9/+2
| | | | | | | | python-apt provides a public API for all required steps.
* | Client/Tools/APT: use "pkg in cache" everywhereAlexander Sulfrian2014-11-161-3/+3
| | | | | | | | | | The "in syntax" is supported instead of the cache.has_key(pkg) syntax at least since python-apt-0.7.91.
* | Revert "APT: add backwards compatibility for python-apt 0.6"Alexander Sulfrian2014-11-161-9/+2
| | | | | | | | This reverts commit 81cc9e874928ee97283cbf501b4ffd3917f1f476.
* | Client/Tools/APT: remove all the stuff for the old APIAlexander Sulfrian2014-11-161-54/+17
| |
* | Merge branch 'maint'Alexander Sulfrian2014-11-121-45/+57
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/changelog doc/conf.py doc/releases/index.txt doc/server/database.txt doc/server/plugins/generators/cfg.txt doc/server/plugins/generators/sslca.txt man/bcfg2.conf.5 misc/bcfg2-selinux.spec misc/bcfg2.spec osx/Makefile osx/macports/Portfile schemas/packages.xsd solaris-ips/MANIFEST.bcfg2-server.header solaris-ips/MANIFEST.bcfg2.header solaris-ips/Makefile solaris-ips/pkginfo.bcfg2 solaris-ips/pkginfo.bcfg2-server solaris/Makefile solaris/pkginfo.bcfg2 solaris/pkginfo.bcfg2-server src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Proxy.py src/lib/Bcfg2/Client/Tools/APT.py src/lib/Bcfg2/Client/Tools/Action.py src/lib/Bcfg2/Client/Tools/SYSV.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Reporting/templates/base.html src/lib/Bcfg2/Server/Admin/__init__.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugins/Packages/Apt.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/settings.py src/lib/Bcfg2/version.py testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py testsuite/Testsrc/test_code_checks.py
| * Client/Tools/APT: fix pylint errors, enable checkAlexander Sulfrian2014-11-101-62/+81
| | | | | | | | | | | | Previously pep8/pylint checks were disable for the APT tool because there were to many errors. This fix the pylint errors and enables the code style checks.
| * Client/Tools/APT: fix exception nameAlexander Sulfrian2014-11-101-1/+1
| |
| * Client/Tools/APT: handle exceptions gracefullyAlexander Sulfrian2014-11-051-1/+5
| | | | | | | | | | | | Exceptions during cache update (in kevlar mode) should not prevent the client tool from initializing. In the worst case the old cache would be used for the client run.
| * debsums: read output from stderr instead of stdoutArach2014-07-051-1/+1
| |
* | Pylint/PEP8 fixesSol Jerome2013-09-061-51/+59
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Options: migrated client drivers to new parserChris St. Pierre2013-06-271-25/+38
| |
* | Merge branch '1.4.x'Chris St. Pierre2013-04-231-6/+8
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/bcfg2-server.install doc/server/plugins/grouping/metadata.txt src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Tools/Portage.py src/lib/Bcfg2/Client/Tools/RcUpdate.py src/lib/Bcfg2/Client/Tools/YUM24.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Client/Tools/launchd.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/models.py src/lib/Bcfg2/Utils.py src/sbin/bcfg2-info src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py testsuite/Testsrc/test_code_checks.py
| * removed in-place modification of "states" dict in client toolsChris St. Pierre2013-02-211-1/+3
| |
| * removed passing setup and logger objects between client toolsChris St. Pierre2013-02-201-5/+5
| |
| * better Executor class for client toolsChris St. Pierre2013-02-141-7/+9
| |
* | APT: Prevent traceback for missing packagesSol Jerome2013-03-211-2/+7
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | better Executor class for client toolsChris St. Pierre2013-02-141-7/+9
|/
* made full pylint checks the default, expanded pylint coverage to lots of toolsChris St. Pierre2012-09-261-1/+1
|
* Revert "removed Bcfg2.Client.XML abstraction layer since we depend directly ↵Chris St. Pierre2012-08-061-4/+3
| | | | | | on lxml.etree" This reverts commit 913d320ee02d5e16b61a14d97b2b1111d307d0d3.
* removed Bcfg2.Client.XML abstraction layer since we depend directly on ↵Chris St. Pierre2012-08-031-3/+4
| | | | lxml.etree
* Remove --force-overwrite from the list of options that apt gives to dpkgJeroen Dekkers2012-07-131-1/+0
|
* fixed typoChris St. Pierre2012-06-011-25/+20
|
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-0/+271
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>