o Revisit linking of binary->source in install() in katie.
+ o debian/* assumes arch: all but sql-aptvc.o isn't arch: all.
+
Less Urgent
-----------
# Sync the ISC configuartion file and the SQL database
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: alyson,v 1.3 2001-03-02 02:24:33 troup Exp $
+# $Id: alyson,v 1.4 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
('v',"version","Alyson::Options::Version")];
apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
- projectB = pg.connect('projectb', 'localhost');
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));
db_access.init(Cnf, projectB);
# Quick hack to populate section, priority and bin_type; the rest todo later
# Check for fixable discrepancies between stable and unstable
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: andrea,v 1.2 2001-03-02 02:47:29 troup Exp $
+# $Id: andrea,v 1.3 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
- projectB = pg.connect('projectb', 'localhost');
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));
db_access.init(Cnf, projectB);
src_suite = "stable";
# Poolify (move packages from "legacy" type locations to pool locations)
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: catherine,v 1.6 2001-03-02 02:24:33 troup Exp $
+# $Id: catherine,v 1.7 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
- projectB = pg.connect('projectb', 'localhost');
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));
db_access.init(Cnf, projectB);
poolized_size = 0;
# Generate Maintainers file used by e.g. the Debian Bug Tracking System
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: charisma,v 1.5 2001-03-15 01:59:18 troup Exp $
+# $Id: charisma,v 1.6 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
extra_files = apt_pkg.ParseCommandLine(Cnf,[],sys.argv);
- projectB = pg.connect('projectb', Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, Cnf["DB::ROUser"]);
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, Cnf["DB::ROUser"]);
for suite in Cnf.SubTree("Suite").List():
suite = string.lower(suite);
# Output override files for apt-ftparchive and indices/
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: cindy,v 1.2 2001-03-02 02:46:02 troup Exp $
+# $Id: cindy,v 1.3 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
('V',"version","Denise::Options::Version")];
apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
- projectB = pg.connect('projectb', 'localhost');
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));
db_access.init(Cnf, projectB);
for suite in [ "stable", "unstable" ]:
# 'Fix' stable to make debian-cd and dpkg -BORGiE users happy
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: claire.py,v 1.5 2001-03-02 02:24:33 troup Exp $
+# $Id: claire.py,v 1.6 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
- projectB = pg.connect('projectb', 'localhost');
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));
db_access.init(Cnf, projectB);
install -m 755 rhona debian/tmp/usr/bin/da_clean
install -m 755 madison debian/tmp/usr/bin/da_chkver
install -m 755 natalie.py debian/tmp/usr/bin/da_override
- install -m 755 melanie debian/tmp/usr/da_remove
+ install -m 755 melanie debian/tmp/usr/bin/da_remove
install -d -m 755 debian/tmp/usr/lib/python1.5/site-packages/
install -m 644 db_access.py utils.py debian/tmp/usr/lib/python1.5/site-packages/
# Output override files for apt-ftparchive and indices/
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: denise,v 1.3 2001-03-02 02:29:00 troup Exp $
+# $Id: denise,v 1.4 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
('V',"version","Denise::Options::Version")];
apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
- projectB = pg.connect('projectb', 'localhost');
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));
db_access.init(Cnf, projectB);
natalie.init();
# Manipulate suite tags
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: heidi,v 1.4 2001-03-02 02:24:33 troup Exp $
+# $Id: heidi,v 1.5 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
file_list = apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
- projectB = pg.connect('projectb', 'localhost');
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"],int(Cnf["DB::Port"]));
db_access.init(Cnf, projectB);
# Generate file list which is then fed to apt-ftparchive to generate Packages and Sources files
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: jenna,v 1.6 2001-03-02 02:24:33 troup Exp $
+# $Id: jenna,v 1.7 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
global Cnf, projectB;
dislocated_files = {};
- projectB = pg.connect('projectb', 'localhost');
-
apt_pkg.init();
Cnf = apt_pkg.newConfiguration();
apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));
db_access.init(Cnf, projectB);
if Cnf["Jenna::Options::Suite"] == "":
# Installs Debian packaes
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: katie,v 1.31 2001-03-14 05:12:53 troup Exp $
+# $Id: katie,v 1.32 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Cnf["Dinstall::Options::Ack-New"] = ""
postgresql_user = Cnf["DB::ROUser"];
- projectB = pg.connect('projectb', Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, postgresql_user);
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, postgresql_user);
db_access.init(Cnf, projectB);
DB
{
+ Name "projectb";
Host "ftp-master.debian.org";
Port -1;
ROUser "nobody";
DB
{
+ Name "projectb";
Host "non-us.debian.org";
Port -1;
ROUser "nobody";
# 'Fix' stable to make debian-cd and dpkg -BORGiE users happy
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: madison,v 1.3 2001-03-02 02:24:33 troup Exp $
+# $Id: madison,v 1.4 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
packages = apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
- projectB = pg.connect('projectb', Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, Cnf["DB::ROUser"]);
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, Cnf["DB::ROUser"]);
db_access.init(Cnf, projectB);
# General purpose archive tool for ftpmaster
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: melanie,v 1.7 2001-03-02 02:26:17 troup Exp $
+# $Id: melanie,v 1.8 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
arguments = apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
Options = Cnf.SubTree("Melanie::Options")
- projectB = pg.connect('projectb', 'localhost');
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));
db_access.init(Cnf, projectB);
# Sanity check options
# Populate the DB
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: neve,v 1.2 2001-03-02 02:24:33 troup Exp $
+# $Id: neve,v 1.3 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
sys.exit(2)
print output
- projectB = pg.connect('projectb', 'localhost', -1, None, None, 'postgres')
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, 'postgres')
db_access.init (Cnf, projectB);
# rhona, cleans up unassociated binary and source packages
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: rhona,v 1.12 2001-03-15 22:42:25 troup Exp $
+# $Id: rhona,v 1.13 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
def main():
global Cnf, projectB, delete_date;
- projectB = pg.connect('projectb', 'localhost');
-
apt_pkg.init();
Cnf = apt_pkg.newConfiguration();
apt_pkg.ReadConfigFileISC(Cnf,utils.which_conf_file());
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));
+
Arguments = [('D',"debug","Rhona::Options::Debug", "IntVal"),
('h',"help","Rhona::Options::Help"),
('n',"no-action","Rhona::Options::No-Action"),
# Sanity check the database
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: tea,v 1.7 2001-03-15 00:35:30 troup Exp $
+# $Id: tea,v 1.8 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
('v',"version","Tea::Options::Version")];
apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
- projectB = pg.connect('projectb', 'localhost');
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));
db_access.init(Cnf, projectB);
check_md5sums();