I believe I have a fix for Issue 4098 (FreeCAD should not exit if unable to rename backup file to project file while exiting). While debugging that, I also made two related changes that feel separate.
How should I handle these? Normally I'd just throw up Pull Requests and figure it out in the discussions there, but I'm trying to follow the guidelines for FreeCAD development. Should I describe my changes here, or post code here, or something else?
Issue fix + 2 related but separate changes
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Issue fix + 2 related but separate changes
Well, as a general rule it's best if a bug fix is in its own PR, but it's not like no one ever breaks that. If you post a link to your fork and branch we can look at it and see what makes the most sense.
Re: Issue fix + 2 related but separate changes
Sure, here you go:
As a side question, isn't this exactly what Pull Requests do - put up code submissions for consideration & discussion? Would it work to just start with the PR?
As a side question, isn't this exactly what Pull Requests do - put up code submissions for consideration & discussion? Would it work to just start with the PR?
Re: Issue fix + 2 related but separate changes
Well, you said the additional changes "feel separate" -- so I thought we could help you determine whether it made sense to submit them as part of the bugfix PR or as a separate one. If you've already decided one way or the other, go for it.
Re: Issue fix + 2 related but separate changes
Oh, it's not that I've decided, I just wondered about the process. I'll start with a PR next time. Thanks!