Repository navigation
haddock-project fixes (backport #8919) - #9088
Closed
mergify[bot] wants to merge 5 commits into
Closed
mergify[bot] wants to merge 5 commits into
mergify[bot] wants to merge 5 commits into
Conversation
This patch fixes a bug where a sublibrary overwrites a library directory. This leads to overwriting `*.haddock` files, which results in missing entries in various indexes (e.g. the html index, quicksearch). (cherry picked from commit 1840bca) # Conflicts: # cabal-install/src/Distribution/Client/CmdHaddockProject.hs
This patch makes `haddock-project` use `--local` option by default. Since its the default, it is removed. Also `--gen-index`, `--gen-contents`, `--hyperlinked-source` and `--quickjump` are removed since they are always turned on. Added a haddock-project test. (cherry picked from commit 1b89c1b) # Conflicts: # Cabal/src/Distribution/Simple/Haddock.hs # Cabal/src/Distribution/Simple/Setup/Haddock.hs # cabal-install/src/Distribution/Client/CmdHaddockProject.hs # cabal-testsuite/PackageTests/Backpack/Includes2/setup-external.cabal.out # cabal-testsuite/PackageTests/Backpack/Includes2/setup-external.out # cabal-testsuite/PackageTests/Backpack/Includes2/setup-per-component.out # cabal-testsuite/PackageTests/Backpack/Includes3/setup-external-explicit.out # cabal-testsuite/PackageTests/Backpack/Includes3/setup-external-ok.cabal.out # cabal-testsuite/PackageTests/Backpack/Includes3/setup-external-ok.out # cabal-testsuite/PackageTests/Backpack/Reexport1/setup.cabal.out # cabal-testsuite/PackageTests/Backpack/Reexport1/setup.out # cabal-testsuite/PackageTests/Haddock/setup.cabal.out # cabal-testsuite/PackageTests/Haddock/setup.out # cabal-testsuite/PackageTests/HaddockArgs/quickjump.out # cabal-testsuite/PackageTests/HaddockNewline/setup.cabal.out # cabal-testsuite/PackageTests/HaddockNewline/setup.out # cabal-testsuite/PackageTests/InternalLibraries/Haddock/haddock.cabal.out # cabal-testsuite/PackageTests/InternalLibraries/Haddock/haddock.out # cabal-testsuite/PackageTests/NewHaddock/DisableDoc/cabal.out # cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockOutputCmd/cabal.out # cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockOutputConfig/cabal.out # cabal-testsuite/PackageTests/NewHaddock/ImplyDependencies/cabal.out
Collaborator
|
Needs manual rebase because of reformatting I assume. Cc @Kleidukos |
Member
|
hmm, so it seems, thank you. |
Kleidukos
force-pushed
the
mergify/bp/3.10/pr-8919
branch
8 times, most recently
from
August 8, 2023 16:15
cfffb5a to
8672c6e
Compare
Kleidukos
force-pushed
the
mergify/bp/3.10/pr-8919
branch
from
August 8, 2023 17:04
8672c6e to
f9ca706
Compare
Collaborator
|
I'm getting a validate error that seems like it should be unrelated? Probably someone else should try this since I'm flying blind. |
Collaborator
|
I switched to |
Member
|
Any (partial) progress here? Any experiments that failed? |
Member
|
cc @coot as you can see it's apparently more complex than what we thought |
Merged
Member
|
Shall this be closed due to #9213 being merged? |
Member
|
yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automatic backport of pull request #8919 done by Mergify.
Cherry-pick of 1840bca has failed:
Cherry-pick of 1b89c1b has failed:
Cherry-pick of 2c597e8 has failed:
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
Mergify commands and options
More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:
@Mergifyio refreshwill re-evaluate the rules@Mergifyio rebasewill rebase this PR on its base branch@Mergifyio updatewill merge the base branch into this PR@Mergifyio backport <destination>will backport this PR on<destination>branchAdditionally, on Mergify dashboard you can:
Finally, you can contact us on https://mergify.com