Project

General

Profile

Tâche #30119

Scénario #30011: Traitement express MEN (19-21)

EOLE 2.8.0 : fonction python dépréciée à remplacer

Added by Fabrice Barconnière over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Start date:
03/05/2020
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

La fonction manage_service est dépréciée. Il faut utiliser manage_services
Liste certainement exhaustive :
  • eole-ad-dc/bareos/restore/addc.py:from pyeole.service import manage_service
  • eole-annuaire/bareos/restore/ldap.py:from pyeole.service import manage_service
  • zephir-client/data/scripts/service_restart.py:from pyeole.service import manage_service, unmanaged_service, UnknownServiceError, ServiceError
  • zephir-client/zephir/lib_zephir.py:from pyeole.service import manage_service
  • eole-ejabberd/bareos/restore/jabber.py:from pyeole.service import manage_service
  • python-pyeole/pyeole/bareosrestore.py:from pyeole.service import manage_service
  • python-pyeole/pyeole/bareos.py:from pyeole.service import manage_service
  • seshat-backend/seshat/replication.py:from pyeole.service import manage_service
  • bareos.py:from pyeole.service import manage_service
  • amon-backend/amon/guardian/dans_tools.py:from pyeole.service import manage_service

Associated revisions

Revision c854b1bd (diff)
Added by Fabrice Barconnière over 1 year ago

Don't use deprecated function

ref #30119

Revision cf66aee2 (diff)
Added by Fabrice Barconnière over 1 year ago

Don't use deprecated function

ref #30119

Revision 320aa070 (diff)
Added by Fabrice Barconnière over 1 year ago

Don't use deprecated function

ref #30119

Revision 41299909 (diff)
Added by Fabrice Barconnière over 1 year ago

Don't use deprecated function

ref #30119

Revision cb56665d (diff)
Added by Fabrice Barconnière over 1 year ago

Don't use deprecated function

ref #30119

Revision bee17277 (diff)
Added by Fabrice Barconnière over 1 year ago

Don't use deprecated function

ref #30119

Revision dcdf3996 (diff)
Added by Fabrice Barconnière over 1 year ago

Don't use deprecated function

ref #30119

Revision 0b4f94ad (diff)
Added by Fabrice Barconnière over 1 year ago

Don't use deprecated function

ref #30119

Revision c241116e (diff)
Added by Fabrice Barconnière over 1 year ago

Add depends to compile python2 on focal

ref #30119

Revision 6578fb85 (diff)
Added by Fabrice Barconnière over 1 year ago

Don't use deprecated function

ref #30119

Revision 9ac11303 (diff)
Added by Joël Cuissinat 12 months ago

python3 shebang (ref #30119)

History

#1 Updated by Fabrice Barconnière over 1 year ago

  • Description updated (diff)

#2 Updated by Fabrice Barconnière over 1 year ago

  • Description updated (diff)

#3 Updated by Fabrice Barconnière over 1 year ago

  • Status changed from Nouveau to En cours

#4 Updated by Fabrice Barconnière over 1 year ago

  • Assigned To set to Fabrice Barconnière

#5 Updated by Fabrice Barconnière over 1 year ago

J'ai un souci pour faire le paquet seshat-backend en 2.8.0 unstable. Il y a déjà eu un problème de commit qui avait été fait (en 2015) sur la branche de packaging suivi d'un conflit de merge que je pense avoir résolu. Ensuite, le build sort en erreur :

python setup.py install --no-compile --install-layout=deb --root /<<PKGBUILDDIR>>/debian/eole-seshat-backend
make[1]: python: Command not found

#6 Updated by Fabrice Barconnière over 1 year ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

#7 Updated by Joël Cuissinat over 1 year ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Mon "grep" ne trouve plus d'occurences dans les branches "master", on compte sur les tests pour dénicher les éventuels dysfonctionnements ;)

Also available in: Atom PDF