From f54748468765954a856997a295309a1fa49eaed8 Mon Sep 17 00:00:00 2001 From: Tully Foote Date: Sun, 15 Sep 2024 01:03:52 -0700 Subject: [PATCH 1/2] Redunce dependency list to be package link and arrow for walking up or down This fixes #388 It fixes the broken links by removing them as the extra column's info has been reduced. And while here make it symmetric so you navigate packages both up and down the dependency list. --- _includes/package_body.html | 8 -------- 1 file changed, 8 deletions(-) diff --git a/_includes/package_body.html b/_includes/package_body.html index 87df8b5..97593df 100644 --- a/_includes/package_body.html +++ b/_includes/package_body.html @@ -229,7 +229,6 @@

Package Dependencies

- @@ -245,11 +244,6 @@

Package Dependencies

- {% else %} @@ -308,7 +302,6 @@

Dependant Packages

Deps Name
- - {{n_instances}} - - {{p[0]}}
- @@ -317,7 +310,6 @@

Dependant Packages

{% for dep_instance in d[1] %} - - + {% else %} - {% endif %} @@ -292,7 +287,7 @@

System Dependencies

-
+

Dependant Packages

@@ -312,7 +307,7 @@

Dependant Packages

diff --git a/_sass/_base.scss b/_sass/_base.scss index cbb08ca..cab269b 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -66,6 +66,12 @@ a.inactive { text-decoration: none; } +// Used in dependencies to denote no further 2nd order dependencies +a.endoftree { + color: #5e00c7; + text-decoration: none; +} + table.table a .glyphicon { text-decoration: none; }
NameRepo Deps
{{dep_name}}{{dep_instance.id}} {% assign n_2nd_order_deps = dep_instance.package.data.dependants | size %} From 4d92e936aecf1b4390f741a162bffb7e2345d2d7 Mon Sep 17 00:00:00 2001 From: "R. Kent James" Date: Mon, 16 Sep 2024 10:51:43 -0700 Subject: [PATCH 2/2] Equalize width, class=endoftree, no system deps in package dependencies --- _includes/package_body.html | 17 ++++++----------- _sass/_base.scss | 6 ++++++ 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/_includes/package_body.html b/_includes/package_body.html index 97593df..eba7b1a 100644 --- a/_includes/package_body.html +++ b/_includes/package_body.html @@ -219,7 +219,7 @@

Wiki Tutorials

-
+

Package Dependencies

@@ -237,21 +237,16 @@

Package Dependencies

{% if n_instances > 0 %}
- {% assign n_2nd_order_pdeps = p[1].snapshots[distro].data.pkg_deps | size %} - {% assign n_2nd_order_sdeps = p[1].snapshots[distro].data.system_deps | size %} - {% assign n_2nd_order_deps = n_2nd_order_pdeps | plus: n_2nd_order_sdeps %} - + {% assign n_2nd_order_deps = p[1].snapshots[distro].data.pkg_deps | size %} + {{p[0]}}{{p[0]}} {{n_2nd_order_pdeps}} {{n_2nd_order_sdeps}}
- 0 - {{p[0]}}
{{dep_name}} {% assign n_2nd_order_deps = dep_instance.package.data.dependants | size %} - +