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

chore: Complete unifying Hipcheck in single crate #47

Merged
merged 14 commits into from
May 7, 2024

Conversation

alilleybrinker
Copy link
Collaborator

No description provided.

This commit eliminates the `hc_version` crate by moving its contents
into `hc_common`.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
This commit moves `hc_config` into `hc_common`.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
This commit removes `hc_serde` in favor of directly importing `serde`
where it's needed. Since everything will soon be merged into a single
crate anyway it won't matter much.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
This commit merges the contents of `hc_report` into the `hc_common`
crate.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
This commits merges `hc_shell` into `hc_common`.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
This commit merges `hc_data` into the `hc_common` crate.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
This commit merges `hc_core` and `hc_analysis` into `hc_common`.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
This completes the effort to unify Hipcheck into a single crate, by
merging `hc_common` into `hipcheck`.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
@alilleybrinker alilleybrinker added the type: chore Clean up or management task. label May 6, 2024
@alilleybrinker alilleybrinker added this to the 3.2.0 milestone May 6, 2024
@alilleybrinker alilleybrinker requested a review from mchernicoff May 6, 2024 22:32
@alilleybrinker alilleybrinker self-assigned this May 6, 2024
@alilleybrinker alilleybrinker linked an issue May 6, 2024 that may be closed by this pull request
It looks like Rustfmt had created some weird `::{self}`-imports. This
commit replaces them.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
This commit removes the broken (and already minimally-useful)
integration testing and benchmarking code. Those relied on the Hipcheck
library interface, which no longer exists.

We'll want to create new ones based on the new stable interface for
Hipcheck, the CLI.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
This commit puts Hipcheck's dependencies in alphabetical order, which
makes them much easier to work with in the future since there are so
many of them.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
mchernicoff
mchernicoff previously approved these changes May 7, 2024
I'd accidentally deleted the `#[serde(default)]` annotations on all of
the configuration types, causing parsing to fail for config files if any
fields were missing. This commit brings them back, and also resolves a
clippy warning about a useless import.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
This commit fixes broken ureq TLS configuration. It turns out when you
tell ureq to use native TLS certificate stores, it doesn't set those up
in the request agent automatically the way it does for the default TLS
configuration. Rather, it requires you to add the `native_tls`
dependency and set them up yourself. This commit does that.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
This is why we have cross-platform CI testing haha.

This commit removes a broken import in some Windows-specific code. We'd
previously done a weird thing of re-exporting external dependencies
under crate-local pathnames. We no longer do that, but had an import
laying around still that expected this kind of structure.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
@alilleybrinker
Copy link
Collaborator Author

@mchernicoff ready for a re-review!

@mchernicoff mchernicoff merged commit 8260a35 into main May 7, 2024
4 checks passed
@alilleybrinker alilleybrinker deleted the alilleybrinker/mega-merge branch May 7, 2024 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore Clean up or management task.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Reduce crates in Hipcheck workspace
2 participants