Skip to content

Commit 1070cac

Browse files
committed
chore: replace CodSpeedHQ/runner with CodSpeedHQ/codspeed
1 parent ce63cb0 commit 1070cac

11 files changed

Lines changed: 316 additions & 235 deletions

File tree

CHANGELOG.md

Lines changed: 281 additions & 213 deletions
Large diffs are not rendered by default.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "codspeed-runner"
33
version = "4.8.2"
44
edition = "2024"
5-
repository = "https://github.com/CodSpeedHQ/runner"
5+
repository = "https://github.com/CodSpeedHQ/codspeed"
66
publish = false
77

88
[[bin]]

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
CLI to gather performance data and upload performance reports to [CodSpeed](https://codspeed.io)
55

6-
[![CI](https://github.com/CodSpeedHQ/runner/actions/workflows/ci.yml/badge.svg)](https://github.com/CodSpeedHQ/runner/actions/workflows/ci.yml)
6+
[![CI](https://github.com/CodSpeedHQ/codspeed/actions/workflows/ci.yml/badge.svg)](https://github.com/CodSpeedHQ/codspeed/actions/workflows/ci.yml)
77
[![Discord](https://img.shields.io/badge/chat%20on-discord-7289da.svg)](https://discord.com/invite/MxpaCfKSqF)
88
[![CodSpeed Badge](https://img.shields.io/endpoint?url=https://codspeed.io/badge.json)](https://codspeed.io/)
99

@@ -21,16 +21,16 @@ The following CI providers are supported:
2121

2222
If you want to use the CLI with another provider, you can open an issue or chat with us on [Discord](https://discord.com/invite/MxpaCfKSqF) 🚀
2323

24-
You can check out the implementation of the [supported providers](https://github.com/CodSpeedHQ/runner/tree/main/src/run/run_environment) for reference.
24+
You can check out the implementation of the [supported providers](https://github.com/CodSpeedHQ/codspeed/tree/main/src/run/run_environment) for reference.
2525

2626
## Installation
2727

2828
```bash
29-
curl -fsSL https://github.com/CodSpeedHQ/runner/releases/latest/download/codspeed-runner-installer.sh | bash
29+
curl -fsSL https://github.com/CodSpeedHQ/codspeed/releases/latest/download/codspeed-runner-installer.sh | bash
3030
source "$HOME/.cargo/env"
3131
```
3232

33-
Refer to the [releases page](https://github.com/CodSpeedHQ/runner/releases) to see all available versions.
33+
Refer to the [releases page](https://github.com/CodSpeedHQ/codspeed/releases) to see all available versions.
3434

3535
## Usage
3636

crates/exec-harness/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "exec-harness"
33
version = "1.0.0"
44
edition = "2024"
5-
repository = "https://github.com/CodSpeedHQ/runner"
5+
repository = "https://github.com/CodSpeedHQ/codspeed"
66
publish = false
77

88
[[bin]]

crates/memtrack/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "memtrack"
33
version = "1.2.0"
44
edition = "2024"
5-
repository = "https://github.com/CodSpeedHQ/runner"
5+
repository = "https://github.com/CodSpeedHQ/codspeed"
66
publish = false
77

88
[lib]

src/exec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub async fn execute_with_harness(
104104

105105
let get_exec_harness_installer_url = || {
106106
format!(
107-
"https://github.com/CodSpeedHQ/runner/releases/download/exec-harness-v{EXEC_HARNESS_VERSION}/exec-harness-installer.sh"
107+
"https://github.com/CodSpeedHQ/codspeed/releases/download/exec-harness-v{EXEC_HARNESS_VERSION}/exec-harness-installer.sh"
108108
)
109109
};
110110

src/executor/config.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,16 +271,16 @@ mod tests {
271271
#[test]
272272
fn test_repository_override_from_arg() {
273273
let override_result =
274-
RepositoryOverride::from_arg("CodSpeedHQ/runner".to_string(), None).unwrap();
274+
RepositoryOverride::from_arg("CodSpeedHQ/codspeed".to_string(), None).unwrap();
275275
assert_eq!(override_result.owner, "CodSpeedHQ");
276-
assert_eq!(override_result.repository, "runner");
276+
assert_eq!(override_result.repository, "codspeed");
277277
assert_eq!(
278278
override_result.repository_provider,
279279
RepositoryProvider::GitHub
280280
);
281281

282282
let override_with_provider = RepositoryOverride::from_arg(
283-
"CodSpeedHQ/runner".to_string(),
283+
"CodSpeedHQ/codspeed".to_string(),
284284
Some(RepositoryProvider::GitLab),
285285
)
286286
.unwrap();

src/executor/memory/executor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl Executor for MemoryExecutor {
7070
) -> Result<()> {
7171
let get_memtrack_installer_url = || {
7272
format!(
73-
"https://github.com/CodSpeedHQ/runner/releases/download/memtrack-v{MEMTRACK_CODSPEED_VERSION}/memtrack-installer.sh"
73+
"https://github.com/CodSpeedHQ/codspeed/releases/download/memtrack-v{MEMTRACK_CODSPEED_VERSION}/memtrack-installer.sh"
7474
)
7575
};
7676

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{"run_id":"869e2e99-a0fa-49de-9349-af38ea2d3203","line":62,"new":{"module_name":"codspeed__run__helpers__parse_git_remote__tests","snapshot_name":"parse_git_remote-3","metadata":{"source":"src/run/helpers/parse_git_remote.rs","assertion_line":62,"expression":"git_remote"},"snapshot":"GitRemote {\n domain: \"github.com\",\n owner: \"CodSpeedHQ\",\n repository: \"codspeed\",\n}"},"old":{"module_name":"codspeed__run__helpers__parse_git_remote__tests","metadata":{},"snapshot":"GitRemote {\n domain: \"github.com\",\n owner: \"CodSpeedHQ\",\n repository: \"runner\",\n}"}}
2+
{"run_id":"5fa854a5-f21a-4433-a5bb-fbc7d0d5dc3e","line":42,"new":null,"old":null}
3+
{"run_id":"5fa854a5-f21a-4433-a5bb-fbc7d0d5dc3e","line":52,"new":null,"old":null}
4+
{"run_id":"5fa854a5-f21a-4433-a5bb-fbc7d0d5dc3e","line":62,"new":null,"old":null}
5+
{"run_id":"5fa854a5-f21a-4433-a5bb-fbc7d0d5dc3e","line":72,"new":null,"old":null}
6+
{"run_id":"5fa854a5-f21a-4433-a5bb-fbc7d0d5dc3e","line":82,"new":null,"old":null}
7+
{"run_id":"5fa854a5-f21a-4433-a5bb-fbc7d0d5dc3e","line":92,"new":null,"old":null}
8+
{"run_id":"c223d4fb-bf16-4d04-be61-bd7d43252192","line":42,"new":null,"old":null}
9+
{"run_id":"c223d4fb-bf16-4d04-be61-bd7d43252192","line":52,"new":null,"old":null}
10+
{"run_id":"c223d4fb-bf16-4d04-be61-bd7d43252192","line":62,"new":null,"old":null}
11+
{"run_id":"c223d4fb-bf16-4d04-be61-bd7d43252192","line":72,"new":null,"old":null}
12+
{"run_id":"c223d4fb-bf16-4d04-be61-bd7d43252192","line":82,"new":null,"old":null}
13+
{"run_id":"c223d4fb-bf16-4d04-be61-bd7d43252192","line":92,"new":null,"old":null}

src/run/helpers/parse_git_remote.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,33 +37,33 @@ mod tests {
3737

3838
#[test]
3939
fn test_parse_git_remote() {
40-
let remote = "git@github.com:CodSpeedHQ/runner.git";
40+
let remote = "git@github.com:CodSpeedHQ/codspeed.git";
4141
let git_remote = parse_git_remote(remote).unwrap();
4242
insta::assert_debug_snapshot!(git_remote, @r###"
4343
GitRemote {
4444
domain: "github.com",
4545
owner: "CodSpeedHQ",
46-
repository: "runner",
46+
repository: "codspeed",
4747
}
4848
"###);
4949

50-
let remote = "https://github.com/CodSpeedHQ/runner.git";
50+
let remote = "https://github.com/CodSpeedHQ/codspeed.git";
5151
let git_remote = parse_git_remote(remote).unwrap();
5252
insta::assert_debug_snapshot!(git_remote, @r###"
5353
GitRemote {
5454
domain: "github.com",
5555
owner: "CodSpeedHQ",
56-
repository: "runner",
56+
repository: "codspeed",
5757
}
5858
"###);
5959

60-
let remote = "https://github.com/CodSpeedHQ/runner";
60+
let remote = "https://github.com/CodSpeedHQ/codspeed";
6161
let git_remote = parse_git_remote(remote).unwrap();
6262
insta::assert_debug_snapshot!(git_remote, @r###"
6363
GitRemote {
6464
domain: "github.com",
6565
owner: "CodSpeedHQ",
66-
repository: "runner",
66+
repository: "codspeed",
6767
}
6868
"###);
6969

0 commit comments

Comments
 (0)