Skip to content

SwiftPackageIndex/nio-dependency-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NIO Dependency Analysis

This repository contains the scripts to answer the question: if NIO was to drop Swift 5.0 and 5.1, how many of its dependencies would be affected?

Analysis Table

Links

Process

Steps to perform analysis:

  • run nio-analysis.swift in the checkouts directory containing all package checkouts (copy from builder)
    • loop over package checkouts
    • open Package.resolved to see if NIO is among the dependencies
      • if there is no Package.resolved, run swift package dump-package first
    • log NIO-dependents
  • compatibility.sql
    • run SQL snippets to compile lists of packages compatible with certain Swift versions
  • playground.sql
    • copy in results from nio-analysis.swift into nioDependees
    • copy in results from compatibility.sql into the compatible_5_x constants
    • run playground to compute the compatibility table

About

Scripts and queries used for ad hoc NIO dependency analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages