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
[foxy backport]: filesystem helpers: adding remove_all to remove non-empty directories… #80
Conversation
…#79) * remove_all Signed-off-by: Karsten Knese <karsten@openrobotics.org> * remove unused variable Signed-off-by: Karsten Knese <karsten@openrobotics.org> * address review comments Signed-off-by: Karsten Knese <karsten@openrobotics.org> * apply suggestions Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Hunter L. Allen <hunter.allen@ghostrobotics.io>
should features be backported? |
I am also confused about backporting features into LTS, I thought it was a no-no. Maybe it's just that we have to maintain API and ABI compatibility - if so how to we verify that that is the case? |
my thinking here was given that it's only additions, it's probably fine to backport. I was planning on using it for backports on rosbag2. But I am okay closing this PR if it's the general consensus. |
Right, API and ABI compatibility are absolutely essential. Beyond that, whether to backport a feature to a stable release comes down to how broadly applicable the feature is and the maintainers discretion. Checking for API compatibility is easy; just look at the diff and see if any of the public APIs have been changed. Checking for ABI compatibility can be a bit more tricky. Basically anything that changes the size of an object is going to break ABI. This usually includes adding virtual methods, adding member variables, and the like. There are some tools around this; one of them is called abi-compliance-checker, and can be installed on Ubuntu with |
Well, this doesn't touch any classes/objects or existing APIs. So, as just an addition of a new function it seems it's API and ABI compatible, so I have no problem with backporting |
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.
LGTM, considering that this backport is supposed to make easier a fix in rosbag I think it is worth doing 👍.
my thinking here was given that it's only additions, it's probably fine to backport. I was planning on using it for backports on rosbag2. But I am okay closing this PR if it's the general consensus.
foxy backport of #79