Skip to content

filed: stored: remove deprecated compatible option from configuration #1341

Merged
pstorz merged 6 commits intobareos:masterfrom
alaaeddineelamri:dev/alaaeddineelamri/master/remove-deprecated-compatible-option
Mar 30, 2023
Merged

filed: stored: remove deprecated compatible option from configuration #1341
pstorz merged 6 commits intobareos:masterfrom
alaaeddineelamri:dev/alaaeddineelamri/master/remove-deprecated-compatible-option

Conversation

@alaaeddineelamri
Copy link
Contributor

@alaaeddineelamri alaaeddineelamri commented Dec 26, 2022

Thank you for contributing to the Bareos Project!

Description

This PR removes the deprecated compatible option from the configuration and all functionality that is linked to it.

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)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Check backport line
  • Is the PR title usable as CHANGELOG entry?
  • Separate commit for CHANGELOG.md ("update CHANGELOG.md"). The PR number is correct.
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
  • bareos-check-sources --since-merge does not report any problems

@alaaeddineelamri alaaeddineelamri force-pushed the dev/alaaeddineelamri/master/remove-deprecated-compatible-option branch 2 times, most recently from b3aabe6 to c1921d6 Compare December 28, 2022 08:45
@alaaeddineelamri alaaeddineelamri force-pushed the dev/alaaeddineelamri/master/remove-deprecated-compatible-option branch from c1921d6 to d6e12f9 Compare February 20, 2023 13:01
@alaaeddineelamri alaaeddineelamri force-pushed the dev/alaaeddineelamri/master/remove-deprecated-compatible-option branch from d6e12f9 to f8b4b9b Compare March 2, 2023 15:02
@alaaeddineelamri alaaeddineelamri force-pushed the dev/alaaeddineelamri/master/remove-deprecated-compatible-option branch from f8b4b9b to 982ded7 Compare March 15, 2023 09:21
@pstorz pstorz force-pushed the dev/alaaeddineelamri/master/remove-deprecated-compatible-option branch from 9eeffe1 to d9b1e75 Compare March 21, 2023 13:15
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.

Good work!
Now that we remove the compatible settings we can remove every reference to bacula compatibility.

To be sure this is enabled you can explicitly set the compatible option:

:config:option:`fd/client/Compatible = True`\
A Director and a Storage Daemon should (must) always run at the same version. This is true for Bareos as well as for Bacula. It is not possible to mix these components. This is because the protocol between Director and Storage Daemon itself is not versioned (also true for Bareos and Bacula).
Copy link
Member

Choose a reason for hiding this comment

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

I would say we can get rid of the whole chapter of bacula compatibility. It is not needed anymore.

@pstorz pstorz force-pushed the dev/alaaeddineelamri/master/remove-deprecated-compatible-option branch from b2a7493 to 60b84d4 Compare March 21, 2023 13:52
@alaaeddineelamri alaaeddineelamri force-pushed the dev/alaaeddineelamri/master/remove-deprecated-compatible-option branch 5 times, most recently from 1852a88 to 82c6799 Compare March 24, 2023 11:36
Alaa Eddine Elamri added 5 commits March 24, 2023 16:25
@alaaeddineelamri alaaeddineelamri force-pushed the dev/alaaeddineelamri/master/remove-deprecated-compatible-option branch from 82c6799 to e5d7ade Compare March 24, 2023 15:27
@alaaeddineelamri alaaeddineelamri requested a review from pstorz March 30, 2023 06:28
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.

Good Work!

@pstorz pstorz merged commit efb4ca8 into bareos:master Mar 30, 2023
@pstorz pstorz deleted the dev/alaaeddineelamri/master/remove-deprecated-compatible-option branch March 30, 2023 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants