Skip to content

feat: Add dependency graph generation and OSO integration#1241

Draft
acul71 wants to merge 5 commits intomainfrom
feature/dependency-graph-oso-clean
Draft

feat: Add dependency graph generation and OSO integration#1241
acul71 wants to merge 5 commits intomainfrom
feature/dependency-graph-oso-clean

Conversation

@acul71
Copy link
Contributor

@acul71 acul71 commented Feb 25, 2026

Add comprehensive dependency graph generation system for py-libp2p:

Scripts:

  • generate_dependency_graph.py: Generate direct dependency graphs
  • generate_transitive_dependency_graph.py: Generate full transitive dependency trees
  • integrate_oso.py: Integration script for Open Source Observer (OSO) API

Documentation:

  • Complete documentation in docs/dependency_graph/
  • OSO integration guide and information
  • Preview and usage instructions
  • Structure analysis and summary

Features:

  • Multiple output formats: JSON, DOT, Mermaid, Markdown, PNG, SVG
  • Direct and transitive dependency visualization
  • OSO API integration support
  • Generated files excluded from git (can be regenerated)

The dependency graphs can be used with OSO (Open Source Observer) for dependency analysis, security tracking, and ecosystem insights.

What was wrong?

Issue #

How was it fixed?

Summary of approach.

To-Do

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes
image

acul71 and others added 2 commits November 11, 2025 02:24
Add comprehensive dependency graph generation system for py-libp2p:

Scripts:
- generate_dependency_graph.py: Generate direct dependency graphs
- generate_transitive_dependency_graph.py: Generate full transitive dependency trees
- integrate_oso.py: Integration script for Open Source Observer (OSO) API

Documentation:
- Complete documentation in docs/dependency_graph/
- OSO integration guide and information
- Preview and usage instructions
- Structure analysis and summary

Features:
- Multiple output formats: JSON, DOT, Mermaid, Markdown, PNG, SVG
- Direct and transitive dependency visualization
- OSO API integration support
- Generated files excluded from git (can be regenerated)

The dependency graphs can be used with OSO (Open Source Observer) for
dependency analysis, security tracking, and ecosystem insights.
@acul71 acul71 marked this pull request as draft February 25, 2026 05:20
Move OSO health reporting into a package-first observability module with canonical CLI entrypoints, and reorganize operational scripts/docs to a clearer production-oriented structure. This makes maintenance workflows more reliable by aligning script paths, CI, tests, and docs around a single source of truth.

Made-with: Cursor
Add explicit report notes clarifying that current OSV checks are package-name based and may over-report without version matching, so maintainers interpret the signal as experimental.

Made-with: Cursor
Add report output patterns to gitignore and refresh generated dependency markdown formatting from latest graph generation.

Made-with: Cursor
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.

1 participant