[Pkg-debile-commits] [debile-master] 14/28: Improved generation of apt sources.list

Léo Cavaillé leo.cavaille-guest at alioth.debian.org
Wed Aug 21 13:36:51 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-master.

commit c31c1a7b152ea429085d9062d5f8a1094bfa670b
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Sat Aug 17 08:36:52 2013 +0200

    Improved generation of apt sources.list
---
 lucy/archive.py |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/lucy/archive.py b/lucy/archive.py
index 10a9f8e..cb9c8d3 100644
--- a/lucy/archive.py
+++ b/lucy/archive.py
@@ -163,14 +163,17 @@ class UserRepository:
             debile_fqdn = self.config.get('paths', 'debile_fqdn'))
 
     def generate_aptsourcelist(self):
-        return
+        l = "# source debile mirror of %s packages" % self.user.name
+        path = os.path.join(self.config.get('paths', 'pool_url'), self.user.login, 'source')
+        l += "deb-src %s/ sid main\n\n" % path
+        return l
 
     def generate_aptbinarylist(self):
         l = ""
         build_flavors = listize(self.config.get('jobs', 'build-flavors'))
         for compiler in build_flavors:
-            l += "# binary debile mirror of %s of packages compiled with %s\n" % (self.user.name, compiler)
-            path = os.path.join(self.config.get('paths', 'pool_url'), compiler)
+            l += "# binary debile mirror of %s with packages compiled with %s\n" % (self.user.name, compiler)
+            path = os.path.join(self.config.get('paths', 'pool_url'), self.user.login, compiler)
             l += "deb %s/ sid main\n\n" % path
         return l
 

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



More information about the Pkg-debile-commits mailing list