-
Notifications
You must be signed in to change notification settings - Fork 712
[Blog] Created blog for relationships in meshery #2245
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Yogendar Singh <singhyogendar78@gmail.com>
Yay, your first pull request! 👍 A contributor will be by to give feedback soon. In the meantime, please review the Newcomers' Guide and sure to join the community Slack. |
✅ Deploy Preview for mesheryio-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary of Changes
Hello @Paladian78, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request introduces a new blog post aimed at educating users and contributors on how relationships work in Meshery. It covers the different types of relationships, methods for creating them via CLI and UI, steps for testing and debugging, and common troubleshooting scenarios.
Highlights
- New Blog Post: Adds a new blog post titled "Creating Relationships in Meshery" to the collections directory.
- Content: Relationship Types: The blog post explains the different types of relationships supported in Meshery: Hierarchical, Edge, and Sibling.
- Content: Creation Methods: Details are provided on how to create relationships using both the
mesheryctl registry generate
command and the Meshery UI. - Content: Testing and Debugging: Includes a section with multiple steps and tips for testing and debugging relationships within the Meshery UI.
- Content: Troubleshooting: Offers specific advice for troubleshooting common issues with Parent-Child and Edge relationships, as well as general debugging tips.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command>
or @gemini-code-assist <command>
. Below is a summary of the supported commands.
Feature | Command | Description |
---|---|---|
Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/
folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configureGemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces a new blog post about creating relationships in Meshery. The review suggests improvements to clarity, correctness, and formatting, including command examples, link functionality, image accessibility, and grammar.
You can create relationships in Meshery using the `mesheryctl registry generate command`, which takes a spreadsheet as input and generates your models and relationships automatically. To get started, either create a copy of the Meshery integration spreadsheet and add your own entries, or download three separate CSV files named Models, Components, and Relationships with strict naming conventions. This method is ideal if you prefer working from the command line and want to manage your relationships programmatically. | ||
|
||
```bash | ||
mesheryctl registry generate --spreadsheet-id "1DZHnzxYWOlJ69Oguz4LkRVTFM79kC2tuvdwizOJmeMw --spreadsheet-cred "[spreadsheet-credential-file]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The command example has a missing closing double quote for --spreadsheet-id
and uses square brackets for the credential file placeholder. Consider updating for clarity.
mesheryctl registry generate --spreadsheet-id "1DZHnzxYWOlJ69Oguz4LkRVTFM79kC2tuvdwizOJmeMw --spreadsheet-cred "[spreadsheet-credential-file]" | |
mesheryctl registry generate --spreadsheet-id "1DZHnzxYWOlJ69Oguz4LkRVTFM79kC2tuvdwizOJmeMw" --spreadsheet-cred "<path-to-your-spreadsheet-credential-file>" |
|
||
Get started with the [Contributor's Guide](https://docs.meshery.io/project/contributing/contributing-relationships) | ||
|
||
Refer to [User Guide](#) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
collections/_posts/2025/06/16/2025-06-16-creating-relationships-in-meshery.md
Outdated
Show resolved
Hide resolved
collections/_posts/2025/06/16/2025-06-16-creating-relationships-in-meshery.md
Outdated
Show resolved
Hide resolved
mesheryctl registry generate --spreadsheet-id "1DZHnzxYWOlJ69Oguz4LkRVTFM79kC2tuvdwizOJmeMw --spreadsheet-cred "[spreadsheet-credential-file]" | ||
``` | ||
```bash | ||
mesheryctl registry generate --directory <path-to-directory> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
collections/_posts/2025/06/16/2025-06-16-creating-relationships-in-meshery.md
Outdated
Show resolved
Hide resolved
|
||
Meshery’s UI offers a user-friendly way to create relationships as well. You can upload your CSV files directly through the interface in the kanvas or from the registry, or if you have OCI artifact files for your models, you can upload those too. This approach is great for users who prefer a visual workflow or want to quickly import and manage relationships without using CLI commands. | ||
|
||
<img src="/assets/images/posts/2025-06-16-creating-relationships-in-meshery/registry-import.png" style="padding:.5rem;"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a descriptive alt
attribute to the <img>
tag for accessibility. Using Markdown syntax for images could also improve maintainability.
<img src="/assets/images/posts/2025-06-16-creating-relationships-in-meshery/registry-import.png" style="padding:.5rem;"> | |
 |
|
||
<img src="/assets/images/posts/2025-06-16-creating-relationships-in-meshery/registry-import.png" style="padding:.5rem;"> | ||
|
||
<img src="/assets/images/posts/2025-06-16-creating-relationships-in-meshery/kanvas-import.png" style="padding:.5rem;"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a descriptive alt
attribute to this <img>
tag for accessibility. Consider using Markdown image syntax for better maintainability.
<img src="/assets/images/posts/2025-06-16-creating-relationships-in-meshery/kanvas-import.png" style="padding:.5rem;"> | |
 |
collections/_posts/2025/06/16/2025-06-16-creating-relationships-in-meshery.md
Outdated
Show resolved
Hide resolved
|
||
## Contribute and Collaborate with Meshery | ||
|
||
Meshery thrives because of its active, welcoming community, and everyone is encouraged to get involved. Check out our existing models, pick one that interests you, and showcase your skills by creating new relationships, every contribution helps Meshery grow and evolve. Whether you’re just exploring or ready to dive in, your participation makes a real difference, so jump in and let’s build something great together |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sentence contains a comma splice. Consider replacing the comma with a period or semicolon.
Meshery thrives because of its active, welcoming community, and everyone is encouraged to get involved. Check out our existing models, pick one that interests you, and showcase your skills by creating new relationships, every contribution helps Meshery grow and evolve. Whether you’re just exploring or ready to dive in, your participation makes a real difference, so jump in and let’s build something great together | |
Meshery thrives because of its active, welcoming community, and everyone is encouraged to get involved. Check out our existing models, pick one that interests you, and showcase your skills by creating new relationships. Every contribution helps Meshery grow and evolve. Whether you’re just exploring or ready to dive in, your participation makes a real difference, so jump in and let’s build something great together |
Signed-off-by: Yogendar Singh <singhyogendar78@gmail.com>
…s-in-meshery.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Paladian78 <singhyogendar78@gmail.com>
…s-in-meshery.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Paladian78 <singhyogendar78@gmail.com>
…s-in-meshery.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Paladian78 <singhyogendar78@gmail.com>
…s-in-meshery.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Paladian78 <singhyogendar78@gmail.com>
|
||
<img alt="Kanvas Import Option" src="/assets/images/posts/2025-06-16-creating-relationships-in-meshery/kanvas-import.png" style="padding:.5rem;" width="100%"> | ||
|
||
## How to test/debug relationships |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really helpful blog! Images in the test/debug section might make the steps even easier to understand.
Description
This PR is intended to create a blog post for creating relationships in meshery.
Notes for Reviewers
Signed commits