Bug#348509: add support for local archives

2006-01-25 Thread Timo Aaltonen
Here's a new version of generators/60local. I've added support for deb-src, and the syntax for apt-setup/local../repository has changed. Also the key handling is now a bit more robust, because every key is on it's own file. Colin suggested that the templates are not necessary because a

Bug#348509: add support for local archives

2006-01-23 Thread Timo Aaltonen
Ok, silence is good, right? =) Here are the patches for templates and documentation: --- preseed.xml 2006-01-17 13:04:29.786028000 +0200 +++ preseed.xml.copy2006-01-23 10:38:37.546467000 +0200 @@ -666,7 +666,7 @@ Setup of the filename/etc/apt/sources.list/filename and basic

Bug#348509: add support for local archives

2006-01-18 Thread Timo Aaltonen
On Tue, 17 Jan 2006, Timo Aaltonen wrote: I'll make another patch tomorrow. Ok, here's the script. Could something like this work? Note that there are more debconf-keys (three per entry). That would mean adding templates for all apt-setup/local[0-9]/{comment, repository, key}, which would

Bug#348509: add support for local archives

2006-01-17 Thread Timo Aaltonen
Package: apt-setup Version: 0.5 It would be nice to have support for local archives in apt-setup. Here's a simple patch for that. Currently it supports only one repository because it doesn't (well, I don't) know how to parse the string into multiple entries. Maybe something like a ';' could

Bug#348509: add support for local archives

2006-01-17 Thread Joey Hess
Timo Aaltonen wrote: It would be nice to have support for local archives in apt-setup. Here's a simple patch for that. Currently it supports only one repository because it doesn't (well, I don't) know how to parse the string into multiple entries. Maybe something like a ';' could be the

Bug#348509: add support for local archives

2006-01-17 Thread Timo Aaltonen
On Tue, 17 Jan 2006, Joey Hess wrote: Timo Aaltonen wrote: It would be nice to have support for local archives in apt-setup. Here's a simple patch for that. Currently it supports only one repository because it doesn't (well, I don't) know how to parse the string into multiple entries. Maybe

Bug#348509: add support for local archives

2006-01-17 Thread Colin Watson
On Tue, Jan 17, 2006 at 11:38:50PM +0200, Timo Aaltonen wrote: On Tue, 17 Jan 2006, Joey Hess wrote: Timo Aaltonen wrote: +Template: apt-setup/local +Type: string +_Description: Local archive(s) to be added in sources.list No need to localise this since it doesn't ask the question. Ok,

Bug#348509: add support for local archives

2006-01-17 Thread Joey Hess
Timo Aaltonen wrote: I could do that also, maybe section B.4.6 is the obvious place? There's a preseed.xml that documents preseeding, I don't know what section this corresponds to. That's true, I'll look into it although at the moment this is a bit unfamiliar business to me. But that's what