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