Skip to content

Idea: A tool to generate "Report of connectivity level between modules" #53

Description

@DmT021

There was a pitch recently on the swift forum about introduction new visibility levels on imports (ex @_implementationOnly imports).
internal and lower levels of imports are useful to reduce number of modules to be rebuild in incremental builds.
But there is no way suggested in the proposal to automate or assist with import visibility lowering.
However it was suggested that the swift index store could be used to get the information about dependencies between entities in different modules. So with the index store it's possible to build a report of connectivity level between modules, which in turn will be a valuable tool to plan work for specifying import visibilities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions