/[demi]/bin/add-demi-machine
ViewVC logotype

Log of /bin/add-demi-machine

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 75 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 8 01:32:18 2006 UTC (7 years, 3 months ago) by jwm-guest
File length: 1121 byte(s)
Diff to previous 74 , to selected 63
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 74 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 1 21:18:52 2006 UTC (7 years, 3 months ago) by jwm-guest
File length: 1485 byte(s)
Diff to previous 63
add text description in usage display

Submitted by: Jason Harrison <jharrison@linuxbs.org>

Revision 63 - (view) (download) (annotate) - [selected]
Modified Fri Jan 27 20:14:50 2006 UTC (7 years, 3 months ago) by jwm-guest
File length: 1499 byte(s)
Diff to previous 52
happy new year

Revision 52 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 18 22:46:03 2006 UTC (7 years, 4 months ago) by jwm-guest
File length: 1497 byte(s)
Diff to previous 44 , to selected 63
missed a couple spots with recent reshuffling of machine.add() and apt_pkg init

Revision 44 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 18 19:38:57 2006 UTC (7 years, 4 months ago) by jwm-guest
File length: 1479 byte(s)
Diff to previous 42 , to selected 63
add Id tags, svn:keywords, license blocks where needed

Revision 42 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 18 19:22:53 2006 UTC (7 years, 4 months ago) by jwm-guest
File length: 1470 byte(s)
Diff to previous 41 , to selected 63
- 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 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 18 19:19:00 2006 UTC (7 years, 4 months ago) by jwm-guest
File length: 1470 byte(s)
Copied from: bin/add-new-machine revision 28
Diff to previous 7 , to selected 63
rename to include "demi" in the command name

Revision 7 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 28 22:04:32 2005 UTC (7 years, 4 months ago) by jwm-guest
Original Path: bin/add-new-machine
File length: 1470 byte(s)
Diff to previous 1 , to selected 63
- 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 - (view) (download) (annotate) - [select for diffs]
Added Fri Dec 16 17:32:58 2005 UTC (7 years, 5 months ago) by jwm-guest
Original Path: bin/add-new-machine
File length: 1481 byte(s)
Diff to selected 63
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.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5