post-graduate student of mipt chernov evgeny institute for system programming of ras 2010

13
Post-graduate student of MIPT Chernov Evgeny Institute for System Programming of RAS 2010

Upload: jocelin-sheena-dorsey

Post on 30-Dec-2015

224 views

Category:

Documents


1 download

TRANSCRIPT

Post-graduate student of MIPT Chernov Evgeny

Institute for System Programming of RAS2010

Introduction: Software Distribution

1. Code Sources

2. Repositories of Operation Systems

Source Binary file

Developer

internet

compiling

OS Linux

Source Binary file

Developer Linux Developers

Meta

repository

Disk

Binary file

OS Linuxpackage

installingCompiling

2

Introduction: Software Distribution (2)

3. Independent Software Vendor (ISV)

Developer

Binary filecompiling

package

package

package

Meta

Meta

Meta

Binaty file

Binary file

Binary file

installing

installing

installing

internet

OS LINUX

package

package

package

3

• Meta-data contains dependency information.• Meta-data depends on particular Linux distribution.• Binary file can depend on distribution (is solved by LSB standard)

Example of Different Dependency Names

OpenSUSE 11.2 Fedora 12 Debian 5 Mandriva 2010

kdebase4-runtime

kdebase-runtime kdebase-runtime kdebase4-runtime

kdebase-runtime-libs

kdebase-bin-kde3 libkaudiodevicelist4

kdebase-runtime-data

libqt4-x11 qt-x11 libqtgui4 qtguilib

perl perl(Test::More) perl-modules perl

xorg-x11-libXext libXext libxext6 libxext

4

Proposal Resolve

Mathematical model

DatabaseAPI

Web-service

Some

tools

5

Mathematical ModelDescription of sets of Linux systems, packages, files and dependency elements.

Relations between these setsFormal description of the task.Formal algorithm of its resolving

6

Solution of the TaskThe solution is based on the

following statements:The software that depends on some package in the system, depends on the files which are provided by the package.

The names of the files of some program are the same on every Linux systems.

7

Web-serviceContains 3 public functions:

Determination of names of corresponding dependencies on other distributions

Check the status of particular dependency on some Linux OS

Determination of name of Linux system where the package was built (by set of its dependences)

8

Usage of The SystemManual package building (GUI over

the web-service)Automatic package building systems

(like openSUSE Build Service)Cross-distro Installer toolSpecial plugin for ‘alien’ tool

9

Cross-Distro Installer

10

List of Dependencies

Database

package

API

Web-service

clearpackage

New list of Dependencies

install resolve

Cross-distro Installer

Plugin for ‘Alien’ Tool

11

Alien

PluginData-base

API

Web-service

Internal structure

Future WorkUpload new Linux systems in the

database Upload repositories of Linux system.Acceleration of the searching of

corresponding dependencies.Integration the system in the

openSUSE Build Service system.

12

Thank you for your attention

13