diff --git a/.qlty/qlty.toml b/.qlty/qlty.toml index a892265bc..ac3cf7f09 100644 --- a/.qlty/qlty.toml +++ b/.qlty/qlty.toml @@ -14,47 +14,47 @@ config_version = "0" exclude_patterns = [ - "*_min.*", - "*-min.*", - "*.min.*", - "**/*.d.ts", - "**/.yarn/**", - "**/bower_components/**", - "**/build/**", - "**/cache/**", - "**/config/**", - "**/db/**", - "**/deps/**", - "**/dist/**", - "**/extern/**", - "**/external/**", - "**/generated/**", - "**/Godeps/**", - "**/gradlew/**", - "**/mvnw/**", - "**/node_modules/**", - "**/protos/**", - "**/seed/**", - "**/target/**", - "**/testdata/**", - "**/vendor/**", - "**/assets/**", + "*_min.*", + "*-min.*", + "*.min.*", + "**/*.d.ts", + "**/.yarn/**", + "**/bower_components/**", + "**/build/**", + "**/cache/**", + "**/config/**", + "**/db/**", + "**/deps/**", + "**/dist/**", + "**/extern/**", + "**/external/**", + "**/generated/**", + "**/Godeps/**", + "**/gradlew/**", + "**/mvnw/**", + "**/node_modules/**", + "**/protos/**", + "**/seed/**", + "**/target/**", + "**/testdata/**", + "**/vendor/**", + "**/assets/**", ] test_patterns = [ - "**/test/**", - "**/spec/**", - "**/*.test.*", - "**/*.spec.*", - "**/*_test.*", - "**/*_spec.*", - "**/test_*.*", - "**/spec_*.*", + "**/test/**", + "**/spec/**", + "**/*.test.*", + "**/*.spec.*", + "**/*_test.*", + "**/*_spec.*", + "**/test_*.*", + "**/spec_*.*", ] [[source]] name = "default" -repository = "https://github.com/qltyai/plugins.git" +repository = "https://github.com/qltysh/qlty" tag = "v0.125.0" diff --git a/plugins/README.md b/plugins/README.md index 0b1f98909..b1d069903 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -4,7 +4,7 @@ This is the official repository containing Qlty's integrations with linters, for ```toml [sources.default] -repository = "https://github.com/qltyai/plugins.git" +repository = "https://github.com/qltysh/qlty" tag = "v0.13.0" ``` diff --git a/qlty-cli/src/initializer/sources.rs b/qlty-cli/src/initializer/sources.rs index d62ed7218..0adc76b2e 100644 --- a/qlty-cli/src/initializer/sources.rs +++ b/qlty-cli/src/initializer/sources.rs @@ -2,7 +2,7 @@ use super::{Renderer, Settings}; use anyhow::{bail, Result}; use qlty_config::{config::Builder, sources::SourcesList}; -const DEFAULT_SOURCE_REPOSITORY: &str = "https://github.com/qltyai/plugins.git"; +const DEFAULT_SOURCE_REPOSITORY: &str = "https://github.com/qltysh/qlty"; #[derive(Debug, Clone, Default)] pub struct SourceSpec { diff --git a/qlty-cli/tests/cmd/check/network/basic.in/.qlty/qlty.toml b/qlty-cli/tests/cmd/check/network/basic.in/.qlty/qlty.toml index 6a1d75acf..65a3912f0 100644 --- a/qlty-cli/tests/cmd/check/network/basic.in/.qlty/qlty.toml +++ b/qlty-cli/tests/cmd/check/network/basic.in/.qlty/qlty.toml @@ -1,7 +1,7 @@ config_version = "0" [sources.default] -repository = "https://github.com/qltyai/plugins.git" +repository = "https://github.com/qltysh/qlty" tag = "v0.102.0" [[plugin]] diff --git a/qlty-cli/tests/cmd/check/network/source.in/.qlty/qlty.toml b/qlty-cli/tests/cmd/check/network/source.in/.qlty/qlty.toml index 11f84b8d6..621ff1b67 100644 --- a/qlty-cli/tests/cmd/check/network/source.in/.qlty/qlty.toml +++ b/qlty-cli/tests/cmd/check/network/source.in/.qlty/qlty.toml @@ -2,7 +2,7 @@ config_version = "0" [[source]] name = "default" -repository = "https://github.com/qltyai/plugins.git" +repository = "https://github.com/qltysh/qlty" tag = "v0.102.0" [[plugin]] diff --git a/qlty-cli/tests/cmd/fmt/basic.in/.qlty/qlty.toml b/qlty-cli/tests/cmd/fmt/basic.in/.qlty/qlty.toml index fa89cf830..79723c29d 100644 --- a/qlty-cli/tests/cmd/fmt/basic.in/.qlty/qlty.toml +++ b/qlty-cli/tests/cmd/fmt/basic.in/.qlty/qlty.toml @@ -1,7 +1,7 @@ config_version = "0" [sources.default] -repository = "https://github.com/qltyai/plugins.git" +repository = "https://github.com/qltysh/qlty" tag = "v0.13.0-pre" [runtimes.enabled] diff --git a/qlty-cli/tests/cmd/init/network/basic.stdout b/qlty-cli/tests/cmd/init/network/basic.stdout index 8db398a77..7835d168d 100644 --- a/qlty-cli/tests/cmd/init/network/basic.stdout +++ b/qlty-cli/tests/cmd/init/network/basic.stdout @@ -54,7 +54,7 @@ test_patterns = [ [[source]] name = "default" -repository = "https://github.com/qltyai/plugins.git" +repository = "https://github.com/qltysh/qlty" tag = "[..]" @@ -83,4 +83,3 @@ version = "0.53.0" [[plugin]] name = "trufflehog" - diff --git a/qlty-config/src/sources/source_upgrade.rs b/qlty-config/src/sources/source_upgrade.rs index c6485e5d2..16480197c 100644 --- a/qlty-config/src/sources/source_upgrade.rs +++ b/qlty-config/src/sources/source_upgrade.rs @@ -193,7 +193,7 @@ mod test { fn test_update_config_tag_with_source() { let input = r#" [[source]] - repository = "https://github.com/qltyai/plugins.git" + repository = "https://github.com/qltysh/qlty" tag = "v1.0.0" "#; @@ -209,7 +209,7 @@ mod test { let updated_contents = r#" [[source]] - repository = "https://github.com/qltyai/plugins.git" + repository = "https://github.com/qltysh/qlty" tag = "v1.2.3" "#; assert_eq!(result.unwrap().unwrap(), updated_contents); @@ -219,7 +219,7 @@ mod test { fn test_update_config_tag_with_sources() { let input = r#" [sources.default] - repository = "https://github.com/qltyai/plugins.git" + repository = "https://github.com/qltysh/qlty" tag = "v0.101.0" "#; @@ -235,7 +235,7 @@ mod test { let updated_contents = r#" [sources.default] - repository = "https://github.com/qltyai/plugins.git" + repository = "https://github.com/qltysh/qlty" tag = "v1.2.3" "#; @@ -367,7 +367,7 @@ mod test { fn test_update_config_tag_with_source_without_v() { let input = r#" [[source]] - repository = "https://github.com/qltyai/plugins.git" + repository = "https://github.com/qltysh/qlty" tag = "v1.0.0" "#; @@ -383,7 +383,7 @@ mod test { let output = r#" [[source]] - repository = "https://github.com/qltyai/plugins.git" + repository = "https://github.com/qltysh/qlty" tag = "1.2.3" "#; @@ -394,7 +394,7 @@ mod test { fn test_update_config_tag_with_source_without_semver() { let input = r#" [[source]] - repository = "https://github.com/qltyai/plugins.git" + repository = "https://github.com/qltysh/qlty" tag = "v1.0.0" "#; @@ -414,7 +414,7 @@ mod test { fn test_update_config_tag_without_ref_tag() { let input = r#" [[source]] - repository = "https://github.com/qltyai/plugins.git" + repository = "https://github.com/qltysh/qlty" tag = "v1.0.0" "#; @@ -434,7 +434,7 @@ mod test { fn test_update_config_tag_with_ref_tag_non_semver() { let input = r#" [[source]] - repository = "https://github.com/qltyai/plugins.git" + repository = "https://github.com/qltysh/qlty" tag = "v1.0.0" "#;