-
Notifications
You must be signed in to change notification settings - Fork 47
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
move CCADB fetching into a crate #56
Conversation
Thanks for the PR! Some initial feedback:
|
1a756c3
to
2368363
Compare
It would be easier to review if you could keep the commit history tidy, with discrete commits instead of layering the feedback on top in one commit. Thank you |
The first commit here should turn the repo into a Cargo workspace without doing anything else, to untangle that change from everything else. The next commit should do the minimal possible change to move code from (There's also no need to pin the pki-types dependency to |
Sorry this one is on me: I accidentally broke semver w/ 0.2.3 and webpki won't build w/ 0.2.3 without landing rustls/webpki#212 |
This is resolved w/ webpki 0.102.0-alpha.8 |
I'll update the commit history to have 2 commits as suggested and use webpki 0.102.0-alpha.8. |
2368363
to
583971c
Compare
I've updated the commit history. Let me know if I should make any changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking pretty good. If you rebase this (instead of adding a merge commit) that should obviate the need for the webpki alpha bump.
eea7a22
to
b7b5817
Compare
d5ed3c7
to
17c3993
Compare
What license should be assigned to the webpki-ccadb crate? The webpki-ccadb crate contains source code that was moved from the webpki-roots crate. The webpki-roots crate is under "MPL-2.0". Therefore webpki-ccadb should also be "MPL-2.0"? |
I've added the MPL 2.0 license to the webpki-ccadb crate. Let me know if any more changes are needed. |
ef7a640
to
674af11
Compare
The That doesn't really apply to the code we (predominantly, @cpu) wrote which would form the basis of this new library crate. I'd suggest |
SGTM. |
The webpki-ccadb crate is source code that was in the webpki-roots crate. All the source code of the webpki-roots crate was under the MPL 2.0 license. Can I get confirmation that you wish to change the license of webpki-ccadb to be 'MIT or APACHE-2.0'? |
Sorry, I didn't see @cpu's affirmation above. I will change the license. |
Changed license of webpki-ccadb to be "MIT or APACHE-2.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last nit, will be good to merge this.
the [webpki](https://github.com/rustls/webpki) or | ||
[rustls](https://github.com/rustls/rustls) crates. | ||
|
||
This crate is inspired by [certifi.io](https://certifi.io/en/latest/) and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is removed only to be brought back (in slightly modified form) in the next commit. Let's leave it here in the first place? Sorry, missed this in the previous round due to the other things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've made the change to keep the paragraph that starts with 'The webpki-roots crate is inspired...' and all the paragraphs below it into the top-level README.md. Did you want only the paragraph 'The webpki-roots crate is inspired by...' to remain in the top-level README.md or that paragraph and the ones below it as well?
Change the webpki-roots repo to be a workspace that includes a crate that pulls the CCADB stuff and exposes an API.
I've published the webpki-ccadb 0.1.0 release to crates.io. |
Change the webpki-roots repo to be a workspace that includes a crate that pulls the CCADB stuff and exposes an API.
This pull request has a dependency on rustls/webpki#212.