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

[3/6] [nexus-auth] move some types into nexus-types #6369

Conversation

sunshowers
Copy link
Contributor

Put them here rather than in nexus-auth so that the upcoming
nexus-external-api crate has fewer dependencies.

Created using spr 1.3.6-beta.1
sunshowers added a commit to sunshowers/omicron that referenced this pull request Aug 17, 2024
Put them here rather than in `nexus-auth` so that the upcoming
nexus-external-api crate has fewer dependencies.

Pull Request: oxidecomputer#6369
@sunshowers sunshowers changed the title [nexus-auth] move some types into an auth-types crate [3/6] [nexus-auth] move some types into an auth-types crate Aug 17, 2024
@sunshowers sunshowers requested a review from davepacheco August 17, 2024 18:17
@sunshowers
Copy link
Contributor Author

Adding Dave as well since we discussed where to put this.

Copy link
Collaborator

@davepacheco davepacheco left a comment

Choose a reason for hiding this comment

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

This seems fine, but any reason not to put this into nexus-types?

@sunshowers
Copy link
Contributor Author

This seems fine, but any reason not to put this into nexus-types?

I did consider that! IIRC it caused nexus-types to pull in a number of extra dependencies, but I'll double-check.

@sunshowers
Copy link
Contributor Author

It's only 3 extra build units (cargo build -p nexus-types goes from 530 units to 533) so I'll just put it in nexus-types.

Created using spr 1.3.6-beta.1
@sunshowers sunshowers changed the title [3/6] [nexus-auth] move some types into an auth-types crate [3/6] [nexus-auth] move some types into nexus-types Aug 19, 2024
@sunshowers sunshowers enabled auto-merge (squash) August 19, 2024 17:54
@sunshowers sunshowers merged commit 6dd9802 into main Aug 19, 2024
23 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/nexus-auth-move-some-types-into-an-auth-types-crate branch August 19, 2024 19:13
sunshowers added a commit that referenced this pull request Aug 28, 2024
At long last, here's the last OpenAPI document converted into a trait: the
Nexus external API. This is a fairly large change, but with all the
prerequisites in place the conversion is overall pretty mechanical. I did need
to move some types around, but the bulk of the PR is just adding the very large
external API trait.

This PR also adds a `.git-blame-ignore-revs` entry corresponding to #6372, so that the indent doesn't ruin blame in the GitHub web view. (You can configure this locally as well with `git config blame.ignoreRevsFile .git-blame-ignore-revs`.)

In a subsequent PR I'll remove the old instructions.

Depends on:

* #6355
* #6364 
* #6369
* #6370
* #6372

Co-authored-by: David Crespo <[email protected]>
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.

2 participants