Skip to content

config: deprecate file daemon as alias for client in FD config#2187

Merged
BareosBot merged 8 commits intobareos:masterfrom
florian-at-bareos:dev/fburger/deprecate-filedaemon-config
Mar 18, 2025
Merged

config: deprecate file daemon as alias for client in FD config#2187
BareosBot merged 8 commits intobareos:masterfrom
florian-at-bareos:dev/fburger/deprecate-filedaemon-config

Conversation

@florian-at-bareos
Copy link
Contributor

@florian-at-bareos florian-at-bareos commented Feb 20, 2025

Thank you for contributing to the Bareos Project!

Deprecates the FileDaemon Resource in the FD configuration.

This is done by introducing aliases to config resources.
If you have a "FileDeamon" resource in the FD, you get a warning saying that the usage of aliases for resources is discouraged and that you should use "Client" instead.

This is done analogous to #2159 .

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
  • Correct milestone is set
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

@florian-at-bareos florian-at-bareos self-assigned this Feb 20, 2025
@florian-at-bareos florian-at-bareos added this to the 25.0.0 milestone Feb 20, 2025
@florian-at-bareos florian-at-bareos marked this pull request as draft February 20, 2025 13:14
@florian-at-bareos
Copy link
Contributor Author

still requires documentation changes

@florian-at-bareos florian-at-bareos changed the title config: deprecate file daemon resource config: deprecate file daemon resource in FD Feb 24, 2025
@florian-at-bareos florian-at-bareos marked this pull request as ready for review February 24, 2025 08:44
@sebsura sebsura added the removal this PR removes functionality label Mar 5, 2025
@sebsura sebsura changed the title config: deprecate file daemon resource in FD config: deprecate file daemon as alias for client in FD Mar 5, 2025
@sebsura sebsura changed the title config: deprecate file daemon as alias for client in FD config: deprecate file daemon as alias for client in FD config Mar 5, 2025
@florian-at-bareos florian-at-bareos force-pushed the dev/fburger/deprecate-filedaemon-config branch from 650ca83 to 46a1a9e Compare March 6, 2025 07:46
@BareosBot BareosBot force-pushed the dev/fburger/deprecate-filedaemon-config branch 3 times, most recently from ad9ff64 to 0ceeed9 Compare March 10, 2025 21:48
florian-at-bareos and others added 7 commits March 17, 2025 08:43
Fixes bareos#219: deprecate File Daemon resource in FD configuration

This is necessary because otherwise one cannot comprehend whether
FileDaemon or Client resource was specified.
Also output a warning if aliases are used.
Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com>
@florian-at-bareos florian-at-bareos force-pushed the dev/fburger/deprecate-filedaemon-config branch from 0ceeed9 to 48796c5 Compare March 17, 2025 07:45
@BareosBot BareosBot merged commit 20b7300 into bareos:master Mar 18, 2025
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement removal this PR removes functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants