Support Jira Server/DC and split Confluence config (#5) - #6
Conversation
Summary of ChangesHello, 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 significantly enhances the tool's compatibility and flexibility by addressing limitations with Jira Server/Data Center and split-host Confluence deployments. It introduces granular control over API versions and separate authentication/URL configurations for Confluence, ensuring the tool can operate effectively across a wider range of Atlassian environments. Additionally, it refines how Jira issue descriptions are rendered, providing a more robust user experience. Highlights
Changelog
Activity
Using Gemini Code AssistThe 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 by creating a comment using either
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 Limitations & Feedback Gemini Code Assist 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. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. 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
|
There was a problem hiding this comment.
Code Review
This pull request significantly enhances the tool by adding support for Jira Server/DC and introducing separate, flexible configurations for Confluence. The implementation is robust, featuring configurable API versions, fallback credential handling, and support for Jira's Atlassian Document Format (ADF). The inclusion of new tests to validate these changes is also a great practice. My review includes a few suggestions to refactor duplicated logic in the configuration handling within src/main.zig, which will improve code clarity and maintainability.
|
@ainoya thank you for building this tool. I find it the most simple to configure and fits my use case (Jira and Confluence DC) in my org. appreciate if you can take a look at this PR and give some feedback when you can. I'm planning to introduce your tool to my org and recommend they use it with their AI agents. |
|
@ainoya could you please take a look at this PR and consider merging if all is good? I'm planning to do a knowledge sharing with my team next week and was hoping to get this PR in so I can recommend to my team try your cli out 🙏🏽 |
Closes #5.
Summary
This PR fixes several assumptions that break Jira Server/Data Center and split-host Confluence deployments.
Changes
ATLASSIAN_JIRA_API_VERSIONto support2,3, orlatestCONFLUENCE_URLwith fallback toATLASSIAN_URLCONFLUENCE_USERNAMEandCONFLUENCE_API_TOKENwith fallback to shared Atlassian credentials.envrc.exampleVerification
zig build testzig build