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