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

update some names for registry #11506

Closed
wants to merge 5 commits into from
Closed

Conversation

susanev
Copy link
Contributor

@susanev susanev commented Dec 1, 2022

fixing up some names for regsitry for seo and usability reasons

@susanev susanev self-assigned this Dec 1, 2022
@pulumi-bot
Copy link
Contributor

pulumi-bot commented Dec 1, 2022

Changelog

[uncommitted] (2022-12-03)

pkg/codegen/docs/gen.go Outdated Show resolved Hide resolved
pkg/codegen/docs/gen.go Outdated Show resolved Hide resolved
pkg/codegen/docs/gen.go Outdated Show resolved Hide resolved
pkg/codegen/docs/gen.go Outdated Show resolved Hide resolved
pkg/codegen/docs/gen.go Outdated Show resolved Hide resolved
pkg/codegen/docs/gen.go Outdated Show resolved Hide resolved
pkg/codegen/docs/gen.go Outdated Show resolved Hide resolved
pkg/codegen/docs/gen.go Outdated Show resolved Hide resolved
@susanev susanev added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label Dec 1, 2022
Signed-off-by: susanev <susan.ra.evans@gmail.com>
Signed-off-by: susanev <susan.ra.evans@gmail.com>
Comment on lines -1561 to +1569
// All custom resources have an implicit `id` output property, that we must inject into the docs.
if !r.IsComponent {
filteredOutputProps = append(filteredOutputProps, &schema.Property{
Name: "id",
Comment: "The provider-assigned unique ID for this managed resource.",
Type: schema.StringType,
})
}
// All resources have an implicit `id` output property, that we must inject into the docs.
filteredOutputProps = append(filteredOutputProps, &schema.Property{
Name: "id",
Comment: "The provider-assigned unique ID for this managed resource.",
Type: schema.StringType,
})
Copy link
Member

Choose a reason for hiding this comment

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

This change needs to be removed from this PR. We should not be including the id property for components. I just recently fixed this in #11469

Comment on lines +1695 to +1702
type fs map[string][]byte

func (fs fs) add(path string, contents []byte) {
_, has := fs[path]
contract.Assertf(!has, "duplicate file: %s", path)
fs[path] = contents
}

Copy link
Member

Choose a reason for hiding this comment

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

Also, all the rest of the changes related to fs (including the need to import the contract package at the top of the file) should be removed from this PR. This was a deliberate change in #11312 that shouldn't be reverted.

Copy link
Contributor Author

@susanev susanev Dec 3, 2022

Choose a reason for hiding this comment

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

@justinvp I could use your help on Monday. all of these came from what I thought was the right gen command to run, which was obviously wrong.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

well nevermind, i started over and its clean, going to close this in favor of #11525

@susanev susanev closed this Dec 3, 2022
bors bot added a commit that referenced this pull request Dec 3, 2022
11525: fixing some package names for seo reasons r=susanev a=susanev

a second try from #11506

Co-authored-by: susanev <susan.ra.evans@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants