-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dird: extend the list command to be able to query volumes and pools by ID #1041
dird: extend the list command to be able to query volumes and pools by ID #1041
Conversation
6bc300f
to
a78b8aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Started a review. Looks good so far, pls read my comments.
a78b8aa
to
73548f2
Compare
Thanks for the review @franku ! We assigned you by mistake as a reviewer, but it's the good kind of mistake :D |
I'd change the PR subject to something like ... dird: extend the list command to be able to query volumes and pools by ID ... which I think is more precise. The PR description should be adjusted in that way and also mention the newly introduced arguments poolid, mediaid/volumeid, I feel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd split commit e71aa10 into two separate ones.
a) docs: update list command documentation
b) dird: add newly introduced list command arguments to the command line help
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
73548f2
to
a62304a
Compare
a62304a
to
6c49b7e
Compare
6c49b7e
to
9a9d744
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding commit 9a9d744 :
To be consistent the commit title/subject should be "Update CHANGELOG.md" as we usually do for these types of commits.
9a9d744
to
2519df9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Description:
This PR extends the
list
command to give the user the ability to list volumes by ID usinglist volumeid=xx
orlist mediaid=xx
. Also it give the ability to list pools by Id usinglist poolid=xx
Please check
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
Source code quality
bareos-check-sources --since-merge
does not report any problemsgit status
should not report modifications in the source tree after building and testingTests