Add migrate-workspace-deps script

This script will migrate all crate-level version dependencies to the
top-level.

It won't work for more esoteric configurations, and print a warning.

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2026-01-10 11:32:05 +01:00
parent caade47b4c
commit 527ed85dff
3 changed files with 522 additions and 1 deletions

View file

@ -27,6 +27,17 @@
text = builtins.readFile ./gitlab-job-status;
};
migrate-workspace-deps = pkgs.writeShellApplication {
name = "migrate-workspace-deps";
runtimeInputs = [
pkgs.jq
pkgs.git
pkgs.yq
];
text = builtins.readFile ./migrate-workspace-deps;
};
});
};
}