mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-05-25 09:34:08 +02:00
Remove qodana from IdeaVim
There are several problems with it: - It was highly unstable, so it was constantly disabled - Qodana baseline file is huge, it's almost the size of the whole repo
This commit is contained in:
parent
89e530276f
commit
a836b31ebe
1
.teamcity/_Self/Constants.kt
vendored
1
.teamcity/_Self/Constants.kt
vendored
@ -8,7 +8,6 @@ object Constants {
|
|||||||
const val NVIM_TESTS = "2024.3.3"
|
const val NVIM_TESTS = "2024.3.3"
|
||||||
const val PROPERTY_TESTS = "2024.3.3"
|
const val PROPERTY_TESTS = "2024.3.3"
|
||||||
const val LONG_RUNNING_TESTS = "2024.3.3"
|
const val LONG_RUNNING_TESTS = "2024.3.3"
|
||||||
const val QODANA_TESTS = "2024.3.3"
|
|
||||||
const val RELEASE = "2024.3.3"
|
const val RELEASE = "2024.3.3"
|
||||||
|
|
||||||
const val RELEASE_DEV = "2024.3.3"
|
const val RELEASE_DEV = "2024.3.3"
|
||||||
|
3
.teamcity/_Self/Project.kt
vendored
3
.teamcity/_Self/Project.kt
vendored
@ -5,7 +5,6 @@ import _Self.buildTypes.LongRunning
|
|||||||
import _Self.buildTypes.Nvim
|
import _Self.buildTypes.Nvim
|
||||||
import _Self.buildTypes.PluginVerifier
|
import _Self.buildTypes.PluginVerifier
|
||||||
import _Self.buildTypes.PropertyBased
|
import _Self.buildTypes.PropertyBased
|
||||||
import _Self.buildTypes.Qodana
|
|
||||||
import _Self.buildTypes.TestingBuildType
|
import _Self.buildTypes.TestingBuildType
|
||||||
import _Self.subprojects.GitHub
|
import _Self.subprojects.GitHub
|
||||||
import _Self.subprojects.Releases
|
import _Self.subprojects.Releases
|
||||||
@ -34,8 +33,6 @@ object Project : Project({
|
|||||||
buildType(Nvim)
|
buildType(Nvim)
|
||||||
buildType(PluginVerifier)
|
buildType(PluginVerifier)
|
||||||
buildType(Compatibility)
|
buildType(Compatibility)
|
||||||
|
|
||||||
buildType(Qodana)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// Common build type for all configurations
|
// Common build type for all configurations
|
||||||
|
80
.teamcity/_Self/buildTypes/Qodana.kt
vendored
80
.teamcity/_Self/buildTypes/Qodana.kt
vendored
@ -1,80 +0,0 @@
|
|||||||
package _Self.buildTypes
|
|
||||||
|
|
||||||
import _Self.Constants.QODANA_TESTS
|
|
||||||
import _Self.IdeaVimBuildType
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.CheckoutMode
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.DslContext
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.Qodana
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.gradle
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.qodana
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.failureConditions.BuildFailureOnMetric
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.failureConditions.failOnMetricChange
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.schedule
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.vcs
|
|
||||||
|
|
||||||
object Qodana : IdeaVimBuildType({
|
|
||||||
name = "Qodana checks"
|
|
||||||
params {
|
|
||||||
param("env.ORG_GRADLE_PROJECT_downloadIdeaSources", "false")
|
|
||||||
param("env.ORG_GRADLE_PROJECT_ideaVersion", QODANA_TESTS)
|
|
||||||
param("env.ORG_GRADLE_PROJECT_instrumentPluginCode", "false")
|
|
||||||
}
|
|
||||||
|
|
||||||
vcs {
|
|
||||||
root(DslContext.settingsRoot)
|
|
||||||
branchFilter = "+:<default>"
|
|
||||||
|
|
||||||
checkoutMode = CheckoutMode.AUTO
|
|
||||||
}
|
|
||||||
|
|
||||||
steps {
|
|
||||||
gradle {
|
|
||||||
name = "Generate grammar"
|
|
||||||
tasks = "generateGrammarSource"
|
|
||||||
}
|
|
||||||
qodana {
|
|
||||||
name = "Qodana"
|
|
||||||
param("clonefinder-languages", "")
|
|
||||||
param("collect-anonymous-statistics", "")
|
|
||||||
param("licenseaudit-enable", "")
|
|
||||||
param("clonefinder-languages-container", "")
|
|
||||||
param("linterVersion", "")
|
|
||||||
param("clonefinder-queried-project", "")
|
|
||||||
param("clonefinder-enable", "")
|
|
||||||
param("clonefinder-reference-projects", "")
|
|
||||||
linter = jvm {
|
|
||||||
version = Qodana.JVMVersion.LATEST
|
|
||||||
}
|
|
||||||
reportAsTests = true
|
|
||||||
additionalQodanaArguments = "--baseline qodana.sarif.json"
|
|
||||||
cloudToken = "credentialsJSON:6b79412e-9198-4862-9223-c5019488f903"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
triggers {
|
|
||||||
vcs {
|
|
||||||
enabled = false
|
|
||||||
branchFilter = "+:<default>"
|
|
||||||
}
|
|
||||||
schedule {
|
|
||||||
enabled = false
|
|
||||||
schedulingPolicy = daily {
|
|
||||||
hour = 12
|
|
||||||
minute = 0
|
|
||||||
timezone = "SERVER"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
failureConditions {
|
|
||||||
failOnMetricChange {
|
|
||||||
threshold = 0
|
|
||||||
units = BuildFailureOnMetric.MetricUnit.DEFAULT_UNIT
|
|
||||||
comparison = BuildFailureOnMetric.MetricComparison.MORE
|
|
||||||
compareTo = value()
|
|
||||||
metric = BuildFailureOnMetric.MetricType.TEST_FAILED_COUNT
|
|
||||||
param("metricKey", "QodanaProblemsNew")
|
|
||||||
enabled = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
110555
qodana.sarif.json
110555
qodana.sarif.json
File diff suppressed because it is too large
Load Diff
30
qodana.yaml
30
qodana.yaml
@ -1,30 +0,0 @@
|
|||||||
version: 1.0
|
|
||||||
profile:
|
|
||||||
name: Qodana
|
|
||||||
include:
|
|
||||||
- name: CheckDependencyLicenses
|
|
||||||
exclude:
|
|
||||||
- name: MoveVariableDeclarationIntoWhen
|
|
||||||
- name: PluginXmlValidity
|
|
||||||
- name: RedundantThrows
|
|
||||||
- name: SuperTearDownInFinally
|
|
||||||
- name: UnusedReturnValue
|
|
||||||
- name: All
|
|
||||||
paths:
|
|
||||||
- build.gradle.kts
|
|
||||||
- gradle/wrapper/gradle-wrapper.properties
|
|
||||||
- src/main/resources/icons/youtrack.svg
|
|
||||||
- src/main/java/com/maddyhome/idea/vim/helper/SearchHelper.java
|
|
||||||
- src/main/java/com/maddyhome/idea/vim/regexp/RegExp.kt
|
|
||||||
- src/test/java/org/jetbrains/plugins/ideavim/propertybased/samples/JavaText.kt
|
|
||||||
- src/test/java/org/jetbrains/plugins/ideavim/propertybased/samples/LoremText.kt
|
|
||||||
- src/test/java/org/jetbrains/plugins/ideavim/propertybased/samples/SimpleText.kt
|
|
||||||
- vim-engine/src/main/java/com/maddyhome/idea/vim/regexp/parser/generated
|
|
||||||
- vim-engine/src/main/java/com/maddyhome/idea/vim/parser/generated
|
|
||||||
- src/main/java/com/maddyhome/idea/vim/group/SearchGroup.java
|
|
||||||
- tests/ui-fixtures
|
|
||||||
dependencyIgnores:
|
|
||||||
- name: "acejump"
|
|
||||||
- name: "icu4j"
|
|
||||||
- name: "antlr-runtime"
|
|
||||||
- name: "javax.json"
|
|
Loading…
Reference in New Issue
Block a user