summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages/Source.py
Commit message (Collapse)AuthorAgeFilesLines
* Packages: Add repo options to additional_dataAlexander Sulfrian2022-01-231-0/+2
|
* Packages: Add 'pin' attributeAlexander Sulfrian2022-01-231-2/+5
|
* Packages: Add priority to sources and sort themAlexander Sulfrian2022-01-231-2/+7
|
* Packages: Support different compression methodsAlexander Sulfrian2022-01-171-0/+39
| | | | | | | The new Reader classes implement different compression methods for the files parsed by the Packages backends. Each source can specify a default compression format. The user can configure a compression format per Source and the filename and extension for the metadata files are generated automatically.
* Merge branch 'maint'Alexander Sulfrian2015-06-121-42/+78
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Server/Plugins/Packages: Fix _init_attributes position.Alexander Sulfrian2015-03-251-2/+2
| | | | | | | | | | | | | | _init_attributes should be called after all properties of the Source class are initialized (so that _init_attributes could overwrite some of it). The Yum class initializes self.deps with a different default entry, that should not be reset by __init__ of Source afterwards.
| * Plugins/Packages/Source: Remove unused arguments of _init_attributesAlexander Sulfrian2015-01-231-7/+2
| |
| * Plugins/Packages: all attributes should be defined in __init__Alexander Sulfrian2015-01-231-48/+69
| |
| * Plugins/Packages: fix initialization of YumSourceAlexander Sulfrian2015-01-161-57/+77
| | | | | | | | | | | | | | During __init__ of the parent class get_repo_name is called. That needs fields (pump_id) that are defined later in the __init__ of YumSource. We introduce the new function _init_attributes to parse all attributes out of the <Source> tag before calling any other functions.
* | Remove blanket excepts from plugins and lintChris St. Pierre2015-02-181-4/+14
| | | | | | | | | | | | | | | | | | | | This removes most blanket except: clauses from all plugins, including the base plugin libraries, and bcfg2-lint. The few that remain should all be necessary. Most of the changes were quite minor, but this did require some restructuring of the CfgPrivateKeyCreator; as a result, the tests for that module were rewritten.
* | Merge branch 'maint'Alexander Sulfrian2014-11-121-5/+14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * 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.
| * fix keyboard interrupt during intial event handlingAlexander Sulfrian2014-10-261-1/+1
| | | | | | | | | | | | | | This removes some wildcard except handler because this drops some KeyboardInterrupt exceptions (for example previously a KeyboardInterrupt during the loading of the cache for Packages resulted in a fallback to file read).
| * Packages: add name to additional_data for SourcesAlexander Sulfrian2014-10-181-0/+1
| |
| * Packages: add name to sourcesAlexander Sulfrian2014-10-181-2/+10
| |
* | Packages: Fix pylint testsSol Jerome2014-05-171-2/+4
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Plugins/Packages: ability to overwrite recommended flag per packageAlexander Sulfrian2014-05-111-7/+35
| |
* | testsuite: fixed most pylint complaintsChris St. Pierre2013-08-091-1/+0
| |
* | Options: migrated plugins to new options parserChris St. Pierre2013-06-271-6/+3
| |
* | Merge branch 'maint'Chris St. Pierre2013-05-171-0/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/guides/centos.txt doc/server/plugins/grouping/metadata.txt setup.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Proxy.py src/lib/Bcfg2/Server/Lint/Genshi.py src/lib/Bcfg2/Server/Lint/Validate.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/SSHbase.py src/sbin/bcfg2-lint
| * APT: Allow specification of deb-src lines (Resolves #1148)Sol Jerome2013-05-101-0/+4
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Merge branch 'maint'Chris St. Pierre2013-04-241-5/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Perf.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Admin/__init__.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/Fam.py src/lib/Bcfg2/Server/Lint/RequiredAttrs.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Base.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Cvs.py src/lib/Bcfg2/Server/Plugins/Darcs.py src/lib/Bcfg2/Server/Plugins/Decisions.py src/lib/Bcfg2/Server/Plugins/FileProbes.py src/lib/Bcfg2/Server/Plugins/Fossil.py src/lib/Bcfg2/Server/Plugins/Git.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/NagiosGen.py src/lib/Bcfg2/Server/Plugins/Packages/PackagesSources.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/Server/Plugins/__init__.py src/lib/Bcfg2/Server/__init__.py src/sbin/bcfg2-build-reports src/sbin/bcfg2-crypt testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
| * 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>
| * testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-261-1/+1
| |
| * testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-261-2/+2
| |
| * Revert "Packages: properly implemented deepcopy() for PackagesSources objects"Chris St. Pierre2013-03-251-6/+1
| | | | | | | | This reverts commit 432f448983ff27452d82d62314d91c942f31bce5.
| * Packages: properly implemented deepcopy() for PackagesSources objectsChris St. Pierre2013-03-251-1/+6
| |
* | moved some libraries in Bcfg2/ into more specific (Server/ or Client/) placesChris St. Pierre2013-02-051-1/+2
| |
* | Merge branch '1.3.1' into 1.4.xChris St. Pierre2013-01-171-4/+3
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Plugins/Packages/Collection.py src/lib/Bcfg2/Server/Plugins/Packages/PackagesSources.py src/lib/Bcfg2/Server/Plugins/Packages/__init__.py
| * | removed passing of optionparser object amongst Packages pluginChris St. Pierre2013-01-171-4/+3
| |/
* / removed magic groupsChris St. Pierre2013-01-171-33/+9
|/
* testsuite: test for exceptions raised without messagesChris St. Pierre2012-12-101-1/+1
|
* Packages: added stats trackingChris St. Pierre2012-10-101-0/+1
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-4/+7
|
* Packages: deprecated magic groups, disabled by defaultChris St. Pierre2012-09-211-1/+1
|
* Packages: fixed reload on server startupChris St. Pierre2012-09-201-0/+2
|
* Packages: fixed process_files() used to process Apt and Pacman metadataChris St. Pierre2012-09-201-22/+22
|
* Packages: fixed unknown_filterChris St. Pierre2012-09-201-8/+15
|
* documented packages backendsChris St. Pierre2012-09-201-10/+11
|
* documented PackagesSourcesChris St. Pierre2012-09-201-10/+10
|
* documented Packages base classChris St. Pierre2012-09-201-4/+6
|
* Source fully documentedChris St. Pierre2012-09-201-86/+394
|
* deduplicated Packages code, more docsChris St. Pierre2012-09-201-12/+110
|
* development docs for Packages: Collection docs writtenChris St. Pierre2012-09-201-7/+4
|
* renamed Bcfg2Py3k to CompatChris St. Pierre2012-08-271-1/+1
|
* Packages: made url_map consistent across all source typesChris St. Pierre2012-08-271-2/+22
|
* fixed determination of repo name from source component nameChris St. Pierre2012-08-221-3/+2
|
* removed more calls to file()Chris St. Pierre2012-08-151-2/+2
|
* fixed repo names for sources that apply globally to all clients (#1120)Chris St. Pierre2012-07-301-2/+7
|