- Jun 11, 2013
-
-
Aurélien Dunand authored
Since we use a global variable in installsystems.printer to store the arrow level, we have to keep this module in scripts global context.
-
- May 23, 2013
-
-
Aurélien Dunand authored
Compressors are specified in description file. For example: [compressor] gzip = * none = *.gz, *.bz2 bzip2 = rootfs* This description file set gzip as default compressor, do not compress payload which end with .gz and .bz2 and use bzip2 as compressor for payload matching 'rootfs*' Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
Aurélien Dunand authored
configobj keeps the order of options in config file, we don't need to use OrderedDict. Seblu: Sad :'( Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
Aurélien Dunand authored
Image version now accept a string of digit separated by dots and extra char as a qualifier (~ or +). Example: 1.2.3.4~dev < 1.2.3.4 < 1.2.3.4+dev Old repositories are still compatible thanks to sqlite type affinity (https://www.sqlite.org/faq.html#q3 ). We use a package version comparison algorithm for image version comparison inspired by Debian. Seblu: Fix typos Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
Aurélien Dunand authored
Rewrap this exception to ISError to avoid threat them as unexpected error. Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
- Apr 11, 2013
-
-
Aurélien Dunand authored
For example, if you have the following scripts in an image: lib/ |- 01-foo.py (module 'foo') |- 02-bar.py (module 'bar') module 'bar' (and subsequent) could import and use content from module 'foo'. Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
Aurélien Dunand authored
Thanks to Nicolas for reviewing the manpage Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
Aurélien Dunand authored
OrderedDict code come from http://code.activestate.com/recipes/576693/ Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
Sébastien Luttringer authored
-
Sébastien Luttringer authored
-
Aurélien Dunand authored
The setup and payload directories and description file are the strict minimum to build an image. Payload directory is needed because build scripts can edit or create payloads. Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
Sébastien Luttringer authored
-
Aurélien Dunand authored
If not, global_dict.update(self.modules) raise an exception (TypeError: NoneType) if lib dir is missing. Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
Sébastien Luttringer authored
-
Sébastien Luttringer authored
c_install function are moved to image
-
Aurélien Dunand authored
Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
Sébastien Luttringer authored
This patch review how scripts are executed and modules loaded. sys.module is preserved from modification by scripts and avoid conflict with module loaded by scripts
-
Aurélien Dunand authored
Only support pure python module in lib/, package (like foo.bar) don't work. Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
Aurélien Dunand authored
ISException is an Installsystems exception which can handle an exception and his information (type, value, traceback). Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
- Nov 27, 2012
-
-
Sébastien Luttringer authored
With the permission of Romain Degez, CTO of Smartjog and Sébastien Luttringer. Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
- May 23, 2012
-
-
Sébastien Luttringer authored
-
- May 21, 2012
-
-
Sébastien Luttringer authored
-
- May 16, 2012
-
-
Sébastien Luttringer authored
-
Sébastien Luttringer authored
-
Sébastien Luttringer authored
-
- May 15, 2012
-
-
Sébastien Luttringer authored
-
Sébastien Luttringer authored
We use current locale to convert argv to unicode and handle it as uncode after.
-
- May 11, 2012
-
-
Sébastien Luttringer authored
If we have to format (aka interpolatation) we need to be sure this have to be done in unicode and not in ascii. This avoid unicode error with ascii string encoded in utf-8. Example of failure between a string and an object b = Exception(u"é") Exception("error: %s" % b) => Exception("error: %s" % str(b) => UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 0: ordinal not in range(128)
-
Sébastien Luttringer authored
-
Aurélien Dunand authored
Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
- May 02, 2012
-
-
Aurélien Dunand authored
Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
Aurélien Dunand authored
Signed-off-by: Sébastien Luttringer <sebastien.luttringer@smartjog.com>
-
- Apr 20, 2012
-
-
Aurélien Dunand authored
-
Aurélien Dunand authored
-
- Mar 26, 2012
-
-
Aurélien Dunand authored
-
- Mar 01, 2012
-
-
Sebastien Luttringer authored
-
Sebastien Luttringer authored
In case of bad download, error given by is feeder is better than output of compressor which claims data are missing
-
- Feb 27, 2012
-
-
Sebastien Luttringer authored
We now use system tar and gzip to compress/decompress payloads Goals are: - Speed-up extraction and creation of payloads. - Allow to use non-python supported compressor like (pbzip2 and xz) - Remove python2.7.1 tarfile.py module - Remove python 2.7.1 gzip.py to avoid filename to be in gzip headers - Remove gzipstream.py module used to stream gzip file
-
- Feb 20, 2012
-
-
Sebastien Luttringer authored
-
Sebastien Luttringer authored
-