~free.ekanayaka/landscape-client/lucid-1.4.4-0ubuntu0.10.04

« back to all changes in this revision

Viewing changes to landscape/message_schemas.py

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2009-12-16 10:50:05 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20091216105005-svplwdorkgz6vja7
Tags: 1.4.0-0ubuntu0.10.04.0
* New upstream release with several bug fixes:
  - Fix landscape daemons fail to start when too many groups are
    available (LP: #456124)
  - Fix landscape programs wake up far too much. (LP: #340843)
  - Fix Package manager fails with 'no such table: task' (LP #465846)
  - Fix test suite leaving temporary files around (LP #476418)
  - Fix the 1hr long wait for user data to be uploaded following a
    resynchronisation (LP #369000)

* Add support for Ubuntu release upgrades:
  - Add helper function to fetch many files at once (LP: #450629)
  - Handle release-upgrade messages in the packagemanager
    plugin (LP: #455217)
  - Add a release-upgrader task handler (LP: #462543)
  - Support upgrade-tool environment variables (LP: #463321)

* Add initial support for Smart package locking:
  - Detect and report changes about Smart package locks (#488108)

* Packaging fixes:
  - Turn unnecessary Pre-Depends on python-gobject into a regular Depends
  - If it's empty, remove /etc/landscape upon purge

Show diffs side-by-side

added added

removed removed

Lines of Context:
270
270
    {"installed": package_ids_or_ranges,
271
271
     "available": package_ids_or_ranges,
272
272
     "available-upgrades": package_ids_or_ranges,
 
273
     "locked": package_ids_or_ranges,
273
274
     "not-installed": package_ids_or_ranges,
274
275
     "not-available": package_ids_or_ranges,
275
 
     "not-available-upgrades": package_ids_or_ranges},
276
 
    optional=["installed", "available", "available-upgrades",
277
 
              "not-available", "not-installed", "not-available-upgrades"])
 
276
     "not-available-upgrades": package_ids_or_ranges,
 
277
     "not-locked": package_ids_or_ranges},
 
278
    optional=["installed", "available", "available-upgrades", "locked",
 
279
              "not-available", "not-installed", "not-available-upgrades",
 
280
              "not-locked"])
 
281
 
 
282
package_locks = List(Tuple(utf8, utf8, utf8))
 
283
PACKAGE_LOCKS = Message(
 
284
    "package-locks",
 
285
    {"created": package_locks,
 
286
     "deleted": package_locks},
 
287
    optional=["created", "deleted"])
278
288
 
279
289
CHANGE_PACKAGES_RESULT = Message(
280
290
    "change-packages-result",
334
344
               HARDWARE_INVENTORY, LOAD_AVERAGE, MEMORY_INFO,
335
345
               RESYNCHRONIZE, MOUNT_ACTIVITY, MOUNT_INFO, FREE_SPACE,
336
346
               REGISTER, REGISTER_CLOUD_VM, TEMPERATURE, PROCESSOR_INFO,
337
 
               USERS, PACKAGES,
 
347
               USERS, PACKAGES, PACKAGE_LOCKS,
338
348
               CHANGE_PACKAGES_RESULT, UNKNOWN_PACKAGE_HASHES,
339
349
               ADD_PACKAGES, TEXT_MESSAGE, TEST, CUSTOM_GRAPH,
340
350
               REBOOT_REQUIRED]: