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

Fixes for xpkg init generation recommendations and CI workflow for uppercase github org names #92

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

ytsarev
Copy link
Member

@ytsarev ytsarev commented Dec 12, 2024

Description of your changes

  • go generate -> go generate ./... in NOTES and readme. It is visible right after crossplane xpkg init so it is important to provide correct CLI instructions to the user

  • Avoid failure in CI workflow by handling cases for GitHub organizations with uppercase characters in their names, e.g. UpboundCare. Before this change you would hit the failure similar to the one below

crossplane: error: failed to parse package tag "xpkg.upbound.io/UpboundCare/function-azresourcegraph:v0.0.0-20241211161841-62aad247be2c": repository can only contain the characters `abcdefghijklmnopqrstuvwxyz0123456789_-./`: UpboundCare/function-azresourcegraph

I have:

Signed-off-by: Yury Tsarev <[email protected]>
Otherwise it will fail for GitHub orgs with uppercase chars in theri
name with the error similar to the one below

```
crossplane: error: failed to parse package tag "xpkg.upbound.io/UpboundCare/function-azresourcegraph:v0.0.0-20241211161841-62aad247be2c": repository can only contain the characters `abcdefghijklmnopqrstuvwxyz0123456789_-./`: UpboundCare/function-azresourcegraph
```

Signed-off-by: Yury Tsarev <[email protected]>
@phisco phisco merged commit f68a0d6 into crossplane:main Dec 12, 2024
6 checks passed
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.

3 participants