]> source.dussan.org Git - gitignore.git/commitdiff
.idea/**/datasources.xml is now safe to store 2597/head
authorDmitriy "DK" Korobskiy <DKroot@users.noreply.github.com>
Wed, 7 Feb 2018 16:05:42 +0000 (11:05 -0500)
committerGitHub <noreply@github.com>
Wed, 7 Feb 2018 16:05:42 +0000 (11:05 -0500)
Since IDEA 14 (2014), IDEA and other contemporaneous JebBrains IDEs don't store sensitive info in `datasources.xml` and it makes sense to version control to share project data sources among the team. `dataSources.local.xml` is user-specific: contain usernames and could be sensitive from a security perspective, albeit passwords could be externalized to e.g. Mac Keychain.

References: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839, https://youtrack.jetbrains.com/issue/IDEA-127105

Global/JetBrains.gitignore

index 2e29437fd0dc7cbb792fbeb763c8225fcbd7d001..9c01e12b05028cf455ab7d0abf26d7803f994542 100644 (file)
@@ -9,7 +9,6 @@
 # Sensitive or high-churn files:
 .idea/**/dataSources/
 .idea/**/dataSources.ids
-.idea/**/dataSources.xml
 .idea/**/dataSources.local.xml
 .idea/**/sqlDataSources.xml
 .idea/**/dynamic.xml