Skip to content

Stop logging to file when build inplace #9607

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
Jan 12, 2024

Conversation

alt-romes
Copy link
Collaborator

In f70fc98, while refactoring buildInplaceUnpackedPackage and buildAndInstallUnpackedPackage, we started logging into a file on both cases, instead of logging to a file only for buildAndInstallUnpackedPackage.

When building a package inplace, it is much more useful to be able to see the GHC invocation directly outside of a log file.

This is especially relevant for Cabal developers working inplace.

Fixes #9606

@alt-romes alt-romes self-assigned this Jan 10, 2024
@alt-romes
Copy link
Collaborator Author

@ulysses4ever @Mikolaj, as the previous reviewers, could you swiftly review this fix that undoes my mistake?

@alt-romes
Copy link
Collaborator Author

Thank you both. As I was debugging a tree on master I was very confused by not seeing the output of -v... it is an unfortunate mistake.

@alt-romes alt-romes added the merge me Tell Mergify Bot to merge label Jan 10, 2024
@alt-romes
Copy link
Collaborator Author

@Mikolaj @Kleidukos I suggest we skip the merge delay. I fear developer workflows may break because of my mistake in the meantime.

@ulysses4ever
Copy link
Collaborator

Happens to all of us. You don't make mistakes only if you don't do anything at all!

Copy link
Member

@Mikolaj Mikolaj left a comment

Choose a reason for hiding this comment

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

Thank you for the prompt fix and the transparency. Let's skip the merge delay.

@Mikolaj Mikolaj added the merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days label Jan 11, 2024
@Mikolaj
Copy link
Member

Mikolaj commented Jan 11, 2024

@mergify rebase

Copy link
Contributor

mergify bot commented Jan 11, 2024

rebase

✅ Nothing to do for rebase action

@Mikolaj
Copy link
Member

Mikolaj commented Jan 11, 2024

Let me keep restarting CI until we hit the not-yet-affected macos containers.

@Mikolaj
Copy link
Member

Mikolaj commented Jan 11, 2024

Nope, this does not converge, the failing CI job, on with randomly bad container, cancels all others too early. Let's fix CI first, as discussed in the Matrix channel.

@Mikolaj
Copy link
Member

Mikolaj commented Jan 11, 2024

@mergify rebase

Copy link
Contributor

mergify bot commented Jan 11, 2024

rebase

✅ Branch has been successfully rebased

In f70fc98, while refactoring
buildInplaceUnpackedPackage and buildAndInstallUnpackedPackage, we
started logging into a file on both cases, instead of logging to a file
only for buildAndInstallUnpackedPackage.

When building a package inplace, it is much more useful to be able to
see the GHC invocation directly outside of a log file.

This is especially relevant for Cabal developers working inplace.

Fixes haskell#9606
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.

Stop logging to file when building inplace
4 participants