Skip to content

Add test cabal install remote-pkg for #9697 #9707

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

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

alt-romes
Copy link
Collaborator

@alt-romes alt-romes commented Feb 12, 2024

In #9697 we fixed passing local options to cabal install targets, but rebasing accidentally dropped one of the added the tests for that PR which tested cabal install target, where target was only available from a remote repository.

@andreabedini
Copy link
Collaborator

But cabal install hindent currently fails on master (0a0b339), so why does the test pass?

@mpickering
Copy link
Collaborator

But cabal install hindent currently fails on master (0a0b339), so why does the test pass?

Because it is still run in a context with a project file I think.

Copy link
Collaborator

@ulysses4ever ulysses4ever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting it!

@andreabedini
Copy link
Collaborator

@mpickering gotcha. It would be worth adding a test for the non-project case then; so we don't get bitten by it again.

@alt-romes alt-romes added the merge me Tell Mergify Bot to merge label Feb 16, 2024
@mergify mergify bot added the merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days label Feb 18, 2024
In haskell#9697 we fixed passing local options to cabal install targets, but
rebasing accidentally dropped one of the added the tests for that PR,
which tested cabal install <target>, where <target> was only available
from a remote repository.
@Mikolaj Mikolaj force-pushed the wip/romes/9697-nonlocal-test branch from d0bf8f3 to b1ff71f Compare February 18, 2024 10:58
@mergify mergify bot merged commit 2acae63 into haskell:master Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days merge me Tell Mergify Bot to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants