Projet

Général

Profil

Task - Tâche #1169

Mise aux normes de harvertsd

Ajouté par Eric Seigne il y a environ 13 ans. Mis à jour il y a plus de 7 ans.

Statut:
Fixed - Corrigé - Implémenté
Priorité:
Normale
Assigné à:
Version cible:
Début:
07/02/2011
Echéance:
% réalisé:

100%

Temps estimé:
(Total: 8.00 h)

Description

Suite à une mise à jour interne de python-pyinotify le démon harvertsd ne marche plus directement sur cette version.

Plus deux petites modifications de import ...

Changes in version 0.8.0:
------------------------

* Incompatible changes with version 0.7.x

  - Dropped support for python 2.3 (supports only CPython >= 2.4)
  - Changed attribute names of class Event:
    * 'is_dir' becomes 'dir'
    * 'event_name' becomes 'maskname'
  - Altered namespace:
    * Everything previously accessible under inotify.* is now accessible
      under pyinotify.
  - When meaningful, an event (instance of Event) brings a new
    attribute 'pathname'
  - Modified debugging messages:
    * The VERBOSE variable is removed, and is replaced by the logging module
    * Set the reporting level like this: log.setLevel(level)
    * print_err(msg) replaced by log.error(msg)
  - EventsCodes:
    * _get_event_name(mask) replaced by get_masks(mask)
    * EventsCodes.IN_* replaced by IN_* (avalaible at the pyinotify's scope)
  - Notifier:
    * Avoid use of ThreadedNotifier, everything can be done with Notifier
      and it provides more functionalities
    * Use Notifier.loop() method instead of using an infinite while loop

Changes in version 0.6.2:
------------------------

* New features

  - Pathname pattern expansion:
    Something like  python -m pyinotify /tmp/[0-9]*.gif  now works.
    See http://www.python.org/doc/lib/module-glob.html for more details.

Sous-tâches

Task - Tâche #1170: Amélioration de harverstd (ThreadedNotifier)Fixed - Corrigé - Implémenté

Historique

#1 Mis à jour par Eric Seigne il y a environ 13 ans

C'est fait, il resterait à voir pour des question d'optimisation d'après la doc, de ne plus utiliser ThreadedNotifier mais je n'ai pas regardé cette partie là. J'ouvre un ticket pour ça !

#2 Mis à jour par Eric Seigne il y a environ 13 ans

  • Statut changé de Assigned - En cours à Fixed - Corrigé - Implémenté
  • % réalisé changé de 0 à 100

Formats disponibles : Atom PDF

Redmine Appliance - Powered by TurnKey Linux