Skip to content

Monitor imported cabal.project files#11884

Draft
philderbeast wants to merge 3 commits into
haskell:masterfrom
cabalism:wip/monitoring-proj-imports
Draft

Monitor imported cabal.project files#11884
philderbeast wants to merge 3 commits into
haskell:masterfrom
cabalism:wip/monitoring-proj-imports

Conversation

@philderbeast
Copy link
Copy Markdown
Collaborator

@philderbeast philderbeast commented May 25, 2026

I started with #11567 by @hasufell.

I then reverted a lot of changes not related to (or no longer needed for) monitoring before attempting a rebase. To make the rebase easier I also squashed those changes into one commit.

I then rebased over master once #10933 merged, so that we could match on whether an import was local file or a URI.

Important

This is a draft.
-Wunused-top-binds for lookupLocalPackageConfig.


- Fixes haskell#10255
- Fix assertion failure wrt haskell#11568 'lookupLocalPackageConfig' would ignore --'projectConfigAllPackages'
(`package *`) and thus diverge from 'lookupPerPkgOption'. This would then cause further divergence between 'elabStanzasRequested'
and 'elabStanzasAvailable'.
- Add test for haskell#10255
- Add bootstrap-jsons-ghcup Makefile rule
- Be stricter about URI imports
- This behavior is documented, but not enforced. We
redesign the 'ProjectConfigPath' type to better
express the properties we expect.
- Revert Cabal-syntax network-uri
- Revert boostrap/*.json and Makefile
- Revert ProjectConfigPath
- Revert ParserTests
- Revert ProjectConfig/[Legacy|Parsec]
- Revert Compat/Orphans
- Revert TreeDiffInstances
- Revert deletion of ProjectFileParseError
- Revert Arbitrary ProjectConfigProvenance change
- Revert Errors/Parser prettyShow removal
- Get ProjectConfig compiling
@philderbeast philderbeast marked this pull request as draft May 25, 2026 20:44
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.

Changing a file imported by cabal.project does not trigger recompilation

2 participants