[buildinfo.debian.net] 01/01: Drop rendering of build-depends as it breaks on build-essential packages (Closes: #14)

Chris Lamb chris at chris-lamb.co.uk
Mon Nov 7 22:16:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository buildinfo.debian.net.

commit 9135c40c2c377e5a162964e3649e8eb01180d323
Author: Chris Lamb <lamby at debian.org>
Date:   Mon Nov 7 22:16:49 2016 +0000

    Drop rendering of build-depends as it breaks on build-essential packages  (Closes: #14)
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 bidb/packages/views.py         |  6 ------
 templates/packages/binary.html | 14 --------------
 2 files changed, 20 deletions(-)

diff --git a/bidb/packages/views.py b/bidb/packages/views.py
index 28b9f3d..8f45ccb 100644
--- a/bidb/packages/views.py
+++ b/bidb/packages/views.py
@@ -39,11 +39,6 @@ def source(request, name):
 def binary(request, name):
     binary = get_object_or_404(Binary, name=name)
 
-    build_depends = binary.build_depends.select_related(
-        'buildinfo__source',
-        'buildinfo__architecture',
-    ).order_by('buildinfo__source__name')
-
     versions = binary.generated_binaries.values_list(
         'buildinfo__version', flat=True,
     ).order_by('buildinfo__version').distinct()
@@ -51,5 +46,4 @@ def binary(request, name):
     return render(request, 'packages/binary.html', {
         'binary': binary,
         'versions': versions,
-        'build_depends': build_depends,
     })
diff --git a/templates/packages/binary.html b/templates/packages/binary.html
index 79f7b3c..572499c 100644
--- a/templates/packages/binary.html
+++ b/templates/packages/binary.html
@@ -40,18 +40,4 @@
   {% endfor %}
 </ul>
 
-<h2>Used as Build-Depends for:</h2>
-
-<ul>
-  {% for x in build_depends %}
-  <li>
-    <a href="{{ x.buildinfo.get_absolute_url }}"><code>{{ x.buildinfo.get_filename }}.buildinfo</code></a>
-  </li>
-  {% empty %}
-  <li>
-    (none)
-  </li>
-  {% endfor %}
-</ul>
-
 {% endblock%}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/buildinfo.debian.net.git



More information about the Reproducible-commits mailing list