Skip to content

Fix: Filter out private internal libraries from package pages - #1437

Merged
ysangkok merged 6 commits into
haskell:masterfrom
nikita-volkov:master
Oct 16, 2025
Merged

Fix: Filter out private internal libraries from package pages#1437
ysangkok merged 6 commits into
haskell:masterfrom
nikita-volkov:master

Conversation

@nikita-volkov

@nikita-volkov nikita-volkov commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

Addresses the bug described in #1346.

Should be noted that the patch is generated with AI.

Copilot AI and others added 4 commits October 10, 2025 08:48
Co-authored-by: nikita-volkov <1560937+nikita-volkov@users.noreply.github.com>
Co-authored-by: nikita-volkov <1560937+nikita-volkov@users.noreply.github.com>
…-visibility

Fix: Filter out private internal libraries from package pages
Comment thread src/Distribution/Server/Packages/Render.hs Outdated
Comment thread src/Distribution/Server/Packages/Render.hs Outdated
Comment thread src/Distribution/Server/Packages/Render.hs Outdated
visibility can be a part of CondTree, e. g.,

```haskell
library foo-internal
  if flag(foo)
    visibility: public
  else
    visibility: private
```

See haskell#1437 (comment)
@ysangkok

Copy link
Copy Markdown
Member

Have you tested this with puresat? Or do you want me to test it?

@nikita-volkov

Copy link
Copy Markdown
Contributor Author

Have you tested this with puresat? Or do you want me to test it?

Please test it :)

@ysangkok

Copy link
Copy Markdown
Member

seems to work, the internal libraries are no longer shown:

image

@ysangkok
ysangkok merged commit f9a0280 into haskell:master Oct 16, 2025
12 checks passed
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.

4 participants