[Pkg-debile-commits] [debile-web] 03/06: Add APT sources.list tutorial

Léo Cavaillé leo.cavaille-guest at alioth.debian.org
Mon Aug 26 20:40:07 UTC 2013


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

leo.cavaille-guest pushed a commit to branch master
in repository debile-web.

commit ca203f310bf8f369fe160ee7f0e10aeff9d003c4
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Fri Aug 16 22:56:35 2013 +0200

    Add APT sources.list tutorial
---
 debuild/blueprints/frontend.py |    4 +++-
 templates/hacker.html          |    6 ++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debuild/blueprints/frontend.py b/debuild/blueprints/frontend.py
index 52d46a0..f626910 100644
--- a/debuild/blueprints/frontend.py
+++ b/debuild/blueprints/frontend.py
@@ -301,10 +301,12 @@ def hacker(hacker_login):
 
     ur = UserRepository(user)
     dput_upload_profile = ur.generate_dputprofile()
+    apt_binary_list = ur.generate_aptbinarylist()
 
     return render_template('hacker.html', **{
         "hacker": user,
-        "dput_upload_profile": dput_upload_profile
+        "dput_upload_profile": dput_upload_profile,
+        "apt_binary_list": apt_binary_list
     })
 
 
diff --git a/templates/hacker.html b/templates/hacker.html
index 82d9910..2d12ead 100644
--- a/templates/hacker.html
+++ b/templates/hacker.html
@@ -17,4 +17,10 @@ Follow our one-minute-very-easy-even-for-noobs setup guide.
 {{dput_upload_profile}}
 </pre>
 
+<h2>Download binary packages of debile with APT</h2>
+Choose to add one of the following mirrors to <strong>/etc/apt/sources.list.d/debile.list</strong>
+<pre>
+{{apt_binary_list}}
+</pre>
+
 {% endblock %}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-web.git



More information about the Pkg-debile-commits mailing list