summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'packages'Alexander Sulfrian2022-01-2319-44/+471
|\ \
| * | PkgVars: Add support for multiple valuesAlexander Sulfrian2022-01-232-4/+10
| | | | | | | | | | | | | | | If multiple values specified for one package all values are joined together in a set.
| * | PkgVars: Add new plugin to set vars for packagesAlexander Sulfrian2022-01-236-8/+137
| | | | | | | | | | | | | | | This plugins allows the setting of varius flags per package. It should be used f.e. to specify pinnings for debian packages.
| * | Packages: Allow to filter provided packagesAlexander Sulfrian2022-01-231-1/+6
| | | | | | | | | | | | | | | The provides packages of a source should be filtered by the Blacklist or Whitelist tags for the source.
| * | Packages: Add possibility to customize User-AgentAlexander Sulfrian2022-01-231-4/+10
| | | | | | | | | | | | Some mirror might block the default python urllib User-Agent.
| * | Packages: Add repo options to additional_dataAlexander Sulfrian2022-01-231-0/+2
| | |
| * | Packages: Add 'pin' attributeAlexander Sulfrian2022-01-232-2/+14
| | |
| * | Packages: Add priority to sources and sort themAlexander Sulfrian2022-01-233-2/+19
| | |
| * | Packages: Add "pyapt" source typeAlexander Sulfrian2022-01-173-9/+105
| | | | | | | | | | | | | | | | | | | | | | | | Pyapt is a new source that is using the apt python bindings to parse the Packages files from debian repositories. Compared to the python implementation it is faster and more robust. It will use the dependencies of the newest version of a package from a specific source (because it can use the python bindings to compare the version numbers).
| * | Packages: Support different compression methodsAlexander Sulfrian2022-01-1711-20/+174
| |/ | | | | | | | | | | | | 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 'fix/partial-chain-validation'Alexander Sulfrian2022-01-161-7/+4
|\ \
| * | SSLCA: Fix certificate validationAlexander Sulfrian2022-01-161-7/+4
| |/ | | | | | | | | | | | | | | | | | | | | We should favour "-trusted" over "-CAfile" because it will skip the system-wide CAs and ensure that the certificate is relay validated against the specified CA. For validation against an intermediate certificate, only an additional "-partial_chain" is required. With "-untrusted" we previously added an unstrusted intermediate certificate only and validated the cert against default system wide installed CAs.
* | Merge branch 'supgid-filter'Alexander Sulfrian2022-01-161-4/+23
|\ \
| * | POSIXUsers: Add filters for supplementary gidsAlexander Sulfrian2022-01-161-4/+23
| |/ | | | | | | | | | | There are now separate filters for supplementary groups of a managed POSIXUser. If neither a blacklist or a whitelist for the supplementary groups is set, it will default to the same lists like the gid filters.
* | Merge branch 'add-directory-ignore'Alexander Sulfrian2022-01-162-1/+6
|\ \
| * | Server: Ignore directories containing a .bcfg2-ignore fileAlexander Sulfrian2015-04-182-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DirectoryBacked helper now does not recurse into directories that contains a .bcfg2-ignore file. This makes it possible to ignore some directories for most plugins (Bundler, Defaults, Pkgmgr, Properties, PuppetENC, TemplateHelper, Trigger). You can store for example a python module used by a TemplateHelper in the same directory, without getting strange error messages while TemplateHelper is trying to import each single file of this module.
* | | Client: Add dummy package client toolAlexander Sulfrian2022-01-162-0/+17
| | | | | | | | | | | | This is a no-op client tool to ignore all packages.
* | | Packages: Add 'dummy' packages backendAlexander Sulfrian2022-01-163-1/+37
| | | | | | | | | | | | This backend will not add any packages.
* | | Packages: Ignore unicode errors in pkgng metadataAlexander Sulfrian2022-01-161-3/+1
| | | | | | | | | | | | | | | | | | The messages of the packages in the packagesite file may be encoded in any encoding. We only need the dependencies and just ignore the unicode errors.
* | | Bundler: Use BoundBundle for the RequiredBundlesAlexander Sulfrian2022-01-161-1/+1
| | | | | | | | | | | | The Bundle do not need to be bound by another plugin.
* | | Reporting: Set flag when interaction is fully importedAlexander Sulfrian2022-01-165-3/+327
| | |
* | | APT: Do not install recommended packagesAlexander Sulfrian2022-01-161-0/+1
| | | | | | | | | | | | | | | If the server does not compute the packages as requirement, the client should not install the recommended packages.
* | | APT: Save new package version for auto pkgsAlexander Sulfrian2022-01-161-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.
* | | APT: Mark dependencies as automatic installedAlexander Sulfrian2022-01-161-0/+23
| |/ |/|
* | Fix default timezone in debian busterupstream/masterJohannes Kampmeyer2019-11-261-1/+1
| | | | | | | | | | | | bcfg2-web will fail without setting a valid time zone in newer django versions. This fix initializes the time zone as utc instead of None, to fix most setups without directly breaking functionality. [reporting] TIME_ZONE = <valid_tz>
* | Merge branch 'fix-pip-indexurl' of https://github.com/AlexanderS/bcfg2Sol Jerome2019-10-141-1/+1
|\ \
| * | testsuite: Fix pip index-url for ancient pythonAlexander Sulfrian2019-08-021-1/+1
| | |
* | | Merge branch 'fix/recent-interactions' of https://github.com/AlexanderS/bcfg2Sol Jerome2019-10-141-1/+2
|\ \ \
| * | | Reporting: Fix add_url_filter fallbackAlexander Sulfrian2019-06-171-1/+2
| |/ / | | | | | | | | | | | | | | | django-1.8 deprecated referencing views as strings in the url(), so we need to import the fallback view and referencing the view function directly.
* / / Do not encode py3 strings to utf-8 again. Compat.unicode matches strings and ↵xschlef2019-07-181-1/+2
|/ / | | | | | | unicode in py3.
* | Lint: Import lint plugins with package nameAlexander Sulfrian2019-05-101-1/+4
| | | | | | | | | | When importing packages we should not pollute the global modules namespace and always import new modules with their package name.
* | testsuite: boto requires google_compute_engineAlexander Sulfrian2019-05-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At least with pythn2.6 boto requires google_compute_engine: > Traceback (most recent call last): > File ".../site-packages/boto/__init__.py", line 1216, in <module> > boto.plugin.load_plugins(config) > File ".../site-packages/boto/plugin.py", line 93, in load_plugins > _import_module(file) > File ".../site-packages/boto/plugin.py", line 75, in _import_module > return imp.load_module(name, file, filename, data) > File ".../dist-packages/google_compute_engine/boto/compute_auth.py", line 19, in <module> > from google_compute_engine import logger > ImportError: No module named google_compute_engine
* | testsuite: PyYAML-5.1 removed support for Python 2.6Alexander Sulfrian2019-05-071-4/+4
| |
* | docs: Remove intersphinx mapping for python-mockAlexander Sulfrian2019-05-071-4/+0
| | | | | | | | | | | | python-mock is now part of the Python standard library (available as unittest.mock in Python 3.3 onwards) and all documentation on voidspace.org.uk is removed.
* | testsuite: lxml-4.3.0 removed support for Python 2.6Alexander Sulfrian2019-05-071-1/+1
| |
* | testsuite: Fix build for python2.6Alexander Sulfrian2018-10-121-3/+3
| | | | | | | | pycparser-2.19 requires python2.7.
* | Fix server shutdownAlexander Sulfrian2018-10-121-0/+4
| |
* | Merge branch 'debian_fixes' of https://github.com/xschlef/bcfg2Sol Jerome2018-06-032-1/+2
|\ \
| * | south is no longer available in newer debian versionsxschlef2018-04-271-1/+1
| | |
| * | Bcfg2.Server.migrations is also required for correct database initilizationxschlef2018-04-271-0/+1
| | |
* | | POSIX: Don't follow symlinks when changing ownerHolger Weiß2018-05-182-17/+17
|/ / | | | | | | | | Don't let the client follow symbolic links when changing the owner of a path.
* | Remove superfluous space to make sphinx happyAlexander Sulfrian2018-03-221-1/+1
| |
* | doc: Remove support for docutils-0.4Alexander Sulfrian2018-03-221-2/+1
| | | | | | | | | | | | | | The compat class from sphinx for "Directive" was deprecated and removed in the current sphinx version. So we should use the class from docutils directly. You will need at least docutils-0.5 (from 2008) to build the documentation.
* | Merge pull request #396 from solj/add-missing-reporting-entriesAlexander Sulfrian2018-03-221-2/+6
|\ \ | | | | | | Reporting: Add SELinux entries
| * | Reporting: Add SELinux entriesSol Jerome2017-11-301-2/+6
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | Reporting: Fix syntax of "cycle" templatetagAlexander Sulfrian2018-03-219-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The backwords compatible syntax was removed in 1.10. The "new" syntax is available since 11 years [1] and was already available in django 1.0 [2]. > Support for the syntax of {% cycle %} that uses comma-separated > arguments is removed. [3] [1]: https://code.djangoproject.com/ticket/208 [2]: https://github.com/django/django/commit/09145d2e5f [3]: https://docs.djangoproject.com/en/2.0/releases/1.10/#features-removed-in-1-10
* | | Reporting: Fix template settings for django 1.10Alexander Sulfrian2018-03-211-9/+29
| | | | | | | | | | | | | | | | | | | | | | | | Django 1.8 deprecated the multiple TEMPLATE_* settings and introduced a single TEMPLATES config option. Django 1.10 stopped creating a backwards-compatible TEMPLATES based on the TEMPLATE_* settings. (See: https://docs.djangoproject.com/en/1.10/ref/templates/upgrading/#the-templates-settings)
* | | Reporting: Use django.shortcuts.renderAlexander Sulfrian2018-03-211-40/+32
| | | | | | | | | | | | | | | | | | | | | Replace django.shortcuts.render_to_response with django.shortcuts.render because the context_instance argument was deprecated in django 1.8 and removed in django 1.10. The render shortcut is available since django 1.3, so we can use it without a version check.
* | | Reporting: Fix compat for "patterns" in django1.10Alexander Sulfrian2018-03-211-2/+2
|/ /
* | travis-ci: Fix pip failure for older python versionsAlexander Sulfrian2017-11-031-1/+1
| | | | | | | | | | | | | | The older python versions only ship with an old version of pip. Since some days SSL is required for downloading from pypi. We have to specify this explicitly because the older pip version only try http by default. (https://github.com/pypa/pip/issues/4817)