Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Releases: upgrades-migrations/preupgrade-assistant

Release 2.4.0

03 May 14:03
Compare
Choose a tag to compare

Changed

  • Removed result-user/admin.xml/html report creation
    Resolves rhbz#1414322
  • Removed /usr/bin/premigrate executable

Fixed

  • Fixed parse errors when generating Preupgrade Assistant modules using preupg-xccdf-compose

New

  • Now possible to override default data directory (/usr/share/preupgrade/data). It's mainly a feature for developers.

Note: Preupgrade Assistant will not be released for Red Hat Enterprise Linux 5 anymore as the codebase is no longer compatible with Python 2.4.

Release 2.3.3

07 Mar 22:01
Compare
Choose a tag to compare

Fixed

  • preupg-xccdf-compose now generates valid XML for OpenSCAP - html namespace was missing

Release 2.3.2

03 Mar 16:39
Compare
Choose a tag to compare

Fixed

  • fixed devel option for overriding list of OS-native packages
    Resolves rhbz#1384270

New

  • added preupg-diff tool
    Resolves rhbz#1418697

Release 2.3.1

22 Feb 00:01
Compare
Choose a tag to compare

New:

  • add check for required data for crossarch migration
    • Related: rhbz#1414388
  • add missing GPLv2 license (pykickstart) to spec (applies
    to RHEL 5 only)
  • add two new return codes: 29 for internal error and
    30 for user abort

Changed:

  • improve handling of errors/exceptions
  • do not expose root password in generated kickstart
  • update man and help page
    • Resolves: rhbz#1414369, 1414422, 1414407, 1414392, 1414339
  • after migration backup the clean system configs with
    .preupg_save suffix instead of .rpmsave
  • return code 22 changed to invalid CLI option
  • drop check of empty postmigrate.d dir during generating kickstart
  • do not scare users by warning that they should backup the system
    before the assessment
    • Related: rhbz#1414329

Fixed:

  • in kickstart use 'autopart' instead of custom partioning
    • Related: rhbz#1414408, 1414341, 1414344
  • clean all temp files from /tmp/
    • Resolves: rhbz#1417979
  • no syntax errors when building a package with Python 2.4
  • fix executing chkconfig and df during pre-assessment on RHEL 5
  • fix unit tests so they don't depend on each other
  • fix running postmigrate scripts
  • keep selinux contexts of the migrated files
  • handle errors when result XML contains BEL character

Release 2.3.0

19 Jan 14:16
Compare
Choose a tag to compare

New:

  • Added tutorial for creating Preupgrade Assistant modules
  • Added guide on how to keep Bash and Python APIs for Preupgrade Assistant modules consistent as much as possible
  • Added spec file (+sources&patches) allowing creating an RPM package on RHEL5/RHEL6/Fedora

Changed:

  • log_* Bash API functions accept one parameter instead of multiple ($@ -> $1) to be consistent with Python API
  • Unit tests are run in Jenkins on RHEL 6 instead of in Travis on Ubuntu
  • Removed [component] part from log messages that appear in result.xml/html in stdout of modules. This removal comes with change to API - function set_component was removed

Fixed:

  • Fixed incorrect import in preupg-create-group-xml
  • man page to reflect current return codes of Preupgrade Assistant
  • Fixed conf_get_section Bash API function (was using -E sed option not supported on RHEL 5)
  • Added package DSA signature to the generated list of installed packages
  • Fixed traceback when generating kickstart
  • Fixed typo causing some packages not to be added to kickstart

Release 2.2.0

30 Nov 13:54
Compare
Choose a tag to compare

New:

  • added postmigrate.d folder - user defined scripts placed to this folder are executed after the migration
  • two types of HTML report are supported - simple (aka old) and complex - both compatible with openscap version 1.2.12

Changed:

  • cleaned up internal hierarchy/directory structure, most notably python module renamed from preup to preupg
  • removed "unknown" shell API exit value
  • preupg-content-creator - added default script type (shell) when creating new module

Fixed:

  • hooks to be used by modules are parsed correctly now
  • rhbz #1381359

Release 2.1.10

21 Sep 08:25
Compare
Choose a tag to compare

This version contains fixes/enhancements like:

  • documentation stuff
  • new api called deploy_hook, including full path support
  • generation python module based on user input
  • regression with reading preupgrade-assistant.conf file
  • Fix several common.sh shell issues
  • Fix MODULE_PATH in case empty
  • Fix dst-arch option
  • Using which in calling check_rpm_to

Release 2.1.9

29 Aug 15:20
Compare
Choose a tag to compare

This release solves:

  • several kickstart issues
  • improved logging system from modules point of view.
  • improved return codes
  • UTF-8 fixes
  • new logging functions like logger_report used only for reports
  • several tests for API, kickstart, risks, etc.

Release 2.1.8

26 Jul 11:16
Compare
Choose a tag to compare

It contains fixes for:

  • Most documentation were updated like (README.md, README.ui, setting.py, README.kickstart)
  • Introduced tests for kickstart generation
  • updated logging operations.
  • several shellfu-style in BASH, Python
  • several fixes around preupg-content-creator, preupg-kickstart-generator and preupg itself.

Release 2.1.7

13 Jun 12:43
Compare
Choose a tag to compare

This feature contains:

  • several fixes for kickstart issues
  • kickstart plugins are loaded dynamically
  • Using newer openscap version