Skip to content

Commit e317711

Browse files
committed
chore: switch srtool default image from chevdor to paritytech
1 parent 2eb3925 commit e317711

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This alias is likely set in your `.bash_profile` or `.zshrc`, make sure to remov
2525

2626
### Install
2727

28-
cargo install --git https://gitlab.com/chevdor/srtool-cli
28+
cargo install --git https://github.com/chevdor/srtool-cli
2929

3030
## Usage
3131

README_src.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ NOTE: This alias is likely set in your `.bash_profile` or `.zshrc`, make sure to
2525

2626
=== Install
2727

28-
cargo install --git https://gitlab.com/chevdor/srtool-cli
28+
cargo install --git https://github.com/chevdor/srtool-cli
2929

3030
== Usage
3131

cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fn main() {
4040

4141
let command = match opts.subcmd {
4242
SubCommand::Build(build_opts) => {
43-
println!("Found {tag}, we will be using chevdor/srtool:{tag} for the build", tag = tag);
43+
println!("Found {tag}, we will be using {image}:{tag} for the build", tag = tag, image = image);
4444

4545
let app = if build_opts.app { " --app" } else { "" };
4646
let json = if opts.json || build_opts.json { " --json" } else { "" };

cli/src/opts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub struct Opts {
1111
/// compatible with the original srtool image. Using a random image,
1212
/// you take the risk to NOT produce exactly the same deterministic
1313
/// result than srtool.
14-
#[clap(short, long, default_value = "chevdor/srtool")]
14+
#[clap(short, long, default_value = "paritytech/srtool")]
1515
pub image: String,
1616

1717
/// This option is DEPRECATED and has no effect
@@ -29,7 +29,7 @@ pub struct Opts {
2929

3030
/// This utility helps starting a container from the srtool Docker image.
3131
/// It passes the right parameters and environment variables to the container.
32-
/// Learn more about the srtool image here: https://gitlab.com/chevdor/srtool
32+
/// Learn more about the srtool image here: https://github.com/paritytech/srtool
3333
#[derive(Clap)]
3434
pub enum SubCommand {
3535
/// Start a new srtool container to build your runtime

lib/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ const CACHE_FILE: &str = "srtool-tag-latest.txt";
1010

1111
/// Fetch the latest image tag
1212
pub fn fetch_image_tag() -> Result<String, ureq::Error> {
13-
debug!("Fetching latest version from gitlab");
14-
let url = "https://gitlab.com/chevdor/srtool/-/raw/master/RUSTC_VERSION";
13+
debug!("Fetching latest version from github");
14+
let url = "https://github.com/paritytech/srtool/-/raw/master/RUSTC_VERSION";
1515
let tag: String = ureq::get(url).set("Content-Type", "application/txt").call()?.into_string()?;
1616
debug!("tag: {}", tag);
1717
Ok(tag)

templates/release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cargo install --git https://github.com/chevdor/srtool-cli
2121
```
2222
wget {{ DEBIAN_URL }}
2323
dpkg -i srtool_linux_amd64_{{ VERSION }}.deb
24-
tera --help
24+
srtool --help
2525
```
2626

2727
## MacOS

0 commit comments

Comments
 (0)