From 064813560c20f53f9fd759d0c4e0f0a6729c8ba6 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 9 Apr 2011 16:29:38 -0500 Subject: Show more info about todolists on developer dashboard Signed-off-by: Dan McGee --- templates/devel/index.html | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'templates/devel/index.html') diff --git a/templates/devel/index.html b/templates/devel/index.html index af2e5d28..92332c7a 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -72,19 +72,26 @@ Name Creation Date + Creator Description + Package Count + Incomplete Count + {% for todo in todos %} - - {{ todo.name }} - {{ todo.date_added|date }} - {{ todo.description|urlize }} - + + {{ todo.name }} + {{ todo.date_added|date }} + {{ todo.creator.get_full_name }} + {{ todo.description|urlize }} + {{ todo.pkg_count }} + {{ todo.incomplete_count }} + {% empty %} - No package todo lists to display + No package todo lists to display {% endfor %} -- cgit v1.2.3-2-g168b From 96c59b1dc22b7318eadeaec11e7fed25829cecd5 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 16 Apr 2011 07:25:47 -0500 Subject: Add some simple template caching on developer dashboard Signed-off-by: Dan McGee --- templates/devel/index.html | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'templates/devel/index.html') diff --git a/templates/devel/index.html b/templates/devel/index.html index 92332c7a..2eae0815 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -1,4 +1,6 @@ {% extends "base.html" %} +{% load cache %} + {% block title %}Arch Linux - Developer Dashboard{% endblock %} {% block content %} @@ -98,6 +100,7 @@ +{% cache 60 dev-dash-by-arch %}

Stats by Architecture

@@ -124,9 +127,10 @@ {% endfor %} +
{# #dash-by-arch #} +{% endcache %} - - +{% cache 60 dev-dash-by-repo %}

Stats by Repository

@@ -153,9 +157,10 @@ {% endfor %} +
{# dash-by-arch #} +{% endcache %} - - +{% cache 60 dev-dash-by-maintainer %}

Stats by Maintainer

@@ -191,8 +196,9 @@ {% endfor %} +
{# #dash-by-maintainer #} +{% endcache %} - {% load cdn %}{% jquery %} -- cgit v1.2.3-2-g168b From 174d04ad0334b1c441bc0237e3e2ed8f581575ef Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 25 Apr 2011 18:17:56 -0500 Subject: Add links to developer reports Signed-off-by: Dan McGee --- templates/devel/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'templates/devel/index.html') diff --git a/templates/devel/index.html b/templates/devel/index.html index 2eae0815..601de752 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -98,6 +98,14 @@ +

Developer Reports

+ + {% cache 60 dev-dash-by-arch %} -- cgit v1.2.3-2-g168b From e58eb76a1ab4d6f1293b717e21da68f5aa3e5c45 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 29 Apr 2011 18:21:10 -0500 Subject: Change big packages report Signed-off-by: Dan McGee --- templates/devel/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/devel/index.html') diff --git a/templates/devel/index.html b/templates/devel/index.html index 601de752..8bf8c910 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -100,7 +100,7 @@

Developer Reports

    -
  • Big: 100 largest compressed packages in the repositories
  • +
  • Big: All packages with compressed size > 50 MiB
  • Old: Packages last built more than two years ago
  • Uncompressed Manpages: Self-explanatory
  • Uncompressed Info Pages: Self-explanatory
  • -- cgit v1.2.3-2-g168b From 5379348c9337a4abe27e807fef7956e11eebed30 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 29 Apr 2011 18:21:43 -0500 Subject: Add unneeded orphans report Signed-off-by: Dan McGee --- templates/devel/index.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/devel/index.html') diff --git a/templates/devel/index.html b/templates/devel/index.html index 8bf8c910..29b98bdf 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -104,6 +104,9 @@
  • Old: Packages last built more than two years ago
  • Uncompressed Manpages: Self-explanatory
  • Uncompressed Info Pages: Self-explanatory
  • +
  • Unneeded Orphans: Packages + that have no maintainer and are not required by any other package in + any repository
-- cgit v1.2.3-2-g168b