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

Fix submission namespace output when including dashes #126

Merged

Conversation

vknabel
Copy link
Contributor

@vknabel vknabel commented Dec 21, 2023

When a new provider or module has been submitted which included a - within the namespace of the Git repository, only the last portion of the user or organization was picked.

See #125 as an example where metal-stack-cloud/terraform-provider-metal resulted in a errornous repository url of https://github.com/cloud/terraform-provider-metal.

When a new provider or module has been submitted which included a `-` within the namespace of the Git repository, only the last portion of the user or organization was picked.

See opentofu#125 as an example where `metal-stack-cloud/terraform-provider-metal` resulted in a errornous repository url of `https://github.com/cloud/terraform-provider-metal`.

Signed-off-by: Valentin Knabel <dev@vknabel.com>
@vknabel vknabel force-pushed the fix/organizations-might-contain-dashes branch from c44adbd to 79beb83 Compare December 21, 2023 10:26
@ghost ghost requested review from cam72cam and a user December 21, 2023 10:27
@ghost
Copy link

ghost commented Dec 21, 2023

@vknabel thank you for reporting this, it looks to me as if that regexp you changed could do with a little more attention from our side. It may need more than this change, but we'll try to sort it out as quickly as possible since this seems to be a blocker.

@cam72cam cam72cam merged commit 74eacd2 into opentofu:main Dec 21, 2023
1 check passed
@vknabel vknabel deleted the fix/organizations-might-contain-dashes branch December 22, 2023 07:53
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