Skip to content
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

[DEM]Changing some names according to the comments by Riccardo #3832

Merged
merged 4 commits into from
Jan 16, 2019

Conversation

GuillermoCasas
Copy link
Member

Changing names as promised

@@ -501,7 +501,7 @@ def SetInitialNodalValues(self):
def InitializeTimeStep(self):
pass

def BeforeSolveOperations(self, time):
def _BeforeSolveOperations(self, time):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we could leave the old method calling the new one plus printing a big warning on screen (with expiration date), in case someone is still using it from private applications. After some time we completely remove the old version. This is what we are doing in the Kratos core for every api breaker. What do you think?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose we dont't need to ensure backward compatibility with other methods

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would follow the same process with all methods that get deprecated. As systematically as possible.

maceligueta
maceligueta previously approved these changes Jan 15, 2019
Copy link
Contributor

@miguelmaso miguelmaso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming there is no need to ensure more backward compatibility

@GuillermoCasas GuillermoCasas merged commit d3bd27d into master Jan 16, 2019
@GuillermoCasas GuillermoCasas deleted the DEM/clean-up-naming-conventions branch January 16, 2019 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants