Bug 225969 - [NEW PORT] ports-mgmt/py-portgraph: Create a dependencies graph of a(all) port(s)
Summary: [NEW PORT] ports-mgmt/py-portgraph: Create a dependencies graph of a(all) por...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL: https://gitlab.com/lbartoletti/portgraph
Keywords: easy, patch-ready
Depends on:
Blocks:
 
Reported: 2018-02-17 07:28 UTC by Loïc Bartoletti
Modified: 2018-03-19 07:45 UTC (History)
1 user (show)

See Also:
lbartoletti: maintainer-feedback+


Attachments
py-portgraph (2.81 KB, patch)
2018-02-17 07:28 UTC, Loïc Bartoletti
lbartoletti: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Loïc Bartoletti freebsd_committer freebsd_triage 2018-02-17 07:28:21 UTC
Created attachment 190713 [details]
py-portgraph

Started from an idea on twitter and used to reduce the dependencies of a port, here a python script to produce dependencies' graph of a(ll) FreeBSD port(s).

'portgraph' produces a graph (.dot and svg) representing the dependencies needed for a given port or all ports thanks to graphviz and the power of make {build,run}-depends-list.

--
Poudriere 10/11 i386/amd64 OK
Portlint -Nabt OK
As I'm the author of this script, I obviously tested it :)
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2018-03-19 07:45:30 UTC
Committed as ports-mgmt/portgraph.
Thank you for your contribution!
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-03-19 07:45:53 UTC
A commit references this bug:

Author: yuri
Date: Mon Mar 19 07:45:26 UTC 2018
New revision: 464994
URL: https://svnweb.freebsd.org/changeset/ports/464994

Log:
  New port: ports-mgmt/portgraph: Create a dependencies graph of a(all) port(s)

  PR:		225969
  Submitted by:	lbartoletti@tuxfamily.org

Changes:
  head/ports-mgmt/Makefile
  head/ports-mgmt/portgraph/
  head/ports-mgmt/portgraph/Makefile
  head/ports-mgmt/portgraph/distinfo
  head/ports-mgmt/portgraph/pkg-descr