Commit Graph

11466 Commits

Author SHA1 Message Date
Aurélien Gâteau
f371ffa696 Iterate on values, not on keys 2014-07-30 15:13:34 +02:00
Aurélien Gâteau
7a0fb52c83 Damn, forgot named tuples cannot be updated. Use a class instead 2014-07-30 15:10:23 +02:00
Aurélien Gâteau
9c27add968 Use os.path.join 2014-07-30 15:06:59 +02:00
Aurélien Gâteau
22299dc585 No need for UnpackEntry.source_dir 2014-07-30 15:06:39 +02:00
Aurélien Gâteau
638a5c021c More precise error handling 2014-07-30 15:05:44 +02:00
Aurélien Gâteau
adda405f83 Do not use os.path.join with entry["destination"]
if it starts with a "/" then `destination` will be equal to entry["destination"]
2014-07-30 15:05:19 +02:00
Aurélien Gâteau
ecb16dcdca Fix line counting 2014-07-30 15:03:55 +02:00
Aurélien Gâteau
47762d3812 No more need for sourceMountPath 2014-07-30 15:02:55 +02:00
Aurélien Gâteau
75a5bdac60 Fix fuzzy edges around keys (and a warning) 2014-07-30 14:17:14 +02:00
Aurélien Gâteau
03c5a38b90 Show a summary of the partition changes on the summary page 2014-07-30 14:17:14 +02:00
Teo Mrnjavac
e7e57689d8 Make sure chrootCall with args list actually passes the args as list. 2014-07-30 12:43:15 +02:00
Teo Mrnjavac
122a6036d5 globalStorage ==> globalstorage fix 2014-07-30 12:41:34 +02:00
Teo Mrnjavac
2232c49471 Make dummypython work with current API. 2014-07-30 12:40:09 +02:00
Teo Mrnjavac
0d3a3a0b78 Fix dummypython for recent API change. 2014-07-29 20:21:40 +02:00
Teo Mrnjavac
63534f7154 Add mount and chrootCall utilities to libcalamares + Python wrappers. 2014-07-29 20:21:40 +02:00
Aurélien Gâteau
e3a333e6e6 Prettier PartitionPreview 2014-07-29 16:01:45 +02:00
Aurélien Gâteau
fe9e52ee0e PartitionModel: Add IsFreeSpaceRole 2014-07-29 16:01:45 +02:00
Aurélien Gâteau
0ea6f1698b First version of PartitionPreview 2014-07-29 16:01:45 +02:00
Aurélien Gâteau
93cb9fd426 New role for PartitionModel: SizeRole 2014-07-29 16:01:45 +02:00
Aurélien Gâteau
5fc07aad7c Expose colors for Qt::DecorationRole 2014-07-29 16:01:45 +02:00
Aurélien Gâteau
5c1336f2d5 Turn PartitionModel into a tree model
Fixes #12
2014-07-29 16:01:45 +02:00
Aurélien Gâteau
e3a52745fc Fix assert failure when recreating partition table 2014-07-29 16:01:45 +02:00
Teo Mrnjavac
4b1975d3e2 PEPify unsquashfs 2014-07-29 15:10:18 +02:00
Teo Mrnjavac
2b097e7f3c PEPify umount 2014-07-29 14:53:07 +02:00
Teo Mrnjavac
2ba96d3b6b PEPify mount 2014-07-29 14:45:58 +02:00
Teo Mrnjavac
585dd20a34 Update README.md 2014-07-29 14:40:56 +02:00
Teo Mrnjavac
1c984c7bf9 PEPify grub 2014-07-29 14:34:30 +02:00
Teo Mrnjavac
98b62808de PEPify fstab 2014-07-29 14:26:19 +02:00
Teo Mrnjavac
906560ffee PEPify dummypython 2014-07-29 14:06:58 +02:00
Teo Mrnjavac
637242776c PEPify testmodule.py 2014-07-29 13:52:55 +02:00
Teo Mrnjavac
b988c3ad72 PEPify API fakes in testmodule.py 2014-07-29 13:17:15 +02:00
Teo Mrnjavac
fb328494b3 Make the libcalamares Python API better for PEP8 2014-07-29 13:16:46 +02:00
Teo Mrnjavac
5369038ed6 Add debug test to dummypython 2014-07-28 18:56:00 +02:00
Teo Mrnjavac
845ae05f7e Added debug( str ) to the Python API. 2014-07-28 18:56:00 +02:00
Aurélien Gâteau
d30b6300ab Unbreak locating of config file when run without --config 2014-07-28 18:36:24 +02:00
Aurélien Gâteau
289704ab90 Make it possible to override the config dir from the command line 2014-07-28 18:12:08 +02:00
Teo Mrnjavac
cb53cc41cb Remove __init__.py from unsquashfs 2014-07-28 18:04:34 +02:00
Teo Mrnjavac
422e78236b Make fileCopy in unsquashfs a single function 2014-07-28 17:57:53 +02:00
Teo Mrnjavac
b48a66a2e5 Improve readability. 2014-07-28 17:51:35 +02:00
Teo Mrnjavac
e937782a4e Fix some lousy error handling 2014-07-28 17:46:56 +02:00
Teo Mrnjavac
4fc2efb7fa Correctly report exit status from Python modules. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
87ee2b8b8c Improve error reporting for Python jobs. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
25d37b57dd Use named tuples in unsquashfs. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
1b4e56e97e Better call to rsync in unsquashfs. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
c42d021b61 Unthreadify FileCopy in unsquashfs. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
f44b8eb758 Count the files in the squashfs image without piping to wc -l. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
cb2dcf7860 Use temp dir for mounting squashfs image. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
60dda7db49 Begin unsquashfs module, port copy operation from Thus. 2014-07-28 17:40:57 +02:00
Aurélien Gâteau
64f8748c49 Spaces fixes 2014-07-28 15:00:30 +02:00
Aurélien Gâteau
0b01c76687 Coding style 2014-07-28 15:00:17 +02:00