Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-56141

libdeps analyzer: find in-degree 1 candidates for folding into dependers

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Dev Platform 2021-05-03, Dev Platform 2021-05-17

      Description

      Libraries with only 1 depender are good candidates to just be merged with that depender, which helps to optimize the build and reduce the size of the graph.

      Create an analyzer that will search the graph for such libraries and report a list of them.

      Open Question:
      Should there be a tag for libraries which we want to keep as in-degree 1 because it doesn't make sense to merge them or we anticipate them gaining more in-degree edges in the future? This tag could be used to filter or identify them in such a report generated from the proposed analyzer.

        Attachments

          Activity

            People

            Assignee:
            daniel.moody Daniel Moody
            Reporter:
            daniel.moody Daniel Moody
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: