feat: rename projects to point to github/kjuulh/dagger-sdk

This commit is contained in:
Kasper Juul Hermansen 2023-03-18 15:23:24 +01:00 committed by Kasper Juul Hermansen
parent 79d931e908
commit 384294b390
15 changed files with 38 additions and 38 deletions

50
Cargo.lock generated
View File

@ -244,6 +244,31 @@ dependencies = [
"syn", "syn",
] ]
[[package]]
name = "dagger-bootstrap"
version = "0.2.10"
dependencies = [
"clap",
"color-eyre",
"dagger-codegen",
"dagger-core",
"dirs",
"eyre",
"flate2",
"graphql-introspection-query",
"graphql_client",
"hex",
"hex-literal",
"platform-info",
"reqwest",
"serde",
"serde_json",
"sha2",
"tar",
"tempfile",
"tokio",
]
[[package]] [[package]]
name = "dagger-codegen" name = "dagger-codegen"
version = "0.2.8" version = "0.2.8"
@ -281,31 +306,6 @@ dependencies = [
"tracing-subscriber", "tracing-subscriber",
] ]
[[package]]
name = "dagger-rs"
version = "0.2.10"
dependencies = [
"clap",
"color-eyre",
"dagger-codegen",
"dagger-core",
"dirs",
"eyre",
"flate2",
"graphql-introspection-query",
"graphql_client",
"hex",
"hex-literal",
"platform-info",
"reqwest",
"serde",
"serde_json",
"sha2",
"tar",
"tempfile",
"tokio",
]
[[package]] [[package]]
name = "dagger-sdk" name = "dagger-sdk"
version = "0.2.19" version = "0.2.19"

View File

@ -3,14 +3,14 @@ members = [
"crates/dagger-codegen", "crates/dagger-codegen",
"crates/dagger-sdk", "crates/dagger-sdk",
"crates/dagger-core", "crates/dagger-core",
"crates/dagger-rs", "crates/dagger-bootstrap",
"ci", "ci",
] ]
[workspace.dependencies] [workspace.dependencies]
dagger-codegen = { path = "crates/dagger-codegen", version = "^0.2.5" } dagger-codegen = { path = "crates/dagger-codegen", version = "^0.2.5" }
dagger-core = { path = "crates/dagger-core", version = "^0.2.8" } dagger-core = { path = "crates/dagger-core", version = "^0.2.8" }
dagger-rs = { path = "crates/dagger-rs", version = "^0.2.10" } dagger-bootstrap = { path = "crates/dagger-bootstrap", version = "^0.2.10" }
dagger-sdk = { path = "crates/dagger-sdk", version = "^0.2.19" } dagger-sdk = { path = "crates/dagger-sdk", version = "^0.2.19" }
eyre = "0.6.8" eyre = "0.6.8"

View File

@ -8,7 +8,7 @@ command = "cargo"
args = [ args = [
"run", "run",
"-p", "-p",
"dagger-rs", "dagger-bootstrap",
"--", "--",
"generate", "generate",
"--output", "--output",

View File

@ -90,7 +90,7 @@ async fn release(client: Arc<Query>, _subm: &clap::ArgMatches) -> Result<(), col
"--execute", "--execute",
"--allow-fully-generated-changelogs", "--allow-fully-generated-changelogs",
"--no-changelog-preview", "--no-changelog-preview",
"dagger-rs", "dagger-sdk",
"dagger-sdk", "dagger-sdk",
]); ]);
let exit = container.exit_code().await?; let exit = container.exit_code().await?;

View File

@ -1,11 +1,11 @@
[package] [package]
name = "dagger-rs" name = "dagger-bootstrap"
version = "0.2.10" version = "0.2.10"
edition = "2021" edition = "2021"
readme = "README.md" readme = "README.md"
license-file = "LICENSE.MIT" license-file = "LICENSE.MIT"
description = "A dagger sdk for rust, written in rust" description = "A dagger sdk for rust, written in rust"
repository = "https://github.com/kjuulh/dagger-rs" repository = "https://github.com/kjuulh/dagger-sdk"
publish = true publish = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -5,7 +5,7 @@ edition = "2021"
readme = "README.md" readme = "README.md"
license-file = "LICENSE.MIT" license-file = "LICENSE.MIT"
description = "dagger sdk codegen library" description = "dagger sdk codegen library"
repository = "https://github.com/kjuulh/dagger-rs" repository = "https://github.com/kjuulh/dagger-sdk"
publish = true publish = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -5,7 +5,7 @@ edition = "2021"
readme = "README.md" readme = "README.md"
license-file = "LICENSE.MIT" license-file = "LICENSE.MIT"
description = "dagger sdk core library" description = "dagger sdk core library"
repository = "https://github.com/kjuulh/dagger-rs" repository = "https://github.com/kjuulh/dagger-sdk"
publish = true publish = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -5,7 +5,7 @@ edition = "2021"
readme = "README.md" readme = "README.md"
license-file = "LICENSE.MIT" license-file = "LICENSE.MIT"
description = "A dagger sdk for rust, written in rust" description = "A dagger sdk for rust, written in rust"
repository = "https://github.com/kjuulh/dagger-rs" repository = "https://github.com/kjuulh/dagger-sdk"
publish = true publish = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -35,7 +35,7 @@ async fn main() -> eyre::Result<()> {
.container() .container()
.from("nginx") .from("nginx")
.with_directory("/usr/share/nginx/html", build_dir.id().await?) .with_directory("/usr/share/nginx/html", build_dir.id().await?)
.publish(format!("ttl.sh/hello-dagger-rs-{}:1h", rng.gen::<u64>())) .publish(format!("ttl.sh/hello-dagger-sdk-{}:1h", rng.gen::<u64>()))
.await?; .await?;
println!("published image to: {}", ref_); println!("published image to: {}", ref_);

View File

@ -13,7 +13,7 @@ async fn main() -> eyre::Result<()> {
let ref_ = client let ref_ = client
.container() .container()
.build(context_dir.id().await?) .build(context_dir.id().await?)
.publish(format!("ttl.sh/hello-dagger-rs-{}:1h", rng.gen::<u64>())) .publish(format!("ttl.sh/hello-dagger-sdk-{}:1h", rng.gen::<u64>()))
.await?; .await?;
println!("published image to: {}", ref_); println!("published image to: {}", ref_);

View File

@ -34,7 +34,7 @@ async fn main() -> eyre::Result<()> {
.container() .container()
.from("nginx") .from("nginx")
.with_directory("/usr/share/nginx/html", build_dir.id().await?) .with_directory("/usr/share/nginx/html", build_dir.id().await?)
.publish(format!("ttl.sh/hello-dagger-rs-{}:1h", rng.gen::<u64>())) .publish(format!("ttl.sh/hello-dagger-sdk-{}:1h", rng.gen::<u64>()))
.await?; .await?;
println!("published image to: {}", ref_); println!("published image to: {}", ref_);

View File

@ -39,7 +39,7 @@ async fn main() -> eyre::Result<()> {
"/usr/share/nginx/html", "/usr/share/nginx/html",
client.host().directory(output).id().await?, client.host().directory(output).id().await?,
) )
.publish(format!("ttl.sh/hello-dagger-rs-{}:1h", rng.gen::<u64>())) .publish(format!("ttl.sh/hello-dagger-sdk-{}:1h", rng.gen::<u64>()))
.await?; .await?;
println!("published image to: {}", ref_); println!("published image to: {}", ref_);