Project

General

Profile

Tâche #25053

Scénario #24550: Hâpy : l'auto-création du modèle de machine virtuelle EOLE n'est pas fonctionnelle si on ne donne pas la version exacte de l'ISO

Implémenter une bibliothèque de gestion des images ISO pyeole.iso

Added by Daniel Dehennin almost 2 years ago. Updated almost 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/19/2018
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.0

Description

Cette bibliothèque doit reprendre ce qui est fait dans Upgrade-Auto afin de le rendre utilisable ailleurs.

Associated revisions

Revision ebce2bdf (diff)
Added by Daniel Dehennin almost 2 years ago

Abstract manipulation of EOLE ISO image in a dedicated library

This library is compatible with python2 and python3 by pyeole.log is not.

  • pyeole/iso.py: new library to manipulate EOLE ISO images and point
    releases.

Ref: #25053

Revision 76c7e03d (diff)
Added by Daniel Dehennin almost 2 years ago

Manipulate EOLE ISO images from the shell

  • bin/eole-iso: new shell utility

Ref: #25053

Revision 94ee3c73 (diff)
Added by Daniel Dehennin almost 2 years ago

ISO: os.makedirs behave differently in python3

  • pyeole/iso.py (IsoEOLE._create_target_directory): fix mode argument

Ref: #25053

Revision 067ee272 (diff)
Added by Daniel Dehennin almost 2 years ago

ISO: correctly detect existence of SHA256 checksum signature file

  • pyeole/iso.py (IsoEOLE.copy_checksum): fix double negation.

Ref: #25053

Revision e8100a24 (diff)
Added by Daniel Dehennin almost 2 years ago

ISO: make pylint and pylint3 more happy

  • pyeole/iso.py (IsoEOLE._copy): fix indentation
    (IsoEOLE._download): ditoo.

Ref: #25053

Revision 3bd7584e (diff)
Added by Daniel Dehennin almost 2 years ago

ISO: expose name and URL to shell users

  • bin/eole-iso (parse_args): new action “get-iso-name” and
    “get-iso-url”.
    (get_iso_name): display the ISO name.
    (get_iso_url): display the ISO URL

Ref: #25053

History

#1 Updated by Scrum Master almost 2 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Scrum Master almost 2 years ago

  • Assigned To set to Daniel Dehennin

#3 Updated by Daniel Dehennin almost 2 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 3.0 to 0.25

#4 Updated by Scrum Master almost 2 years ago

  • Status changed from En cours to Résolu

#5 Updated by Gérald Schwartzmann almost 2 years ago

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

Also available in: Atom PDF