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

Create noindex.cache if missing #10730

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jasagredo
Copy link
Collaborator

@jasagredo jasagredo commented Jan 9, 2025

Fixes #9891 by creating the file if it is missing.

Depends on #10728

QA

This will work on Linux:

cabal init -m -n --simple --lib
mkdir repo
echo "packages: ." > cabal.project
echo "repository local" >> cabal.project
echo "  url: file+noindex://$(pwd)/repo" >> cabal.project
cabal build

For Windows, the path has to be un-cygwinize and prepended by //./ as described in #10728.


Template Α: This PR modifies behaviour or interface

Include the following checklist in your PR:

@jasagredo jasagredo force-pushed the js/create-noindex.cache branch 2 times, most recently from bf56870 to 7a81f34 Compare January 9, 2025 10:09
@jasagredo jasagredo marked this pull request as ready for review January 9, 2025 11:44
@jasagredo jasagredo force-pushed the js/create-noindex.cache branch 4 times, most recently from 74b87a7 to 0d786c5 Compare January 9, 2025 17:42
@jasagredo jasagredo force-pushed the js/create-noindex.cache branch from 0d786c5 to 30b8320 Compare January 9, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: local repository file+noindex ignores noindex part
1 participant