Publish the patched vt100 dependency
release / build (push) Failing after 14s

This commit is contained in:
lda
2026-07-16 09:12:38 +07:00 Verified
parent c9e5ca10eb
commit 37b6d4e4ff
5 changed files with 25 additions and 27 deletions
Generated
+10 -10
View File
@@ -3612,15 +3612,6 @@ version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "vt100"
version = "0.16.2"
dependencies = [
"itoa",
"unicode-width",
"vte",
]
[[package]]
name = "vte"
version = "0.15.0"
@@ -3672,9 +3663,9 @@ dependencies = [
"tracing",
"tracing-subscriber",
"url",
"vt100",
"wakey",
"wakey-core",
"wakey-vt100",
]
[[package]]
@@ -3735,6 +3726,15 @@ dependencies = [
"wakey-core",
]
[[package]]
name = "wakey-vt100"
version = "0.16.2-wakey.1"
dependencies = [
"itoa",
"unicode-width",
"vte",
]
[[package]]
name = "walkdir"
version = "2.5.0"
-6
View File
@@ -33,12 +33,6 @@ strip = true
members = ["ipjs", "wakey-agent", "wakey-control-plane", "wakey-core", "wakey-linux"]
exclude = ["vendor/vt100"]
[patch.crates-io]
# vt100 exposes only its active grid. Wakey's reconnect snapshot needs the
# retained primary grid while a full-screen application owns the alternate
# grid, so keep the small read-only extension local and auditable.
vt100 = { path = "vendor/vt100" }
[workspace.dependencies]
anyhow = "1"
macaddr = { version = "1", features = ["serde", "serde_std"] }
+13 -9
View File
@@ -54,17 +54,21 @@ if ($Publish) {
Write-Host 'No -Registry provided; defaulting publish target to registry: gitea'
}
$publishOrder = @(
'lda-ipjs',
'wakey-core',
'wakey-linux',
'wakey',
'wakey-agent',
'wakey-control-plane'
# Patched external crates are excluded from the workspace, so publish
# them by manifest path before workspace packages that depend on them.
$publishTargets = @(
@{ Name = 'wakey-vt100'; Args = @('publish', '--manifest-path', 'vendor/vt100/Cargo.toml') },
@{ Name = 'lda-ipjs'; Args = @('publish', '-p', 'lda-ipjs') },
@{ Name = 'wakey-core'; Args = @('publish', '-p', 'wakey-core') },
@{ Name = 'wakey-linux'; Args = @('publish', '-p', 'wakey-linux') },
@{ Name = 'wakey'; Args = @('publish', '-p', 'wakey') },
@{ Name = 'wakey-agent'; Args = @('publish', '-p', 'wakey-agent') },
@{ Name = 'wakey-control-plane'; Args = @('publish', '-p', 'wakey-control-plane') }
)
foreach ($pkg in $publishOrder) {
$pubArgs = @('publish', '-p', $pkg)
foreach ($target in $publishTargets) {
$pkg = $target.Name
$pubArgs = @($target.Args)
if ($Registry) { $pubArgs += @('--registry', $Registry) }
Write-Host ("publishing {0}..." -f $pkg)
+1 -1
+1 -1
View File
@@ -39,6 +39,6 @@ tracing-subscriber = { version = "0.3", features = [
] }
time = { version = "0.3", features = ["formatting", "local-offset"] }
url = "2"
vt100 = "0.16.2"
vt100 = { package = "wakey-vt100", path = "../vendor/vt100", registry = "gitea", version = "=0.16.2-wakey.1" }
wakey = { path = "..", registry = "gitea", version = "0" }
wakey-core = { path = "../wakey-core", registry = "gitea", version = "0" }