Introduce the baseurl parameter and adjust existings configs
authorAlexander Wirt <formorer@grml.org>
Sun, 6 May 2007 17:26:10 +0000 (19:26 +0200)
committerAlexander Wirt <formorer@grml.org>
Sun, 6 May 2007 17:26:10 +0000 (19:26 +0200)
source-report/get_sources
source-report/grml-1.0/grml-1.0.yaml
source-report/grml-64-1.0/grml-64.yaml

index f5f8e21..edf36bb 100755 (executable)
@@ -30,6 +30,7 @@ sub validate_config ($) {
                                statusfile => { type => SCALAR },
                                sourcedir => { type => SCALAR },
                                sourceslist => { type => SCALAR }, 
+                               baseurl => { type => SCALAR },
                                chroot => { type => SCALAR },
                                reportdir => { type => SCALAR },
                                debug => { type => SCALAR, regex => qr/^(1|0)$/, optional => 1},
@@ -264,6 +265,8 @@ print $fh "<b>Packages:</b> $pnum<br>";
 print $fh "<b>Sources:</b> $snum<br>";
 print $fh "<b>Errors:</b> $errors (" . $errors/$snum*100 . "%)<br>"; 
 print $fh "<a href='sources.list'>Sources list of the chroot</a><br><br>"; 
+print $fh "<b>Use:</b><i> deb-src " . $config->{'baseurl'} . " ./</i><br> "; 
+print $fh "in your sources.list to get files via apt-get<br><br>";
 print $fh $t;
 print $fh end_html;
 close ($fh); 
index 33455f1..4c6150b 100644 (file)
@@ -3,6 +3,7 @@ statusfile: /home/sources/source-report/grml-1.0/grep-status
 sourceslist: /home/sources/source-report/grml-1.0/sources.list
 reportdir: /home/sources/reports/grml-1.0/
 sourcedir: /home/sources/reports/sources
+baseurl: http://sources.grml.org/grml-1.0/
 updatesource: 1
 chroot: /home/sources/chroot/sid
 debug: 0
index ecf87b6..e8c05c9 100644 (file)
@@ -3,6 +3,7 @@ statusfile: /home/sources/source-report/grml-64-1.0/grep-status.grml64
 sourceslist: /home/sources/source-report/grml-64-1.0/sources.list
 reportdir: /home/sources/reports/grml-64-1.0/
 sourcedir: /home/sources/reports/sources
+baseurl: http://sources.grml.org/grml-64-1.0/
 updatesource: 1
 chroot: /home/sources/chroot/sid
 debug: 0