Title: missing Post-initialization hooks for init commands · Issue #88 · crossplane/function-template-python · GitHub
Open Graph Title: missing Post-initialization hooks for init commands · Issue #88 · crossplane/function-template-python
X Title: missing Post-initialization hooks for init commands · Issue #88 · crossplane/function-template-python
Description: What problem are you facing? as per the docs: https://docs.crossplane.io/latest/guides/write-a-composition-function-in-python/ and the tip, which I quote: In v1.14 of the Crossplane CLI crossplane xpkg init just clones a template GitHub ...
Open Graph Description: What problem are you facing? as per the docs: https://docs.crossplane.io/latest/guides/write-a-composition-function-in-python/ and the tip, which I quote: In v1.14 of the Crossplane CLI crossplane ...
X Description: What problem are you facing? as per the docs: https://docs.crossplane.io/latest/guides/write-a-composition-function-in-python/ and the tip, which I quote: In v1.14 of the Crossplane CLI crossplane ...
Opengraph URL: https://github.com/crossplane/function-template-python/issues/88
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"missing Post-initialization hooks for init commands","articleBody":"### What problem are you facing?\r\nas per the docs: https://docs.crossplane.io/latest/guides/write-a-composition-function-in-python/\r\nand the tip, which I quote:\r\n\u003e In v1.14 of the Crossplane CLI crossplane xpkg init just clones a template GitHub repository. A future CLI release will automate tasks like replacing the template name with the new function’s name. See Crossplane issue [#4941](https://github.com/crossplane/crossplane/issues/4941) for details.\r\n\r\nIt would be ideal if this repo would provide scaffolding mechanism so that developers don't need to manually change parameters (package’s name is one) after the templated repo has been cloned.\r\n\r\nAlternatively if this has been fixed already I guess the tip need to be removed from the docs and it should work via cli as I am using \r\n```\r\nζ crossplane version \r\nClient Version: v1.17.1\r\nServer Version: v1.17.1-up.1\r\n```\r\nand it doesn't work when creating a new function command:\r\n```\r\nζ crossplane xpkg init function-pop https://github.com/crossplane/function-template-python -d function-pop \r\nInitialized package \"function-pop\" in directory \"/Users/huh/Documents/sandbox/crossplane/function-pop\" from https://github.com/crossplane/function-template-python/tree/88ae9b958787096fc72415217807ad4cf6515ec6 (main)\r\nζ cat function-pop/package/crossplane.yaml \r\n---\r\napiVersion: meta.pkg.crossplane.io/v1beta1\r\nkind: Function\r\nmetadata:\r\n name: function-template-python\r\nspec: {}\r\n```\r\n \r\n### How could this ~Function~ help solve your problem?\r\nTo improve developer experience and eventually prevent people from falling in a rabbit hole as the documentation link points at an issue that has been seemingly been solved but no clear resolution can be deducted from that\r\n","author":{"url":"https://github.com/iomarcovalente","@type":"Person","name":"iomarcovalente"},"datePublished":"2024-10-02T13:28:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/88/function-template-python/issues/88"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:56713be0-a34f-ab2d-6af7-14370bae6e39 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E162:2B9CDD:1A369EA:22928DC:6A5C837B |
| html-safe-nonce | 95063451d126922addbfca8621662aad076c6c0d23869f4048de0fe24c07c601 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTYyOjJCOUNERDoxQTM2OUVBOjIyOTI4REM6NkE1QzgzN0IiLCJ2aXNpdG9yX2lkIjoiNDY3OTU5MjI0Mzc3MDQ5OTc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 46432e0c87c7bb3159ed7a4a8a7e49c52e93732376924f15ca5a65c86e5d13d6 |
| hovercard-subject-tag | issue:2561688404 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/crossplane/function-template-python/88/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9529a410ce559c0f3ca07c64412f3ce76c50aeb3616c982a8165ffdfb219faab/crossplane/function-template-python/issues/88 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9529a410ce559c0f3ca07c64412f3ce76c50aeb3616c982a8165ffdfb219faab/crossplane/function-template-python/issues/88 |
| og:image:alt | What problem are you facing? as per the docs: https://docs.crossplane.io/latest/guides/write-a-composition-function-in-python/ and the tip, which I quote: In v1.14 of the Crossplane CLI crossplane ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iomarcovalente |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/crossplane/function-template-python git https://github.com/crossplane/function-template-python.git |
| octolytics-dimension-user_id | 45158470 |
| octolytics-dimension-user_login | crossplane |
| octolytics-dimension-repository_id | 721836323 |
| octolytics-dimension-repository_nwo | crossplane/function-template-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 721836323 |
| octolytics-dimension-repository_network_root_nwo | crossplane/function-template-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width