-
Notifications
You must be signed in to change notification settings - Fork 150
Rename the TESTING_BUILD macro to be _azure_TESTING_BUILD to highlight this is internal only and reduce chances of collision. #5419
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
Conversation
…they are not needed.
…t this is internal only and reduce chances of collision.
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 agree with the recommendation, for you to have the next PR soon that globalizes add_compile_definitions(_azure_TESTING_BUILD).
I think, we should also rename _azure_TESTING_BUILD_AMQP to _azure_TESTING_BUILD (#5403). I would not mind if it was done in this PR.
Also I think that #5414 should be merged the next moment after this PR is merged. For that, I am approving that one as well. You can merge it into main, or you can change the target branch on #5414 PR to merge into your RenameCompileDefinition branch before merging this PR.
You could do the same with #5403 - resurrect the PR, and merge into RenameCompileDefinition instead of main before merging this PR.
And I don't fully understand why we need to have two separate pull requests which each does exactly the same effect. I can understand doing this in two PRs if we had a situation where we were actively hampered in getting our job done, but I don't understand why we're making a change which intentionally does the wrong thing under the understanding that some time in the future we'll change it to do the right thing. |
|
I wouldn't say this is a wrong change. It is a change that is certainly in the right direction. We are naming it to be better, as per the issue and what we agreed on. I want to split up centralizing the definition away from the tactical rename. It's cleaner to me. Opinions aside on how you would want to stage the change vs how I did it, are you OK with merging this or do you think it actually makes main worse than it is currently?! |
Bringing back #5390 as part of #5416 (comment)