Skip to content

Package.installed now checks both the presence of prefix and a DB entry#168

Merged
alalazo merged 3 commits intoreleases/paienfrom
features/paien/external_packages_are_always_installed
May 8, 2018
Merged

Package.installed now checks both the presence of prefix and a DB entry#168
alalazo merged 3 commits intoreleases/paienfrom
features/paien/external_packages_are_always_installed

Conversation

@alalazo
Copy link
Copy Markdown
Collaborator

@alalazo alalazo commented May 8, 2018

fixes spack#8036

Before this PR Package.installed was returning True if the spec prefix
existed, without checking the DB. This is wrong for external packages,
whose prefix exists before being registered into the DB.

Now the property checks for both the prefix and a DB entry.

fixes spack#8036

Before this PR Package.installed was returning True if the spec prefix
existed, without checking the DB. This is wrong for external packages,
whose prefix exists before being registered into the DB.

Now the property checks for both the prefix and a DB entry.
@alalazo alalazo merged commit 3eca399 into releases/paien May 8, 2018
@alalazo
Copy link
Copy Markdown
Collaborator Author

alalazo commented May 8, 2018

I'll keep the branch open to be able to cherry-pick the last 2 commits when rebasing releases/paien

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

Successfully merging this pull request may close these issues.

External packages appear installed even if they are not

1 participant