Title: feat: add init.sh post-initialization script (#88) by boxcee-interview · Pull Request #158 · crossplane/function-template-python · GitHub
Open Graph Title: feat: add init.sh post-initialization script (#88) by boxcee-interview · Pull Request #158 · crossplane/function-template-python
X Title: feat: add init.sh post-initialization script (#88) by boxcee-interview · Pull Request #158 · crossplane/function-template-python
Description: Closes #88 Add a post-initialization script that replaces all instances of crossplane/function-template-python in the repository with the user's own function name. This enables xpkg init to correctly set up the template after cloning. Changes in this PR: Added init.sh post-initialization script that runs automatically during xpkg init Replaces crossplane/function-template-python in: package/crossplane.yaml (the Function resource name) example/aws-loadbalancer-kube-proxy-provider.yaml example/aws-s3-bucket-provider.yaml How to Test Run xpkg init crossplane/function-template-python --target my-function Verify that package/crossplane.yaml and example/*.yaml are replaced with the new function name
Open Graph Description: Closes #88 Add a post-initialization script that replaces all instances of crossplane/function-template-python in the repository with the user's own function name. This enables xpkg init to cor...
X Description: Closes #88 Add a post-initialization script that replaces all instances of crossplane/function-template-python in the repository with the user's own function name. This enables xpkg init to...
Opengraph URL: https://github.com/crossplane/function-template-python/pull/158
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dae0901c-fadf-6ed1-a7f8-77227dc6d666 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BFA4:37843A:394974A:50739E7:6A5F947C |
| html-safe-nonce | 797369dff7dbd0877cc5f389d28d77ae2b8a4c5fc0619162d22d2c6ad2c2975c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkE0OjM3ODQzQTozOTQ5NzRBOjUwNzM5RTc6NkE1Rjk0N0MiLCJ2aXNpdG9yX2lkIjoiMjQ4MzkzMzQ5NDkxOTUzMzY5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d880c2d39e9fdb0fb311df2a91be5dc38f59edf80d2f5b7e00ded4d3c679e074 |
| hovercard-subject-tag | pull_request:3600755657 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/crossplane/function-template-python/pull/158/files |
| twitter:image | https://avatars.githubusercontent.com/u/99795938?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/99795938?s=400&v=4 |
| og:image:alt | Closes #88 Add a post-initialization script that replaces all instances of crossplane/function-template-python in the repository with the user's own function name. This enables xpkg init to cor... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 419b66b5f218029570caa18c30987e7dbabe4f5a6767918b33a504d02739c9c7 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | de5b18aa36dbc0b61e03aeb111e84e90fde499b8 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width