Skip to content

core: Remove deprecated configuration options#938

Merged
arogge merged 18 commits intobareos:masterfrom
arogge:dev/arogge/master/remove-deprecated
Sep 30, 2021
Merged

core: Remove deprecated configuration options#938
arogge merged 18 commits intobareos:masterfrom
arogge:dev/arogge/master/remove-deprecated

Conversation

@arogge
Copy link
Member

@arogge arogge commented Sep 27, 2021

This PR removes all deprecated configuration options and their related code.

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
  • Separate commit for this PR in the CHANGELOG.md, PR number referenced is same
  • Commit descriptions are understandable and well formatted
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
  • git status should not report modifications in the source tree after building and testing

@arogge arogge requested a review from pstorz September 27, 2021 16:23
@pstorz pstorz changed the title Remove deprecated configuration options core: Remove deprecated configuration options Sep 28, 2021
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.

Very good work, it is great to see so much deprecated code go.

I have the following comments and wishes:

  • The fixup of the Max Volume Size change should be merged into the correspoding commit
  • The CHANGELOG.md commit does not exist
  • It would make sense to document which deprecated configuration directives have been removed.(Breaking changes section in release notes?)
  • bareos-check-sources is not happy with multiple files, please fix:
    • Plugin 'clang-format check' would modify 'core/src/dird/backup.cc'
    • Plugin 'fix copyright year' would modify 'core/src/dird/backup.cc'
    • Plugin 'clang-format check' would modify 'core/src/dird/dird_conf.h'
    • Plugin 'fix copyright year' would modify 'core/src/dird/next_vol.cc'
    • Plugin 'fix copyright year' would modify 'core/src/dird/restore.cc'
    • Plugin 'fix copyright year' would modify 'core/src/dird/ua_db.cc'
    • Plugin 'fix copyright year' would modify 'core/src/dird/ua_dotcmds.cc'
    • Plugin 'fix copyright year' would modify 'core/src/dird/verify.cc'
    • Plugin 'clang-format check' would modify 'core/src/stored/device_resource.h'

@arogge arogge force-pushed the dev/arogge/master/remove-deprecated branch from 415cd12 to 232d437 Compare September 28, 2021 13:48
@arogge arogge requested a review from pstorz September 28, 2021 13:48
@arogge
Copy link
Member Author

arogge commented Sep 28, 2021

I think I fixed everything and also removed the documentation addon-files for the now removed directives

@arogge arogge force-pushed the dev/arogge/master/remove-deprecated branch 3 times, most recently from 3c44a96 to 8d99cfb Compare September 30, 2021 12:50
@arogge arogge force-pushed the dev/arogge/master/remove-deprecated branch 2 times, most recently from e6b2265 to d84f578 Compare September 30, 2021 13:06
@arogge arogge force-pushed the dev/arogge/master/remove-deprecated branch from d84f578 to e2f5c87 Compare September 30, 2021 13:07
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!

@arogge arogge merged commit 043edaf into bareos:master Sep 30, 2021
@arogge arogge deleted the dev/arogge/master/remove-deprecated branch September 30, 2021 13:12
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