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

Automatic visibility of stack_snapshot dependencies to vendored packages #1583

Merged
merged 5 commits into from
Aug 24, 2021

Commits on Aug 24, 2021

  1. Make packages visible to vendored dependents

    If a vendored package depends on an otherwise not public package in the
    snapshot, then it is made visible to this vendored package.
    
    To handle executable components (tool dependencies) `stack_snapshot`
    generates a JSON file listing all components and the `-exe` repository
    reads this file to generate the necessary aliases with the correct
    visibilities.
    aherrmann authored and mergify-bot committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    4d5dfa6 View commit details
    Browse the repository at this point in the history
  2. Update stack_snapshot documentation

    aherrmann authored and mergify-bot committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    2e5fbf7 View commit details
    Browse the repository at this point in the history
  3. vendored_packages deps are made visible automatically

    aherrmann authored and mergify-bot committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    33b55f5 View commit details
    Browse the repository at this point in the history
  4. Update haskell/cabal.bzl

    Co-authored-by: Taeer Bar-Yam <Radvendii@users.noreply.github.com>
    2 people authored and mergify-bot committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    0ddb1f6 View commit details
    Browse the repository at this point in the history
  5. Use set for easier to read unique

    aherrmann authored and mergify-bot committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    454139c View commit details
    Browse the repository at this point in the history