Skip to content
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

Dub relinks project that have path-only dependencies #2832

Open
Geod24 opened this issue Jan 25, 2024 · 0 comments
Open

Dub relinks project that have path-only dependencies #2832

Geod24 opened this issue Jan 25, 2024 · 0 comments

Comments

@Geod24
Copy link
Member

Geod24 commented Jan 25, 2024

SDC has paths only dependencies, no dependency on the registry, hence a dub.selections.json is useless (empty).
However, since it is not present, dub always relinks, as the logic is too naive:

if (checkSelectedVersions && main_pack is m_project.rootPackage && m_project.rootPackage.getAllDependencies().length > 0)

Workaround is simple but shouldn't be needed: snazzy-d/sdc#360

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant