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

docs: improve code documentation- v3 #9611

Closed
wants to merge 1 commit into from

Conversation

zazie-codes
Copy link
Contributor

@zazie-codes zazie-codes commented Oct 13, 2023

Make sure these boxes are signed before submitting your Pull Request -- thank you.

Link to redmine ticket:https://redmine.openinfosecfoundation.org/issues/6383

Describe changes:
This is an update of #9606

  • ran ./scripts/clang-format.sh branch to fix formatting
  • added the formatting change to a new commit

@zazie-codes zazie-codes changed the title docs: improve code documentation- v3 #9606 docs: improve code documentation- v3 Oct 13, 2023
@inashivb inashivb added the outreachy Contributions made by Outreachy applicants label Oct 13, 2023
Copy link
Member

@inashivb inashivb left a comment

Choose a reason for hiding this comment

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

Hi @zazie-codes ! Thanks for incorporating the formatting changes, could you please squash all the commits together and make sure they are as per the guidelines: https://docs.suricata.io/en/latest/devguide/codebase/contributing/code-submission-process.html#commits

Check other folks's commits in the open approved PRs/merged in the repo to get examples. 😉

@github-actions
Copy link

NOTE: This PR may contain new authors:

Liza <oparliza@gmail.com>

@zazie-codes
Copy link
Contributor Author

Hi @zazie-codes ! Thanks for incorporating the formatting changes, could you please squash all the commits together and make sure they are as per the guidelines: https://docs.suricata.io/en/latest/devguide/codebase/contributing/code-submission-process.html#commits

Check other folks's commits in the open approved PRs/merged in the repo to get examples. 😉

On it. Thank you.

@codecov
Copy link

codecov bot commented Oct 13, 2023

Codecov Report

Merging #9611 (07cfe9c) into master (1a132f4) will decrease coverage by 0.03%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9611      +/-   ##
==========================================
- Coverage   82.28%   82.26%   -0.03%     
==========================================
  Files         968      968              
  Lines      274275   274275              
==========================================
- Hits       225700   225638      -62     
- Misses      48575    48637      +62     
Flag Coverage Δ
fuzzcorpus 64.37% <ø> (+0.04%) ⬆️
suricata-verify 60.90% <ø> (-0.03%) ⬇️
unittests 62.87% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@zazie-codes zazie-codes requested a review from a team as a code owner October 14, 2023 08:07
@zazie-codes
Copy link
Contributor Author

Hi @zazie-codes ! Thanks for incorporating the formatting changes, could you please squash all the commits together and make sure they are as per the guidelines: https://docs.suricata.io/en/latest/devguide/codebase/contributing/code-submission-process.html#commits

Check other folks's commits in the open approved PRs/merged in the repo to get examples. 😉

Hi Shivani, instead of squashing the commits together i ended up adding another. Kindly advice, i followed the procedure but i must,ve skipped a process.

@inashivb
Copy link
Member

Hi Shivani, instead of squashing the commits together i ended up adding another. Kindly advice, i followed the procedure but i must,ve skipped a process.

Liza, this is a nice guide and on the lines of what was demonstrated by Jason yesterday in the live session. Please try this and see if you can figure out the steps you missed. It's important that you practice this as this will be needed for almost all open source projects. Good luck! :)

@zazie-codes
Copy link
Contributor Author

Member

Going through it

@zazie-codes zazie-codes force-pushed the formatting branch 2 times, most recently from 07cfe9c to 9c89dc4 Compare October 16, 2023 12:18
@zazie-codes
Copy link
Contributor Author

Hi Shivani, instead of squashing the commits together i ended up adding another. Kindly advice, i followed the procedure but i must,ve skipped a process.

Liza, this is a nice guide and on the lines of what was demonstrated by Jason yesterday in the live session. Please try this and see if you can figure out the steps you missed. It's important that you practice this as this will be needed for almost all open source projects. Good luck! :)

Hi Shivani, I'm done. The squash was successful.

@jufajardini
Copy link
Contributor

Hi Shivani, instead of squashing the commits together i ended up adding another. Kindly advice, i followed the procedure but i must,ve skipped a process.

Liza, this is a nice guide and on the lines of what was demonstrated by Jason yesterday in the live session. Please try this and see if you can figure out the steps you missed. It's important that you practice this as this will be needed for almost all open source projects. Good luck! :)

Hi Shivani, I'm done. The squash was successful.

Thanks, Liza! I've noticed that your git author is missing a surname, (we usually follow the format FirstName LastName <e-mail>). Could you please fix that?

We also add the ticket number we're working on to the commit message, please see this commit as an example of what we expect:
3ecb923

:)

@github-actions
Copy link

NOTE: This PR may contain new authors:

Liza <oparliza@gmail.com>

@zazie-codes
Copy link
Contributor Author

Hi Shivani, instead of squashing the commits together i ended up adding another. Kindly advice, i followed the procedure but i must,ve skipped a process.

Liza, this is a nice guide and on the lines of what was demonstrated by Jason yesterday in the live session. Please try this and see if you can figure out the steps you missed. It's important that you practice this as this will be needed for almost all open source projects. Good luck! :)

Hi Shivani, I'm done. The squash was successful.

Thanks, Liza! I've noticed that your git author is missing a surname, (we usually follow the format FirstName LastName <e-mail>). Could you please fix that?

We also add the ticket number we're working on to the commit message, please see this commit as an example of what we expect: 3ecb923

:)

Yes I'm on it.

@zazie-codes zazie-codes force-pushed the formatting branch 3 times, most recently from ad3dd9d to 305186f Compare October 16, 2023 15:37
@zazie-codes
Copy link
Contributor Author

Hi Shivani, instead of squashing the commits together i ended up adding another. Kindly advice, i followed the procedure but i must,ve skipped a process.

Liza, this is a nice guide and on the lines of what was demonstrated by Jason yesterday in the live session. Please try this and see if you can figure out the steps you missed. It's important that you practice this as this will be needed for almost all open source projects. Good luck! :)

Hi Shivani, I'm done. The squash was successful.

Thanks, Liza! I've noticed that your git author is missing a surname, (we usually follow the format FirstName LastName <e-mail>). Could you please fix that?

We also add the ticket number we're working on to the commit message, please see this commit as an example of what we expect: 3ecb923

:)

Hi Juliana. I've made the changes.

@github-actions
Copy link

NOTE: This PR may contain new authors:

Liza Opar <oparliza@gmail.com>

1 similar comment
@github-actions
Copy link

NOTE: This PR may contain new authors:

Liza Opar <oparliza@gmail.com>

Copy link
Contributor

@jufajardini jufajardini left a comment

Choose a reason for hiding this comment

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

I reviewed this PR looking at the previous reviews, and it seems that you have incorporated most of the feedback given. :)

I've also checked that commit style and author ID are conforming to our guidelines, now.

I've left three inline comments, but these should be straightforward to address, at this point :)

src/app-layer-htp-libhtp.h Show resolved Hide resolved
src/app-layer-htp-libhtp.c Show resolved Hide resolved
src/app-layer.h Outdated Show resolved Hide resolved
src/app-layer-dnp3.h Show resolved Hide resolved
@inashivb
Copy link
Member

@zazie-codes you're supposed to make new PR each time to incorporate any changes 😉

@zazie-codes
Copy link
Contributor Author

I reviewed this PR looking at the previous reviews, and it seems that you have incorporated most of the feedback given. :)

I've also checked that commit style and author ID are conforming to our guidelines, now.

I've left three inline comments, but these should be straightforward to address, at this point :)

Hi, I've incorporated the changes requested.

@zazie-codes
Copy link
Contributor Author

@zazie-codes you're supposed to make new PR each time to incorporate any changes 😉

Done.

@jufajardini
Copy link
Contributor

@zazie-codes you're supposed to make new PR each time to incorporate any changes 😉

Done.

Thanks and kudos, but when incorporating feedback, especially when code-related, can you please submit those as part of a new PR, as you've done with the previous versions of your work? I know not all communities are like that, but this is really how our workflow goes, and it's easier for us to follow up and compare stuff.

@zazie-codes
Copy link
Contributor Author

@zazie-codes you're supposed to make new PR each time to incorporate any changes 😉

Done.

Thanks and kudos, but when incorporating feedback, especially when code-related, can you please submit those as part of a new PR, as you've done with the previous versions of your work? I know not all communities are like that, but this is really how our workflow goes, and it's easier for us to follow up and compare stuff.

Sure Juliana...the changes are incorporated in the new PR #9650

@jufajardini
Copy link
Contributor

@zazie-codes you're supposed to make new PR each time to incorporate any changes 😉

Done.

Thanks and kudos, but when incorporating feedback, especially when code-related, can you please submit those as part of a new PR, as you've done with the previous versions of your work? I know not all communities are like that, but this is really how our workflow goes, and it's easier for us to follow up and compare stuff.

Sure Juliana...the changes are incorporated in the new PR #9650

Thanks for mentioning it, I'll close this one, then.

@jufajardini
Copy link
Contributor

Replaced by: #9649

@github-actions
Copy link

NOTE: This PR may contain new authors:

Liza Opar <oparliza@gmail.com>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
outreachy Contributions made by Outreachy applicants
3 participants