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

Remove deprecated error codes. #4339

Merged
merged 17 commits into from
Apr 22, 2021

Conversation

TRodziewicz
Copy link
Contributor

@TRodziewicz TRodziewicz commented Apr 12, 2021

Signed-off-by: TRodziewicz tomasz.rodziewicz@mobica.com

Description

Remove deprecated error codes, which can be found using `git grep -i 'MBEDTLS_ERR.*deprecated'.

Fixes: #4283

Status

IN DEVELOPMENT

Requires Backporting

NO

Todos

  • Tests
  • Documentation
  • Changelog updated

…issue comment

Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
@TRodziewicz TRodziewicz added question help-wanted This issue is not being actively worked on, but PRs welcome. needs-work needs-review Every commit must be reviewed by at least two team members, needs-ci Needs to pass CI tests needs-reviewer This PR needs someone to pick it up for review size-s Estimated task size: small (~2d) labels Apr 12, 2021
@TRodziewicz TRodziewicz self-assigned this Apr 12, 2021
@TRodziewicz
Copy link
Contributor Author

Question about this task has been asked in the originating issue: #4283 (comment)

TRodziewicz and others added 2 commits April 12, 2021 23:39
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
…icz/mbedtls into remove_depr_error_codes

Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
@TRodziewicz TRodziewicz removed help-wanted This issue is not being actively worked on, but PRs welcome. needs-review Every commit must be reviewed by at least two team members, needs-reviewer This PR needs someone to pick it up for review question labels Apr 12, 2021
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
@TRodziewicz TRodziewicz changed the title Remove deprecated error codes. Some still remain - question asked in … Remove deprecated error codes. Apr 13, 2021
@TRodziewicz TRodziewicz removed needs-ci Needs to pass CI tests needs-work labels Apr 13, 2021
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
@TRodziewicz TRodziewicz added needs-review Every commit must be reviewed by at least two team members, needs-reviewer This PR needs someone to pick it up for review labels Apr 13, 2021
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
@mstarzyk-mobica mstarzyk-mobica self-requested a review April 21, 2021 13:14
@@ -0,0 +1,2 @@
Removals
* Removed deprecated error codes. Fixes #4283
Copy link
Contributor

Choose a reason for hiding this comment

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

Use the imperative in changelog files
"Removed" -> "Remove"
"Fixes" -> "Fix"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

library/error.c Show resolved Hide resolved
@@ -32,6 +32,10 @@
#include MBEDTLS_CONFIG_FILE
#endif

#if defined(MBEDTLS_PLATFORM_C)
Copy link
Contributor

Choose a reason for hiding this comment

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

why is it needed here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No! Removing...

library/error.c Show resolved Hide resolved
Corrections in the ChangeLog file after a review.
Remove the conditional include after the code review
mpg
mpg previously approved these changes Apr 22, 2021
Copy link
Contributor

@mpg mpg left a comment

Choose a reason for hiding this comment

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

This looks good to me, however there are new conflicts. We you fix them by merging development_3.0 into your branch again? Then ping Mateusz and I, so that we re-review quickly and merge before other conflicts appear.

@mpg mpg added needs-work and removed needs-review Every commit must be reviewed by at least two team members, needs-reviewer This PR needs someone to pick it up for review labels Apr 22, 2021
@TRodziewicz TRodziewicz dismissed stale reviews from mpg and mstarzyk-mobica via 9a97a13 April 22, 2021 10:53
OBSOLETE - PLEASE SEE https://github.com/orgs/Mbed-TLS/projects/2 automation moved this from Has Approval to In Progress Apr 22, 2021
@TRodziewicz TRodziewicz added the needs-ci Needs to pass CI tests label Apr 22, 2021
Copy link
Contributor

@mpg mpg left a comment

Choose a reason for hiding this comment

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

LGTM

@TRodziewicz TRodziewicz added approved Design and code approved - may be waiting for CI or backports and removed needs-ci Needs to pass CI tests labels Apr 22, 2021
@mpg mpg merged commit c102164 into Mbed-TLS:development_3.0 Apr 22, 2021
daverodgman pushed a commit that referenced this pull request Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Design and code approved - may be waiting for CI or backports size-s Estimated task size: small (~2d)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove deprecated error codes
5 participants