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

Fix modules without project not being detected as unused #23

Open
fgm opened this issue Aug 27, 2020 · 0 comments
Open

Fix modules without project not being detected as unused #23

fgm opened this issue Aug 27, 2020 · 0 comments
Labels

Comments

@fgm
Copy link
Member

fgm commented Aug 27, 2020

When a project is not declared in the info.yml file, and not available through other means, it is linked to the default project, which always has enabled modules, causing such unused projects not to be discovered.

The discovery process needs to be smarter and obtain project information, possibly from the d.o. API or some heuristics based on the filesystem layout.

One possibility might be to check how update and upgrade_manager access the project information in these cases.

@fgm fgm added the bug label Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant