Skip to content

dird: remove optimize_for_size/optimize_for_speed#1612

Merged
BareosBot merged 7 commits intobareos:masterfrom
sebsura:dev/ssura/master/remove-optimize-for
Dec 12, 2023
Merged

dird: remove optimize_for_size/optimize_for_speed#1612
BareosBot merged 7 commits intobareos:masterfrom
sebsura:dev/ssura/master/remove-optimize-for

Conversation

@sebsura
Copy link
Contributor

@sebsura sebsura commented Dec 5, 2023

Thank you for contributing to the Bareos Project!

This PR removes the optimize_for_* options from the director. It also fixes a memory leak.
It also includes a fix for a memory leak inside the director.

The backport to 23 will only contain the deprecation of these options.

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
  • Check backport line
  • 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.

Looks good! Only one typo in the comment.
Backport needs only to deprecate the directives.
Good work!

@sebsura sebsura force-pushed the dev/ssura/master/remove-optimize-for branch from 79b5dbc to d156189 Compare December 5, 2023 12:40
@pstorz pstorz self-requested a review December 5, 2023 12:43
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!

@sebsura sebsura force-pushed the dev/ssura/master/remove-optimize-for branch from d156189 to 078896d Compare December 5, 2023 12:56
@sebsura sebsura force-pushed the dev/ssura/master/remove-optimize-for branch from b120273 to f6a05ba Compare December 6, 2023 07:48
@pstorz pstorz self-assigned this Dec 7, 2023
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.

Looks good, but why do we have so many empty files?(.rst.inc).
I guess we can leave them away?

@pstorz pstorz self-requested a review December 11, 2023 08:05
@BareosBot BareosBot force-pushed the dev/ssura/master/remove-optimize-for branch from daa633a to 3ddf9cb Compare December 12, 2023 08:57
@BareosBot BareosBot merged commit 57798ce into bareos:master Dec 12, 2023
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.

3 participants