Details
-
Task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Code Clarity
-
Low Hanging Fruit
-
All
-
None
-
Description
It is possible to navigate from the IntelliJ IDEA Git window to a corresponding Cassandra issue, the Apache Jira if mentioned in the git message. The example in the attachments shows how CASSANDRA-* letters are turned on in the commit message to an appropriate Cassandra Jira link.
We should update the IntelliJ IDEA configuration and make this behaviour a default for the ant generate-idea-files process.
To achieve this manually you can update your .idea/vcs.xml file in the Cassandra project with the following:
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="VcsDirectoryMappings"> <mapping directory="$PROJECT_DIR$" vcs="Git" /> </component> <component name="IssueNavigationConfiguration"> <option name="links"> <list> <IssueNavigationLink> <option name="issueRegexp" value="CASSANDRA-(\d+)" /> <option name="linkRegexp"value="https://issues.apache.org/jira/browse/CASSANDRA-$1"/> </IssueNavigationLink> </list> </option> </component> </project>
Attachments
Attachments
Issue Links
- links to