summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add Dummy packages backend and client tool to ignore all packages.packages-dummyAlexander Sulfrian2015-02-075-1/+55
|
* fix modified entriesAlexander Sulfrian2014-11-101-3/+5
|
* Plugins/Packages/Portage: do not try to update the {var,port}tree instancesAlexander Sulfrian2014-11-101-6/+4
|
* Plugins/Packages/Layman: add support for layman overlaysAlexander Sulfrian2014-11-104-1/+152
| | | | | | 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-11-101-11/+2
|
* Plugins/PkgVars: support multiple values per packageAlexander Sulfrian2014-11-102-4/+10
| | | | | If multiple values specified for one package all values are joined together in a set.
* Plugins/Packages/Portage: add Packages Plugin for PortageAlexander Sulfrian2014-11-103-1/+338
|
* Plugins/Packages/Collection: add cclass marker for SourcesAlexander Sulfrian2014-11-101-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.
* Client/Tools/APT: save new package version for auto pkgsAlexander Sulfrian2014-11-101-3/+5
| | | | | | For auto/any packages, currently only auto/any is stored in the statistics as the new installed version. This patch changes this behavior, so that the exact version string is saved additionaly.
* Packages/Apt: add pin attribute for extra pinning informationAlexander Sulfrian2014-11-102-1/+13
|
* Packages/Apt: add priority to additional_infoAlexander Sulfrian2014-11-101-1/+2
|
* Plugins/PkgVars: new plugin to set various vars per packageAlexander Sulfrian2014-11-106-8/+137
| | | | | | | 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 priority to sources and sort according to itAlexander Sulfrian2014-11-103-0/+15
|
* mark dependencies as automatic installedAlexander Sulfrian2014-11-101-0/+23
|
* Merge branch 'fix-keyboard-interrupt_master'Alexander Sulfrian2014-11-100-0/+0
|\ | | | | | | | | * fix-keyboard-interrupt_master: Server/Core: also shutdown on exceptions during fam blocking
| * Server/Core: also shutdown on exceptions during fam blockingAlexander Sulfrian2014-10-251-3/+3
| | | | | | | | | | | | | | Previously the server got stuck, if a keyboard interrupt occured during block_for_fam_events. The KeyboardInterrupt exception was only handled in the executable and it does not call shutdown for the Core. So the running fam thread does not get killed and the main thread waits for it.
* | Merge branch 'fix-list-options'Alexander Sulfrian2014-11-101-0/+4
|\ \ | | | | | | | | | | | | * fix-list-options: Options/Types: add abbility to set empty lists
| * | Options/Types: add abbility to set empty listsAlexander Sulfrian2014-10-311-0/+4
| | | | | | | | | | | | | | | | | | We have some lists with default values, so someone maybe want to set an empty list from the config. Previously this was not possible, because an empty string results in a list with an empty string as element. This fixes this problem.
* | | Merge branch 'options-unit-tests' of https://github.com/stpierre/bcfg2Alexander Sulfrian2014-11-1030-273/+1829
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'options-unit-tests' of https://github.com/stpierre/bcfg2: Options: Fixed non-path database name parsing Options: further command registry fixes Options: gather as much data from config file first Options: fix path canonicalization and file-like objects testsuite: unlink temporary files Options: ensure <repository> macros are always fixed up DBSettings: fix up <repository> in database name testsuite: better debug capturing for options tests call shutdown on subcommand registries fixed some places where plugin loading should fail silently testsuite: Added unit tests for new option parsing testsuite: capture stderr by default Test failure to parse config file when bcfg2.conf exists testsuite: skip nested exclusive option group test on py2.6 testsuite: Added unit tests for new option parsing
| * | | Options: Fixed non-path database name parsingChris St. Pierre2014-11-103-27/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The database name is sometimes a path (SQLite) and sometimes not (MySQL, PostgreSQL). This introduces a new Option type, RepositoryMacroOption, that expands <repository> macros without canonicalizing the path, so SQLite users can use <repository> in their settings but MySQL users' database name settings will not be destroyed by path canonicalization. The unfortunate downside is that SQLite users can't use ~ in their database name.
| * | | Options: further command registry fixesChris St. Pierre2014-11-102-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | This updates the documentation for some of the recent changes to subcommand handling, and ensures that the server core is shut down by bcfg2-info.
| * | | Options: gather as much data from config file firstChris St. Pierre2014-11-101-2/+10
| | | |
| * | | Options: fix path canonicalization and file-like objectsChris St. Pierre2014-10-222-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | This fixes canonicalizing PathOption values when the default value of a config file-only option is used. It also fixes PathOptions that get a file-like object instead of a filename string.
| * | | testsuite: unlink temporary filesChris St. Pierre2014-10-222-5/+10
| | | | | | | | | | | | | | | | | | | | This cleans up the temporary config files created by the option parsing unit tests. Courtesy Alexander Sulfrian.
| * | | Options: ensure <repository> macros are always fixed upChris St. Pierre2014-10-225-46/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes several cases in which <repository> macros would not be properly processed: options that are not added to the parser yet when early options are parsed; and config file options whose default value is used.
| * | | DBSettings: fix up <repository> in database nameChris St. Pierre2014-10-221-1/+1
| | | |
| * | | testsuite: better debug capturing for options testsChris St. Pierre2014-10-223-25/+33
| | | |
| * | | call shutdown on subcommand registriesChris St. Pierre2014-10-222-6/+11
| | | |
| * | | fixed some places where plugin loading should fail silentlyChris St. Pierre2014-10-223-8/+19
| | | |
| * | | testsuite: Added unit tests for new option parsingChris St. Pierre2014-10-221-0/+1
| | | |
| * | | testsuite: capture stderr by defaultChris St. Pierre2014-10-222-0/+15
| | | | | | | | | | | | | | | | This quiets down a lot of tests, especially for option parsing.
| * | | Test failure to parse config file when bcfg2.conf existsChris St. Pierre2014-10-222-7/+3
| | | |
| * | | testsuite: skip nested exclusive option group test on py2.6Chris St. Pierre2014-10-222-5/+15
| | | |
| * | | testsuite: Added unit tests for new option parsingChris St. Pierre2014-10-2226-219/+1593
| | |/ | |/|
* | | Merge remote branch 'upstream/maint'Alexander Sulfrian2014-11-1039-213/+461
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/maint: (59 commits) Client/Tools/APT: fix pylint errors, enable check Client/Tools/APT: fix exception name SYSV: add a migration tool to change simplename attributes to simplefile doc: Update SYSV datastream format docs SYSV: change instances of simplename to simplefile Client/Tools/APT: handle exceptions gracefully Server/Plugins/Packages: add debsrc attribute to url_map schemas/packages.xsd: add default value for debsrc Options.py: Fix database OPTIONS parsing doc: Fix typos doc: Add note about Decisions fix for 1.3.6 testsuite: Fix tools __init__.py unit test Tools: Fix install of non-whitelisted services doc: Add 1.3.6 release notes fix keyboard interrupt during intial event handling Server/Core: also shutdown on exceptions during fam blocking Reporting: better exception handling Packages: add name to additional_data for Sources Packages: add name to sources YUM: Add options to enable and disable Yum plugins ... 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
| * \ \ Merge branch 'fix-django-db-options-parsing' into maintSol Jerome2014-11-105-42/+32
| |\ \ \
| | * | | Options.py: Fix database OPTIONS parsingSol Jerome2014-11-045-42/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of parsing key/value pairs from bcfg2.conf, this allows the setting of the literal value which is then passed through to django as the value of the OPTIONS setting. This change allows for setting arbitrary options since some settings require nested dictionaries, etc. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * | | | Client/Tools/APT: fix pylint errors, enable checkAlexander Sulfrian2014-11-102-63/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | | |
| * | | | Merge branch 'SYSV-use-simplefile' of https://github.com/fennm/bcfg2 into maintSol Jerome2014-11-084-10/+72
| |\ \ \ \
| | * | | | SYSV: add a migration tool to change simplename attributes to simplefileMichael Fenn2014-11-072-0/+55
| | | | | |
| | * | | | doc: Update SYSV datastream format docsMichael Fenn2014-11-061-3/+11
| | | | | |
| | * | | | SYSV: change instances of simplename to simplefileMichael Fenn2014-11-062-8/+7
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to better match the schema since simplefile already exists. The previous simplename attribute would fail validation. Since pkgmgr already helpfully constructs url for you if simplefile exists, the tool no longer needs to do the concatenation itself. Given the low usage rate of SYSV.py and that the original functionality was introduced in a late 1.3 release, changing the name w/o providing backwards compatiblity seems reasonable.
| * | | | Merge branch 'handle-apt-update-exceptions' of ↵Sol Jerome2014-11-061-1/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | https://github.com/AlexanderS/bcfg2 into maint
| | * | | | 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.
| * | | | Server/Plugins/Packages: add debsrc attribute to url_mapAlexander Sulfrian2014-11-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Adding this value to the url_map makes it possible to use it in genshi templates.
| * | | | schemas/packages.xsd: add default value for debsrcAlexander Sulfrian2014-11-051-1/+1
| |/ / /
| * | | doc: Fix typosSol Jerome2014-11-031-8/+8
| | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * | | doc: Add note about Decisions fix for 1.3.6Sol Jerome2014-10-311-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * | | testsuite: Fix tools __init__.py unit testAlexander Sulfrian2014-10-301-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>