Commit Graph

19 Commits (84ec4307291e9c5c4636b58155ed9e634376a8f6)

Author SHA1 Message Date
Teo Mrnjavac 84ec430729 Add some Python API docs.
Teo Mrnjavac 01efeda801 Utils, not util.
Teo Mrnjavac c964093d7c Make libcalamares a proper package and utils a proper submodule.
Teo Mrnjavac 45ac91c784 Add check_chroot_call to libcalamares Python interface.
Aurélien Gâteau 90670f8b46 Improve formatting of error messages
Teo Mrnjavac 63534f7154 Add mount and chrootCall utilities to libcalamares + Python wrappers.
Teo Mrnjavac fb328494b3 Make the libcalamares Python API better for PEP8
Teo Mrnjavac 845ae05f7e Added debug( str ) to the Python API.
Teo Mrnjavac 87ee2b8b8c Improve error reporting for Python jobs.
Teo Mrnjavac beafcd9cc4 Consistency: calamares_main ==> run; global_storage => globalStorage
Teo Mrnjavac 2a231b3532 Try to avoid passing GlobalStorage to Python by value.
Teo Mrnjavac da83ecfb13 libcalamares.job is of type libcalamares.Job
Teo Mrnjavac 78de11a412 Emit job progress from Python jobs.
Teo Mrnjavac 2636a1273f Add job.setprogress to Python API.
Teo Mrnjavac 0753e6ccde New GlobalStorage map. With Python API support.
Teo Mrnjavac d9f4c74537 Add support for config map to Python job API.
Rename PythonJobHelper ==> CalamaresPython::Helper.
Add QVariant to boost::python::object conversion functions.
Rename some constants in the libcalamares Python API.
Teo Mrnjavac 2f03dfa43b CalamaresPrivate ==> CalamaresPython
Teo Mrnjavac a61a36d99d We have a Python API for jobmodules!
Created a Boost.Python module interface in libcalamares.
Added a PythonJob wrapper and exposed it in the Python module.
Rename target calamareslib ==> calamares so in Python it's libcalamares.
Python-related classes in libcalamares that aren't exported as C++
symbols are now in a CalamaresPrivate namespace.
Import the libcalamares python module into every Python script before
running it.
Added Python error handling to PythonJobHelper.
Added some more testing code to dummypython module.
Teo Mrnjavac b924aeef2b Add optional Python jobs support to libcalamares.