KernelDiff ChangeLog ==================== 2009.12.28 Krzysztof Kozłowski (http://www.kozik.net.pl) Version 1.1.4 User visible/important changes: * class_kernel_diff.py: * Detect keys which are missing in destination config file and print them. * Fix bug introduced in 1.1.3 (importing only selected exceptions from class_error.py) - missing Error import. * setup.py: Gentoo ebuild - require Python 2.6 because it is the only one used in testing. Code changes: * test_kernel_diff.py: Update test case for detecting missing items in destination file. 2009.12.09 Krzysztof Kozłowski (http://www.kozik.net.pl) Version 1.1.3, code cleaning release User visible/important changes: * none Code changes: * Import only specified exceptions from class_error.py, not all. * In test cases import only specified kerneldiff classes, not everything. * class_kernel_diff.py: Small typo in error strings. * config.py, setup.py: Store download_url in config.py, not in setup.py. 2009.08.31 Krzysztof Kozłowski (http://www.kozik.net.pl) Version 1.1.2, bug fix release User visible/important changes: * setup.py: Do not install "test" package and test.py. Code changes: * Strip "KernelDiff" prefix from all class names. * Import only chosen classes from kerneldiff modules, not everything. * kdiff.py: Minor changes in opt-parsing code. * test.py: Moved to "test" package directory. * setup.py: Import constants from config.py in one line. * MANIFEST.in: Include "test" and "test/test_data" directories (they are not part of package anymore). 2009.08.11 Krzysztof Kozłowski (http://www.kozik.net.pl) Version 1.1.1, bug fix release User visible/important changes: * Add sorting config items, toggled by program argument (-n). Add test cases for this. * class_kernel_diff.py: Fix bug with Python 2.6 and new method print_line() - format whole output string, not just the last part of it. Code changes: * Some code cleanup. * Add and update documentation. * setup.py: Run setup() only when executing module directly. * class_kernel_diff.py: While printing diff first output all debug msgs and then do stuff with printing. * test_kernel_diff.py: * Test sorted/unsorted output of config diff. * Fix asserting config items with strings (new print_line() method with in Python 2.6). Adjusted test data to respect this. 2009.08.05 Krzysztof Kozłowski (http://www.kozik.net.pl) Version 1.1.0 User visible/important changes: * Test cases. * Get and display kernel version from config file. * Changelog. Code changes: * Testing with unittest: * Test cases. * test.py to run all tests. * Sample data for test cases. * Run tests in Gentoo ebuild (src_tests()). * Remove unneeded importing of errno in some modules. * KernelDiff: * Make methods build_diff and print_diff public (useful for testing). * Printing output diff in columns in a new way for Python>=2.6 (not tested). * Change error messages in raised exceptions when our pattern did not match any config line. * KernelDiffDescriptions: * Return Kconfig file name (with matched description) instead of printing it. * Add 2 methods for testing purposes count_found_files() and count_cached_configs(). * Enclose reading and closing files in try/finally clause (be sure to close file on error). * Documentation. * Raise an exception when KernelDiffDescription did not read anything. * Move private variables declaration in class body to __init__() method. * Use re.escape() when needed (data supplied by user or taken from files). * Update setup.py to include package "test". 2009.08.03 Krzysztof Kozłowski (http://www.kozik.net.pl) Version 1.0.0