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

Switch C# codegen to schema #1132

Merged
merged 1 commit into from
May 29, 2020
Merged

Conversation

mikhailshilkov
Copy link
Member

Proposed changes

Switch the generation of the .NET SDK to schema-based one (except for the YAML overlay)

Related issues (optional)

Fixes #1084

Copy link
Member

@lblackstone lblackstone left a comment

Choose a reason for hiding this comment

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

LGTM, but @lukehoban may also want to take a look.

CHANGELOG.md Outdated
@@ -1,5 +1,15 @@
## HEAD (Unreleased)

### Improvements

- .NET SDK refactored to align with other .NET SDKs, e.g. ones based on Terraform. (https://github.com/pulumi/pulumi-kubernetes/pull/1132)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- .NET SDK refactored to align with other .NET SDKs, e.g. ones based on Terraform. (https://github.com/pulumi/pulumi-kubernetes/pull/1132)
- .NET SDK updated to align with other Pulumi .NET SDKs. (https://github.com/pulumi/pulumi-kubernetes/pull/1132)

CHANGELOG.md Outdated
### Improvements

- .NET SDK refactored to align with other .NET SDKs, e.g. ones based on Terraform. (https://github.com/pulumi/pulumi-kubernetes/pull/1132)
- Older resources are marked as obsolete in accordance to SDKs for other languages.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- Older resources are marked as obsolete in accordance to SDKs for other languages.
- Deprecated resources are now marked as `Obsolete`.

CHANGELOG.md Outdated

- .NET SDK refactored to align with other .NET SDKs, e.g. ones based on Terraform. (https://github.com/pulumi/pulumi-kubernetes/pull/1132)
- Older resources are marked as obsolete in accordance to SDKs for other languages.
- Many classes are moved to new locations while preserving the namespaces and API.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- Many classes are moved to new locations while preserving the namespaces and API.
- Many classes are moved to new locations on disk while preserving the public namespaces and API.

tests/go.mod Outdated
github.com/pulumi/pulumi/pkg/v2 v2.2.2-0.20200514204320-e677c7d6dca3
github.com/pulumi/pulumi/sdk/v2 v2.2.2-0.20200514204320-e677c7d6dca3
github.com/pulumi/pulumi/pkg/v2 v2.2.2-0.20200519094106-adfa8116fbf6
github.com/pulumi/pulumi/sdk/v2 v2.2.2-0.20200519094106-adfa8116fbf6
Copy link
Member

Choose a reason for hiding this comment

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

Minor - but can we move to a stable version of pulumi/pulumi now?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I will rebase, depend on stable, and resolve conflicts tomorrow

@mikhailshilkov mikhailshilkov force-pushed the mikhailshilkov/schema-dotnet-gen branch from 1bf9a72 to 5ed063a Compare May 29, 2020 09:11
@mikhailshilkov mikhailshilkov merged commit 72b173c into master May 29, 2020
@pulumi-bot pulumi-bot deleted the mikhailshilkov/schema-dotnet-gen branch May 29, 2020 12:33
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.

Replace Kubernetes code generation for .NET with shared code generator
3 participants