raise error instead of msger.error
[tools/mic.git] / ChangeLog
1 Release 0.22 - Thu Oct 24 2013 - Gui Chen <gui.chen@intel.com>
2 =====================================================================
3   * use __version__ variable instead of VERSION file
4   * refactor msger module to ulitize logging module
5   * refine error class module
6   * improve installation in virtualenv
7   * add bash completion support
8   * add zsh completion support
9   * export mapper device related to installer framework
10   * update BmapCreate to the latest version
11   * bug fix:
12     - fix customized plugin_dir not work in bootstrap
13     - fix packing process exit on Ubuntu
14     - fix loop device alloaction failed on openSUSE
15     - fix incorrect number showing during installing
16     - set owner of cacheidr/outdir to SUDO_USER
17     - correct project url in setup.py
18     - fix mic not work when mic.conf disappear
19
20 Release 0.21 - Mon Aug 26 2013 - Gui Chen <gui.chen@intel.com>
21 =====================================================================
22   * new distribution support: Fedora 19
23   * refactor chroot module to correct the logic
24   * add an alias for installerfw - installerfw_plugins
25   * remove fuser dependency to avoid some unmount issue
26   * enable proxy setting with authentication
27   * don't get proxy info from /etc/sysconfig/proxy ever
28   * kill processes inside chroot after post script running
29   * reload device mapper using 'dmsetup' utility
30   * bug fix:
31     - fix bootloader options omitted
32     - warn failed boot partition flags set
33     - fix wrong file descriptor issue
34     - fix some requires
35
36 Release 0.20 - Mon Jul 01 2013 - Gui Chen <gui.chen@intel.com>
37 =====================================================================
38   * new distribution support: CentOS 6
39   * drop image creation if checked packages not present in image
40   * introduce 'installerfw' command in kickstart to customize configuration
41   * improve output message of post scripts
42   * bug fix:
43     - fix rpm not support 'VCS' tag traceback
44
45 Release 0.19 - Thu May 16 2013 - Gui Chen <gui.chen@intel.com>
46 =====================================================================
47  * new distribution support: Ubuntu 13.04 and openSUSE 12.3
48  * introduce '--part-type' to handle GPT partition
49  * copy bmap creation from bmap-tools
50  * update some depends and fix depends issue
51  * bug fix:
52    - fix bug autologinuser always set
53    - fix symlink bind mount left issue
54    - fix '/var/lock' non-existent throw traceback
55
56 Release 0.18 - Mon Apr 03 2013 - Gui Chen <gui.chen@intel.com>
57 =====================================================================
58  * put build_id before image name for release option
59  * mount build directory as tmpfs to speed up
60  * enable --priority in ks to set priority
61  * upgrade qemu (mic's depends) to 1.4.0
62  * bug fix:
63    - fix debuginfo rpm swig attribute lost
64    - fix release option failure with slash
65    - fix man page lost in some distros
66    - fix bmap file packed to tarball
67  * code cleanup:
68    - unify import statements to absolute import
69    - clean up many undefined in partitionfs.py/loop.py/livecd.py
70    - clean up some useless try and raise blocks
71    - clean up some bad indentations
72    - improve some error messages
73
74 Release 0.17 - Tue Feb 28 2013 - Gui Chen <gui.chen@intel.com>
75 =====================================================================
76  * support new distribution Fedora 18
77  * enable to handle more than 3 partitions
78  * support partitions without mount point
79  * move vcs infomation from .vcs to .packages
80  * clean up some mess in utils/misc.py
81  * bug fix:
82    - fix failure when symbolic link vmlinuz in single disk
83    - fix incorrect alignment handling
84    - fix requires squashfs in opensuse
85    - fix unicode error in myurlgrab
86  * code cleanup:
87    - clean up some mess in utils/misc.py
88    - clean up pylint issue in creator.py
89
90 Release 0.16.3 - Wed Feb 06 2013 - Gui Chen <gui.chen@intel.com>
91 =====================================================================
92  * fix no key 'HOME' in environ variable failure
93  * remove suffix when release specified
94  * roll back to original naming for release
95
96 Release 0.16 - Wed Jan 30 2013 - Gui Chen <gui.chen@intel.com>
97 =====================================================================
98  * add GPT support for UEFI format
99    - add --ptable=gpt option in kickstart to enable GPT
100    - add simple GPT parser to parse PARTUUID
101    - use PARTUUID in syslinux.cfg if gpt required
102    - clean up the mess code and improve readability
103  * improve alignment to reduce unused space
104    - add interface add_disks for PartitionedMount
105    - clean up the mess code in partitionfs.py
106  * append timestamp suffix to image name by default
107  * add a new option --nocache in kickstart to disable caching rpm
108  * add a new value 'vcs' for --record-pkgs to save VCS info
109  * add a new option --fstab-entry for raw image to set fstab entry
110  * introduce a new option '--install-pkgs' in mic
111    - valid values imagined: source, debuginfo, debugsource
112    - enable 'debuginfo' to install '-debuginfo' rpm in the meantime
113  * improve loop device generating and cleaning mechanism
114  * code cleanup:
115    - update documentation
116    - rename MANIFEST to MD5SUM
117    - clean up moblin stuff in kickstart
118    - clean mic tests and keep only unittest
119    - sepreate the download related as independent module
120  * bug fix:
121    - cleanup zypp credential file to fix conflicts during installing
122    - fix the issue that outdir/cachedir is not dir
123    - recalculate package content recording
124    - refactor try except statement in baseimager
125    - fix existing loop images overwritten
126
127 Release 0.15.3 - Wed Jan 23 2013 - Gui Chen <gui.chen@intel.com>
128 =====================================================================
129  * urgent bug fix:
130    - fix loop device not cleaned issue
131    - fix bootstrap dirs not unmounted issue
132    - fix mic failed in kvmic issue
133    - fix binfmt register in bootstrap incorrect
134    - fix rpm path incorrect when local repo and sslverify used
135  * other bug fix:
136    - fix x86_64 image conflicts installing x86_64 and x86 rpm
137    - verify if logfile is a file
138    - fix type error when calling mknod
139    - fix the failure if ks under / dir
140    - clean up the mess 'directory not empty'
141    - fix type error when calling mknod
142
143 Release 0.15 - Tue Dec 13 2012 - Gui Chen <gui.chen@intel.com>
144 =====================================================================
145  * adapt new mechanism for bootstrap mode
146    - create 'mic-bootstrap-x86-arm' by obs build
147    - publish 'mic-bootstrap-x86-arm' into server repo
148    - use 'mic-bootstrap-x86-arm' as bootstrap env for x86 and arm image
149  * filesystem parameter support for ext[234] fs
150    - sample in ks: part / --size 1000 --fstype=ext3 --extoptions="-I 256"
151    - other filesystem will ignore option '--extoptions'
152  * update the documentation and man page
153  * multiple bootstrap path to support multi-instance mic
154  * use 'pkgmgr=auto' to select available backend in conf file
155  * improve loop device creation algorithm and create loop device by 'mknod'
156  * bug fix:
157    - bear unexpected checksum type when getting metadata
158    - avoid traceback when loopback is NoneType
159    - lseek limit to 2G in 32bit env
160    - split out username and password in zypp repo file
161    - use rpm real path instead of 'cp' if it's local repo
162    - fix local repo unavailable in bootstrap
163    - fix traceback when failed to unmap kpartx device
164    - fix timestamp incorrect issue in logfile
165
166 Release 0.14.2 - Wed Nov 14 2012 - Gui Chen <gui.chen@intel.com>
167 =====================================================================
168  * support dracut for live image
169  * update bmap version to 1.1
170
171 Release 0.14.1 - Fri Oct 15 2012 - Gui Chen <gui.chen@intel.com>
172 =====================================================================
173  * support bmap file for ivi flashing tool
174  * just warning in chroot when not Tizen/MeeGo chroot dir
175  * fix logfile lost in bootstrap mode
176  * clean mounts in bootstrap when exiting
177  * bug fix:
178    - fix https proxy issue in yum backend
179    - avoid traceback when loop instance is NoneType
180
181 Release 0.14 - Thu Aug 02 2012 - Gui Chen <gui.chen@intel.com>
182 =====================================================================
183  * use cached metadata when checksum is not changed
184  * skip non-fatal error in ks file and prompt user to handle
185  * prompt user to handle when failed to apply img configure
186  * replace hard name with device uuid in etc/fstab
187  * enhance extlinux cfg file for symbolic kernel like IVI
188  * support label assign for raw image
189  * bug fix:
190    - fix live image create failure when label assigned
191    - avoid traceback when converting unsupported type
192    - fix mic --version ugly output
193
194 Release 0.13 - Wed Jul 12 2012 - Gui Chen <gui.chen@intel.com>
195 =====================================================================
196  * create logfile as default when --release specifid
197  * use 'gzip' and 'bzip2' to pack image instead of python
198  * automatically detect path of 'env' for chroot
199  * record version and os info in build log and logfile
200  * bug fix:
201    - fix popup message in ubuntus
202    - fix unicode issue for logfile
203    - better fix for 'chroot raw' issue
204
205 Release 0.12 - Wed Jun 20 2012 - Gui Chen <gui.chen@intel.com>
206 =====================================================================
207  * use default value when @BUILD_ID@ and @ARCH@ not specified
208  * enhance proxy support in attachment retrieve
209  * add new --shrink opt for loop image to control img shrinking
210  * avoid invalid literal for loop device generation
211  * relocate and refactor selinux_check func
212  * remove prefix for make install
213  * bug fix:
214    - fix compres image in raw image
215    - fix src pkgs download failed issue
216    - fix convert failed issue
217
218 Release 0.11 - Fri Jun 08 2012 - Gui Chen <gui.chen@intel.com>
219 =====================================================================
220  * support new subcmd 'auto' to handle magic line in ks
221  * enhance the handle of authentication url and https proxy
222  * support packing images together and support compressed file format
223  * reset LD_PRELOAD for chroot env
224  * centralized interface to check existing images
225  * avoid live image creating when using multi-partitions
226  * resolve the depends of python-urlgrabber
227  * bug fix:
228    - fix logfile context lost issue
229    - fix attachment package url handling
230    - fix mic ch raw failed issue
231
232 Release 0.10 - Tue May 15 2012 - Gui Chen <gui.chen@intel.com>
233 =====================================================================
234  * container support using '%attachment' section in ks
235  * add --compress-to option to support zip format in loop image
236  * auto-detect config and plugindir to meet virtualenv and customized install
237  * remove all hardcoded info in setup.py and use sys.prefix for installing
238  * tolerate some OS errors in the image configurations stage
239  * extra patch:
240    - fix zypp missing password when using username passwd
241    - some fixes to enhance authentication url
242    - refine repostr structure to fix comma issue in baseurl
243
244 Release 0.9 - Fri Apr 13 2012 - Gui Chen <gui.chen@intel.com>
245 =====================================================================
246  * support pre-install package with zypp backend
247  * sync /etc/mic/mic.conf to bootstrap
248  * enhance sorting for version comparsion in zypp
249  * rewrite chroot tar image using xml format mount point file
250  * fix the incorrect number showing in fs src pkgs download
251  * remove tests directory for dist in Makefile
252  * fix liveusb parted mkpart failure, revert mbr size expand in raw
253  * cleanup /tmp/repolic* dir in the EULA checking
254
255 Release 0.8 - Mon Mar 26 2012 - Gui Chen <gui.chen@intel.com>
256 =====================================================================
257  * partition alignment support
258  * remove bootloader option 'quiet vga' for raw
259  * update dist files in git source
260  * update unittest, add cases for chroot, msger, runner
261  * add 40 system test case for help
262  * rewrite loop device allocation mechanism
263
264 Release 0.7 - Fri Mar 02 2012 - Gui Chen <gui.chen@intel.com>
265 =====================================================================
266  * zypp backend: fixed a fatal issue of unreleasable loop devs
267  * zypp backend: more friendly output message
268  * backend: share cached rpm files between yum and zypp
269  * enhancement for multiple partition loop format
270  * make msger to accept Unicode string
271  * fixed a regression of compress option for FS format
272  * fixed issues in openSUSE12.1
273  * new written man page
274
275 Release 0.6 - Thu Feb 16 2012 - Gui Chen <gui.chen@intel.com>
276 =====================================================================
277  * give hint when converted image existed
278  * conf.py: proxy scheme check
279  * space check before copy image
280  * zypp: abort with error msg for repo resolver issues
281  * runner.py refinement
282  * ks file syntax check for '%post' without '%end'
283  * support more compression formats than only bzip2
284  * fix msg NoneType issue, causing exit after install
285  * bootstrap:
286    - catch creator error when retrieving bootstrap metadata
287    - correct matching .metadata file in bootstrap
288
289 Release 0.5 - Mon Feb 06 2012 - Gui Chen <gui.chen@intel.com>
290 =====================================================================
291  * Rewrite the algorithm of checking free space for download and install
292  * Add --shell option for convert to recreate image modified by internal shell
293  * Add -s option for chroot to unpack image
294  * Introduce --copy-kernel option for creator
295  * Remove the hardcoded default args for bootloader
296  * Disable logstderr and flush message buffer in disable_logstderr
297  * Deal with yum.conf inside yum backend by itself
298  * Bug fix:
299    - Fix rpmdb error in yum and zypp to avoid bad file descriptor message
300    - Fix MANIFEST syntax to be compliant with md5sum
301    - Correct dependencies for mic in bootstrap
302
303 Release 0.4 - Fri Jan 06 2012 - Gui Chen <gui.chen@intel.com>
304 =====================================================================
305  * Support bootstrap mode, run with '--runtime=bootstrap'
306  * Full support for taring-to output, use 'mic ch x.tar'
307  * Break dependency between backend and baseimage
308  * Check valid repos in ks file
309  * Space check update and catch no space exception
310  * Fix no prompt when cv and ch no existed image
311  * Fix NoneType 'createopts' when convert
312  * Fix no existed local_pkgs_path
313
314 Release 0.3 - Mon Dec 26 2011 - Gui Chen <gui.chen@intel.com>
315 =====================================================================
316  * Unit test support, run 'make test'
317  * Enable proxy support in config file
318  * Refine configmgr and pluginmgr
319  * Support multi instance with different cache dir
320  * Add 47 system test case
321  * Improve md5sum generation
322  * Add repo option --ssl_verify
323  * Add option --name_prefix
324  * Reformatted code according to PEP08
325  * Backport from mic2:
326    - Add priority and cost option for repos
327    - Reinstroduced compress-disk-image option
328
329 Release 0.2 - Tue Nov 29 2011 - Gui Chen <gui.chen@intel.com>
330 =====================================================================
331  * Support btrfs and ext4 fstype for creator, convertor, and chroot
332  * Append distfiles and Makefile
333  * Check arch type from repo data
334  * Set rpm dbpath to fix 'rpm -qa' issue
335  * Fix chroot issue caused by image size
336  * Improve setup.py and make it compatible with python 2.5
337  * Disable ca check for https
338  * Change default output dir name to ./mic-output
339  * untrack mic/__version__.py
340  * Fix some minor issues
341
342 Release 0.1 - Thu Oct 27 2011 - Gui Chen <gui.chen@intel.com>
343 =====================================================================
344  * Support three subcommand: create, convert, chroot
345  * Support five image types: fs, loop, raw, livecd, liveusb
346  * Support two package manager backend: yum and zypp
347  * Support the following global command line options:
348    - --verbose
349    - --debug
350  * Creator subcommand support the following command line options:
351    - --logfile=LOGFILE
352    - -c CONFIG, --config=CONFIG
353    - -k CACHEDIR, --cachedir=CACHEDIR
354    - -o OUTDIR, --outdir=OUTDIR
355    - -A ARCH, --arch=ARCH
356    - --release=RID
357    - --record-pkgs=RECORD_PKGS
358    - --pkgmgr=PKGMGR
359    - --local-pkgs-path=LOCAL_PKGS_PATH
360