Log of /bin
Directory Listing
Revision
75 -
Directory Listing
Modified
Wed Feb 8 01:32:18 2006 UTC
(7 years, 3 months ago)
by
jwm-guest
move from getopt to optparse
Submitted by: Jason Harrison <jharrison@linuxbs.org>
also, have machine.add() return the machine; chances are, we're going to
want to manipulate the machine after we add it
Revision
63 -
Directory Listing
Modified
Fri Jan 27 20:14:50 2006 UTC
(7 years, 3 months ago)
by
jwm-guest
happy new year
Revision
52 -
Directory Listing
Modified
Wed Jan 18 22:46:03 2006 UTC
(7 years, 4 months ago)
by
jwm-guest
missed a couple spots with recent reshuffling of machine.add() and apt_pkg init
Revision
44 -
Directory Listing
Modified
Wed Jan 18 19:38:57 2006 UTC
(7 years, 4 months ago)
by
jwm-guest
add Id tags, svn:keywords, license blocks where needed
Revision
42 -
Directory Listing
Modified
Wed Jan 18 19:22:53 2006 UTC
(7 years, 4 months ago)
by
jwm-guest
- add more docstrings
- move Machine.add() out of Machine class and into machine module; it makes more sense here
- remotecommand.updateStatus() doesn't need a machine argument; the command already knows what
machine it was pushed to
- move some functions around in machine module so they're grouped better
Revision
41 -
Directory Listing
Modified
Wed Jan 18 19:19:00 2006 UTC
(7 years, 4 months ago)
by
jwm-guest
rename to include "demi" in the command name
Revision
10 -
Directory Listing
Modified
Wed Jan 4 20:45:52 2006 UTC
(7 years, 4 months ago)
by
jwm-guest
- move getAllMachines() from demi into machine module
- rename for loop iterator variable (from machine to m) to avoid overwriting
the machine module
- revamp dsas/affectedMachines to be a bit cleaner
Revision
7 -
Directory Listing
Modified
Wed Dec 28 22:04:32 2005 UTC
(7 years, 4 months ago)
by
jwm-guest
- start gathering sources.list and APT preferences from each machine.
use this information to create an "ideal" machine for each distinct
APT preference/sources.list and link machines to their corresponding
ideal machines.
ideal machines are still based on the latest version available in the
Demi server's APT cache - eventually they should use dedicated
APT caches based on their source.lists/APT prefs/pinning/etc.
- clear the machine cache when adding new machines. otherwise, new
ideal machines won't be added to the cache, resulting in a duplicate
ideal machine for each successive linking
- Machine.isAffectedBy() should check the DSA's binary packages, so we
catch relevant DSAs that don't have an identically-named source package
(for example, the mysql-dfsg package produces a number of binary packages,
none of them named mysql-dfsg)
- add Machine.affectedPackages() and use it to display the affected binary
packages and their corresponding current versions in the web interface
- remove unused Machine.getOutdatedPackages() routine
- avoid exception in getPackageVersion() if the requested package isn't
installed
- Machine.updatePackageList() -> Machine.update()
- some code cleanup: += vs 'query = query +' syntax, list syntax
when fetching results from a DB cursor
- sort ideal machines last in the machine listing
- UnknownMachine exception should take a single identifier argument,
to avoid the complexity of taking a separate hostname or id
Revision
1 -
Directory Listing
Added
Fri Dec 16 17:32:58 2005 UTC
(7 years, 5 months ago)
by
jwm-guest
initial import of demi