Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (annotate) |
| Sticky Revision: |
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
add text description in usage display Submitted by: Jason Harrison <jharrison@linuxbs.org>
happy new year
missed a couple spots with recent reshuffling of machine.add() and apt_pkg init
add Id tags, svn:keywords, license blocks where needed
- 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
rename to include "demi" in the command name
- 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
initial import of demi
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |