Added and indexed Ubuntu raring + disable TUWF debug mode

This commit is contained in:
Yorhel 2013-04-27 07:12:51 +02:00
parent 96ce9d3441
commit 7c9dbffd6a
3 changed files with 11 additions and 2 deletions

View file

@ -140,7 +140,8 @@ INSERT INTO systems (id, name, release, short, relorder) VALUES
(78, 'FreeBSD', '8.2', 'freebsd-8.2', 49),
(79, 'FreeBSD', '8.3', 'freebsd-8.3', 50),
(80, 'FreeBSD', '9.0', 'freebsd-9.0', 51),
(81, 'Ubuntu', '12.10', 'ubuntu-quantal', 16);
(81, 'Ubuntu', '12.10', 'ubuntu-quantal', 16),
(82, 'Ubuntu', '13.04', 'ubuntu-raring', 17);
-- Removes any path components and compression extensions from the filename.

View file

@ -253,6 +253,12 @@ ubuntu_quantal() {
syncrepo 81 "http://nl.archive.ubuntu.com/ubuntu/" "quantal-security" "main multiverse restricted universe"
}
ubuntu_raring() {
syncrepo 82 "http://nl.archive.ubuntu.com/ubuntu/" "raring" "main multiverse restricted universe"
syncrepo 82 "http://nl.archive.ubuntu.com/ubuntu/" "raring-updates" "main multiverse restricted universe"
syncrepo 82 "http://nl.archive.ubuntu.com/ubuntu/" "raring-security" "main multiverse restricted universe"
}
ubuntu_old() {
ubuntu_warty
ubuntu_hoary
@ -274,6 +280,7 @@ ubuntu_active() {
ubuntu_oneiric # until 2013-04
ubuntu_precise # until 2017-04
ubuntu_quantal # until 2014-04
ubuntu_raring # until 2014-01
}
ubuntu() {

View file

@ -17,7 +17,7 @@ use ManUtils;
TUWF::set(
logfile => $ENV{TUWF_LOG},
db_login => [undef, undef, undef],
debug => 1,
debug => 0,
xml_pretty => 0,
# Cache the system information
pre_request_handler => sub {
@ -51,6 +51,7 @@ $TUWF::OBJ->{pkglinks} = {
'ubuntu-oneiric' => sub { "http://packages.ubuntu.com/oneiric/$_[0]{name}" },
'ubuntu-precise' => sub { "http://packages.ubuntu.com/precise/$_[0]{name}" },
'ubuntu-quantal' => sub { "http://packages.ubuntu.com/quantal/$_[0]{name}" },
'ubuntu-raring' => sub { "http://packages.ubuntu.com/raring/$_[0]{name}" },
};