Add ldcup (ldc2 version manager) step#1053
Conversation
Signed-off-by: Matheus Catarino <matheus-catarino@hotmail.com>
|
Thanks for the PR! This is a promising tool, but I wanna add it when it has some users as Topgrade is for most people. In case you want to run it yourself, you can embed it using Lines 94 to 97 in b40bffb |
|
(Given my selfish inclusion of falconf :D) my stance is different; I will accept unpopular steps as long as:
Can you confirm you're still using ldcup yourself, and want to keep maintaining it? If yes, please rebase; we've had some changes in the way steps are defined, see https://github.com/topgrade-rs/topgrade/blob/main/CONTRIBUTING.md for more info |
|
Hi @GideonBear , Yes, I use it daily. Even the project's own CI/CD tests the commands, which is an important consideration. The unpopularity has reached the small D community, who have become accustomed to using the official dlang shell script to install DMD/LDC/GDC or through OS package management. |
Add support for ldcup, a version manager for ldc2 (D language compiler). Supports configurable target versions, install directory, and cleanup. From PR topgrade-rs#1053 by Matheus Catarino. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
What does this PR do
This adds support for ldcup (ldc2 version manager). Although not officially provided by the ldc-developers group, it is community based to facilitate ldc2 usage.
src: https://github.com/kassane/ldcup
The tool doesn't support other D compilers (dmd/gdc).
Standards checklist
CONTRIBUTING.mdFor new steps
--dry-runoption works with this step--yesoption works with this step if it is supported bythe underlying command
dry-run output
If you developed a feature or a bug fix for someone else and you do not have the
means to test it, please tag this person here.