Skip to content

Commit

Permalink
Point to new plugins repository
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Nov 18, 2024
1 parent 30716fe commit fde0c33
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 50 deletions.
68 changes: 34 additions & 34 deletions .qlty/qlty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand Down
2 changes: 1 addition & 1 deletion plugins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

Expand Down
2 changes: 1 addition & 1 deletion qlty-cli/src/initializer/sources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion qlty-cli/tests/cmd/check/network/basic.in/.qlty/qlty.toml
Original file line number Diff line number Diff line change
@@ -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]]
Expand Down
2 changes: 1 addition & 1 deletion qlty-cli/tests/cmd/check/network/source.in/.qlty/qlty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down
2 changes: 1 addition & 1 deletion qlty-cli/tests/cmd/fmt/basic.in/.qlty/qlty.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
3 changes: 1 addition & 2 deletions qlty-cli/tests/cmd/init/network/basic.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test_patterns = [

[[source]]
name = "default"
repository = "https://github.com/qltyai/plugins.git"
repository = "https://github.com/qltysh/qlty"
tag = "[..]"


Expand Down Expand Up @@ -83,4 +83,3 @@ version = "0.53.0"

[[plugin]]
name = "trufflehog"

18 changes: 9 additions & 9 deletions qlty-config/src/sources/source_upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
"#;

Expand All @@ -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);
Expand All @@ -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"
"#;

Expand All @@ -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"
"#;

Expand Down Expand Up @@ -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"
"#;

Expand All @@ -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"
"#;

Expand All @@ -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"
"#;

Expand All @@ -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"
"#;

Expand All @@ -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"
"#;

Expand Down

0 comments on commit fde0c33

Please sign in to comment.