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

[all] Add DeprecatedData and RemovedData #3934

Merged
merged 9 commits into from
Jun 28, 2023

Conversation

damienmarchal
Copy link
Contributor

To make it more simple to manage deprecation and more specifically to not override the parse() method for that purpose.


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@damienmarchal damienmarchal added the pr: status to review To notify reviewers to review this pull-request label Jun 9, 2023
@alxbilger alxbilger changed the title [all] Add DepercatedData and RemovedData [all] Add DeprecatedData and RemovedData Jun 9, 2023
@hugtalbot hugtalbot added enhancement About a possible enhancement pr: status wip Development in the pull-request is still in progress and removed pr: status to review To notify reviewers to review this pull-request labels Jun 13, 2023
@damienmarchal damienmarchal added pr: status to review To notify reviewers to review this pull-request and removed pr: status wip Development in the pull-request is still in progress labels Jun 16, 2023
@damienmarchal
Copy link
Contributor Author

[ci-build][with-tests]

@fredroy
Copy link
Contributor

fredroy commented Jun 19, 2023

[ci-build][with-all-tests]

Copy link
Contributor

@fredroy fredroy left a 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, except some added indentations for the license citation in some files, and for some comments as well 🤐

@fredroy
Copy link
Contributor

fredroy commented Jun 21, 2023

2 tests are considered as failing since the message of RemovedData is thrown as an Error

damienmarchal and others added 2 commits June 26, 2023 16:05
Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>
Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>
@damienmarchal damienmarchal removed the pr: status to review To notify reviewers to review this pull-request label Jun 26, 2023
Signed-off-by: Damien Marchal <damien.marchal@univ-lille1.fr>
@damienmarchal damienmarchal added the pr: status to review To notify reviewers to review this pull-request label Jun 26, 2023
@fredroy
Copy link
Contributor

fredroy commented Jun 27, 2023

[ci-build][with-all-tests]

@fredroy fredroy added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Jun 27, 2023
@fredroy fredroy merged commit 808997f into sofa-framework:master Jun 28, 2023
7 of 8 checks passed
damienmarchal added a commit to CRIStAL-PADR/sofa that referenced this pull request Jun 28, 2023
* WIP

* Generalize the use of RemoveData instead of overriding parse()

* FIXUP

* FIXUP: Add SOFA_CORE_API

* WIp

* Update Sofa/framework/Core/src/sofa/core/objectmodel/RemovedData.h

Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>

* Update Sofa/framework/Core/src/sofa/core/objectmodel/DeprecatedData.h

Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>

* Fix broken indentation

* Replace the deprecated "numberThread" with nbThreads

Signed-off-by: Damien Marchal <damien.marchal@univ-lille1.fr>

---------

Signed-off-by: Damien Marchal <damien.marchal@univ-lille1.fr>
Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>
@hugtalbot hugtalbot added this to the v23.12 milestone Jul 21, 2023
@damienmarchal damienmarchal deleted the pr-add-deprecateddata branch July 24, 2023 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement About a possible enhancement pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants