Skip to content

Comments

Don't ignore ASN1 when checking for undocumented symbols#10980

Closed
mattcaswell wants to merge 2 commits intoopenssl:masterfrom
mattcaswell:dont-ignore-asn1
Closed

Don't ignore ASN1 when checking for undocumented symbols#10980
mattcaswell wants to merge 2 commits intoopenssl:masterfrom
mattcaswell:dont-ignore-asn1

Conversation

@mattcaswell
Copy link
Member

When we run "make doc-nits" (which happens during travis runs) it will
complain if we add any new symbols that aren't documented. However it
was suppressing anything starting with ASN1. There's no reason why we
should allow ASN1 symbols to go undocumented any more than any others.
Therefore we remove that exception.

Checklist
  • documentation is added or updated
  • tests are added or updated

When we run "make doc-nits" (which happens during travis runs) it will
complain if we add any new symbols that aren't documented. However it
was suppressing anything starting with ASN1. There's no reason why we
should allow ASN1 symbols to go undocumented any more than any others.
Therefore we remove that exception.
@mattcaswell mattcaswell added the branch: master Applies to master branch label Jan 31, 2020
@mattcaswell mattcaswell mentioned this pull request Jan 31, 2020
@levitte
Copy link
Member

levitte commented Jan 31, 2020

H'oh boy...

Did you find a reasoning re skipping those functions in the commit log?

@mattcaswell
Copy link
Member Author

Did you find a reasoning re skipping those functions in the commit log?

Seems to have always been there. No specific reasoning mentioned in the logs that I could find.

@richsalz
Copy link
Contributor

We never considered the ASN1 parsing to be really part of the public API. Nobody on the team was really thrillled with the way that stuff works, and there was also a bubbling undercurrent of replacing it. When developing find-doc-nits, I just codified that sentiment :) Perhaps a more tractable solution is to just ignore the common new/free/it names? And then trim down the missing list significantly.

@mattcaswell
Copy link
Member Author

Ping?

@paulidale
Copy link
Contributor

Knowing which of these isn't documented seems like a good idea.

@paulidale paulidale added the approval: done This pull request has the required number of approvals label Feb 3, 2020
@mattcaswell mattcaswell added approval: ready to merge The 24 hour grace period has passed, ready to merge and removed approval: done This pull request has the required number of approvals labels Feb 4, 2020
PR openssl#10942 introduced the new function ASN1_item_verify_ctx(), but did
not document it with the promise that documentation would follow soon.
We temporarily add this function to missingcrypto.txt until it has been
done.
@mattcaswell mattcaswell added approval: review pending This pull request needs review by a committer and removed approval: ready to merge The 24 hour grace period has passed, ready to merge labels Feb 4, 2020
@mattcaswell
Copy link
Member Author

Darn. PR #10942 went in and added a new and undocumented ASN1 function with the promise from @levitte that he would add the docs real soon. Until that happens we need to add that function to missingcrypto.txt in this PR to avoid a "make doc-nits" failure.

@paulidale (or anyone) please can you reconfirm?

@mattcaswell
Copy link
Member Author

Travis red cross is not relevant.

Ping?

Copy link
Contributor

@paulidale paulidale left a comment

Choose a reason for hiding this comment

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

Still good, missed the earlier reminder sorry.

@paulidale paulidale added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Feb 6, 2020
@iamamoose iamamoose added approval: ready to merge The 24 hour grace period has passed, ready to merge and removed approval: done This pull request has the required number of approvals labels Feb 7, 2020
openssl-machine pushed a commit that referenced this pull request Feb 7, 2020
When we run "make doc-nits" (which happens during travis runs) it will
complain if we add any new symbols that aren't documented. However it
was suppressing anything starting with ASN1. There's no reason why we
should allow ASN1 symbols to go undocumented any more than any others.
Therefore we remove that exception.

Reviewed-by: Paul Dale <[email protected]>
(Merged from #10980)
openssl-machine pushed a commit that referenced this pull request Feb 7, 2020
PR #10942 introduced the new function ASN1_item_verify_ctx(), but did
not document it with the promise that documentation would follow soon.
We temporarily add this function to missingcrypto.txt until it has been
done.

Reviewed-by: Paul Dale <[email protected]>
(Merged from #10980)
@mattcaswell
Copy link
Member Author

Pushed. Thanks.

@mattcaswell mattcaswell closed this Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Applies to master branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants