Skip to content

VMware Plugin: Adapt to older urllib3 versions#1810

Merged
BareosBot merged 4 commits intobareos:masterfrom
sduehr:dev/sduehr/master/vmware-nvram-fix-older-urllib3-versions
May 28, 2024
Merged

VMware Plugin: Adapt to older urllib3 versions#1810
BareosBot merged 4 commits intobareos:masterfrom
sduehr:dev/sduehr/master/vmware-nvram-fix-older-urllib3-versions

Conversation

@sduehr
Copy link
Member

@sduehr sduehr commented May 8, 2024

In urllib3 version 1.26 the parameter method_whitelist was replaced by allowed_methods. The Plugin now detects which parameter to use so that it also works with older versions.

Also the new plugin option fallback_to_full_cbt was added, which can be used when it is desired to run a new full level job anyway when incremental CBT is not possible.

Fix #1760
Fix #1791

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Required backport PRs have been created
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs: the option fallback_to_full_cbt=no is not described as the other options.

@sduehr sduehr requested a review from pstorz May 22, 2024 17:06
sduehr and others added 4 commits May 28, 2024 08:28
In urllib3 version 1.26 the parameter method_whitelist was replaced by
allowed_methods. The Plugin now detects which parameter to use so that
is also works with older versions.

Also the new plugin option fallback_to_full_cbt was added, which can be
used when it is desired to run a new full level job anyway when
incremental CBT is not possible.
@BareosBot BareosBot force-pushed the dev/sduehr/master/vmware-nvram-fix-older-urllib3-versions branch from ae6007d to 460d2fe Compare May 28, 2024 08:28
@BareosBot BareosBot merged commit 33d1623 into bareos:master May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

provide option in vmware plugin to fail incremental on full cbt New 23.0.3 NVRAM changes to VMware plugin break on Ubuntu 20.04 LTS

3 participants