This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git
The following commit(s) were added to refs/heads/main by this push:
new c12c3a330 Apply same vcs.xml as for Calcite - Add JIRA/GitHub links
in Git in IDEA - Enable commit inspection in IDEA
c12c3a330 is described below
commit c12c3a3305f6435fedf13e6ce6867c30c21ffd58
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Thu Mar 16 14:15:21 2023 +0100
Apply same vcs.xml as for Calcite
- Add JIRA/GitHub links in Git in IDEA
- Enable commit inspection in IDEA
---
.gitignore | 1 +
.idea/vcs.xml | 27 +++++++++++++++++++++++++++
.ratignore | 1 +
3 files changed, 29 insertions(+)
diff --git a/.gitignore b/.gitignore
index 2dde867c6..cd3dcd18b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
**/.editorconfig
*~
/.idea
+!/.idea/vcs.xml
*.iml
settings.xml
.classpath.txt
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 000000000..8a14c8f43
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="CommitMessageInspectionProfile">
+ <profile version="1.0">
+ <inspection_tool class="BodyLimit" enabled="true" level="WARNING"
enabled_by_default="true" />
+ <inspection_tool class="SubjectBodySeparation" enabled="true"
level="ERROR" enabled_by_default="true" />
+ <inspection_tool class="SubjectLimit" enabled="true"
level="WARNING" enabled_by_default="true" />
+ </profile>
+ </component>
+ <component name="IssueNavigationConfiguration">
+ <option name="links">
+ <list>
+ <IssueNavigationLink>
+ <option name="issueRegexp" value="[A-Z]+\-\d+" />
+ <option name="linkRegexp"
value="https://issues.apache.org/jira/browse/$0" />
+ </IssueNavigationLink>
+ <IssueNavigationLink>
+ <option name="issueRegexp" value="(apache/calcite)?#(\d+)"
/>
+ <option name="linkRegexp"
value="https://github.com/apache/calcite-avatica/pull/$2" />
+ </IssueNavigationLink>
+ </list>
+ </option>
+ </component>
+ <component name="VcsDirectoryMappings">
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
+ </component>
+</project>
diff --git a/.ratignore b/.ratignore
index 0ec8dd88f..42ec83056 100644
--- a/.ratignore
+++ b/.ratignore
@@ -1,6 +1,7 @@
**/.gitattributes
**/.gitignore
.ratignore
+.idea/vcs.xml
# Third-party license files
src/main/config/licenses/
#