-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
releaseTools, vmTools: remove old builders #423355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
d27b0a0
to
b54ddf3
Compare
6057db2
to
2e33c76
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for forgetting about this. Thanks for helping clean this up.
/* | ||
Like `rpmClosureGenerator', but now for Debian/Ubuntu releases | ||
closure of a set of top-level deb packages from the | ||
`primary.xml.gz' file of a Debian/Ubuntu release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
primary.xml.gz
is an RPM thing, so this comment can’t be correct.
# The set of supported RPM-based distributions. | ||
|
||
rpmDistros = { }; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, I deliberately left this stuff around when removing all the existing EOL versions in case anyone wanted to re‐add support for newer ones. But it’ll survive in the commit log anyway, so meh.
binaryTarball = | ||
args: | ||
import ./binary-tarball.nix ( | ||
{ | ||
inherit lib stdenv; | ||
} | ||
// args | ||
); | ||
|
||
mvnBuild = | ||
args: | ||
import ./maven-build.nix ( | ||
{ | ||
inherit lib stdenv; | ||
} | ||
// args | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these broken, or is this just on a principle of “nothing is using them and it seems like nobody cares”? (I don’t mind dropping them, to be clear.)
binaryTarball = throw "removed (8 Jul 2025)"; | ||
debBuild = throw "removed (8 Jul 2025)"; | ||
makeSourceTarball = throw "removed (8 Jul 2025); use releaseTools.sourceTarball"; | ||
mvnBuild = throw "removed (8 Jul 2025)"; | ||
rpmBuild = throw "removed (8 Jul 2025)"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make these more like the removal messages in pkgs/top-level/aliases.nix
? Right now they’d be pretty confusing without a stack trace. (Thankfully it seems like we don’t recurse into here so we don’t need to guard these with an aliases check.)
2e33c76
to
b94aac8
Compare
Broken, unused, undocumented and unmaintained. Fails with 'mkdir: command not found' when building any image because the postHook runs before the VM is started in addition to inside the VM.
Undocumented, unmaintained and unused.
Undocumented, unmaintained and unused.
Undocumented, unmaintained and unused.
This is a compatibility alias added in 2009. I think it's time for it to go.
b94aac8
to
ddf5103
Compare
Remove some very old unused and undocumented builders from releaseTools. In particular, debBuild depends on the insecure checkinstall and is currently broken.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.