Skip to content

catalog: update fileset text in fileset record#1300

Merged
arogge merged 4 commits intomasterfrom
dev/pstorz/master/update-fileset-text-in-fileset-record
Nov 7, 2022
Merged

catalog: update fileset text in fileset record#1300
arogge merged 4 commits intomasterfrom
dev/pstorz/master/update-fileset-text-in-fileset-record

Conversation

@pstorz
Copy link
Member

@pstorz pstorz commented Nov 2, 2022

Old bareos versions did not set the fileset text in the fileset database.

As existing fileset database entries were not updated if they already exist, the fileset text was not added afterwards.

This PR fixes this so that the fileset is updated even if it already exists.

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
Tests
  • Decision taken that a test is required (if not, then remove this paragraph)
  • The choice of the type of test (unit test or systemtest) is reasonable
  • Testname matches exactly what is being tested
  • On a fail, output of the test leads quickly to the origin of the fault

@arogge arogge changed the title database: update fileset text in fileset record catalog: update fileset text in fileset record Nov 7, 2022
@arogge arogge force-pushed the dev/pstorz/master/update-fileset-text-in-fileset-record branch from eae5191 to b99894b Compare November 7, 2022 15:01
@arogge arogge merged commit 87d3420 into master Nov 7, 2022
@arogge arogge deleted the dev/pstorz/master/update-fileset-text-in-fileset-record branch November 7, 2022 16:14
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