Transfer version requirements from dmod_link_modules to .dmd files #174
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version specifications in
dmod_link_modules()were not propagating to generated.dmddependency files. When developers specifieddmod_link_modules(target dmini@1.0), the version constraint was lost in the build output.Changes
CMake integration
dmod_link_modules()now serializes version requirements to<target>_version_requirements.txtat configure timedmod_create_module()automatically passes this file totodmdvia new-rflag during buildtodmd enhancement
-r <file>flag to accept version requirements filemodule@versionentriesTest coverage
Example
dmod_link_modules(my_module dmini@1.0 # Version requirement saved dmodex@0.2 )Generates
my_module_version_requirements.txt:During build,
todmdreceives this file and produces.dmdwith version constraints intact.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
esm.ubuntu.com/usr/lib/apt/methods/https /usr/lib/apt/methods/https(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.