Git Product home page Git Product logo

yuravk / preupgrade-assistant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from upgrades-migrations/preupgrade-assistant

0.0 0.0 0.0 12.15 MB

The Preupgrade Assistant performs an assessment of the system from the "upgradeability" point of view. Disclaimer: It was fun. R.I.P. :-)

License: GNU General Public License v3.0

Shell 3.34% JavaScript 1.31% Python 65.37% XSLT 23.83% CSS 1.23% HTML 4.92%

preupgrade-assistant's Introduction

The Preupgrade Assistant

Code Health Jenkins CI build status

The Preupgrade Assistant is a framework designed to run the Preupgrade Assistant modules, which analyze the system for possible in-place upgrade limitations. It is based on a modular system, with each module performing a separate test, checking for package removals, incompatible obsolete packages, changes in libraries, users, groups, services, or incompatibilities of command-line options or configuration files. It is able to execute post-upgrade scripts to finalize complex tasks after the system upgrade. Apart from performing the in-place upgrades, the Preupgrade Assistant is also capable of migrating the system. It then produces a report, which assists you in performing the upgrade itself by outlining potential problem areas and by offering suggestions about mitigating any possible incompatibilities. The Preupgrade Assistant utility is a Red Hat Upgrade Tool prerequisite for completing a successful in-place upgrade to the next major version of Red Hat Enterprise Linux.

Building a Preupgrade Assistant package

  • Create the primary packaging source by entering: python setup.py sdist --formats=gztar. Note: The other packaging sources are in the packaging/sources/ folder.
  • Build an RPM package by using a specfile in the packaging/ folder:
    rpmbuild -bs packaging/preupgrade-assistant.spec \
      --define "_sourcedir `pwd`/packaging/sources"
    

Executing the Preupgrade Assistant

  • Install the preupgrade-assistant package.
  • The Preupgrade Assistant requires modules. Either create your own modules by following the tutorial described below, or find modules for Red Hat Enterprise Linux in the Preupgrade Assistant Modules repository.
  • Run the preupg command with root privileges.

Running unit tests

  • Enter the python setup.py test command.

Learning how to write modules

To learn how to write modules for the Preupgrade Assistant, see the tutorial located in the doc/module_writing_tutorial file.

Contributing

See our guidelines on how to contribute to this project.

Contact us on the freenode.net IRC channel #preupgrade, or write a question as an issue on GitHub.

preupgrade-assistant's People

Contributors

phracek avatar bocekm avatar pirat89 avatar majodurco avatar jhornice avatar aloismahdal avatar bertinatto avatar jridky avatar shaded-enmity avatar mportman12 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.