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

Refactoring Phase 2 #100

Merged
merged 1 commit into from
Jul 24, 2020

Conversation

Superhepper
Copy link
Collaborator

@Superhepper Superhepper commented Jul 20, 2020

This relates to #87

  • Moved tickets into structres dir.
  • Created new dir constants
  • Renamed constants.rs into tss.rs and moved into constants dir.
  • Moved specifiers.rs from algorithm dir into constants dir and renamed
    it to algorithm.rs.
  • Created tags as subdir to constants.
  • Renamed utils/tags.rs to structure.rs and moved it into the
    constants/tags dir.
  • Moved error part of respopnse_code.rs into sepparate file error.rs
    and moved response_code.rs into constants dir.
  • Changed lints in lib.rs to make more sense.
  • Moved lint from lib.rs to constants/mod.rs

Signed-off-by: Jesper Brynolf jesper.brynolf@gmail.com

Copy link
Member

@ionut-arm ionut-arm left a comment

Choose a reason for hiding this comment

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

The change looks good to me!

@@ -0,0 +1,91 @@
use crate::constants::response_code::Tss2ResponseCode;
Copy link
Member

Choose a reason for hiding this comment

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

I like the split, it makes sense.

@Superhepper Superhepper force-pushed the refactoring_phase_2 branch 4 times, most recently from f1c4555 to 819a8eb Compare July 21, 2020 21:21
@Superhepper Superhepper marked this pull request as ready for review July 21, 2020 21:36
@Superhepper Superhepper requested a review from hug-dev July 22, 2020 15:27
Copy link
Member

@hug-dev hug-dev left a comment

Choose a reason for hiding this comment

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

That all looks good to me, thanks a lot for working on this! It will be primordial for more stable releases.

I have only one request: could you please check all new files if they all have the copyright notice on top and add them if not?

- Moved tickets into structres dir.
- Created new dir constants
- Renamed constants.rs into tss.rs and moved into constants dir.
- Moved algorithm/specifiers.rs into constants dir and renamed
  it to algorithm.rs.
- Created tags as subdir to constants.
- Renamed utils/tags.rs to structure.rs and moved it into the
  constants/tags dir.
- Moved error part of respopnse_code.rs into sepparate file error.rs
  and moved response_code.rs into constants dir.
- Changed lints in lib.rs to make more sense.
- Moved lint from lib.rsd to constants/mod.rs

Signed-off-by: Jesper Brynolf <jesper.brynolf@gmail.com>
@Superhepper
Copy link
Collaborator Author

That all looks good to me, thanks a lot for working on this! It will be primordial for more stable releases.

I have only one request: could you please check all new files if they all have the copyright notice on top and add them if not?

Done

@ionut-arm ionut-arm merged commit 6e2caed into parallaxsecond:master Jul 24, 2020
@Superhepper Superhepper deleted the refactoring_phase_2 branch October 2, 2020 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants