An interesting discussion started earlier this week: upstream dependents.
At present, FreshPorts captures and displays the information output from:
make -V BUILD_DEPENDS -V RUN_DEPENDS -V LIB_DEPENDS
For a given port, this tells up what that port depends upon for building, running, and libraries.
The request is for this same information, but in the reverse ordering; what ports depend upon this port.
So far, I think we have a simple solution. A new table:
create table port_dependencies ( port_id integer not null, port_id_dependent_upon integer not null, dependency_type char(1) not null, primary key (port_id, port_id_dependent_upon, dependency_type) ); alter table port_dependencies add foreign key (port_id) references ports (id) on update cascade on delete cascade; alter table port_dependencies add foreign key (port_id_dependent_upon) references ports (id) on update cascade on delete cascade;
It’s still early in the day, and I’ve not had breakfast. Thus, I think it’s a good idea for you to provide feedback on this. :)