26
Bringing GNU Health into openSUSE Dr. Axel Braun

Bringing GNU Health into openSUSE

  • Upload
    buikhue

  • View
    220

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Bringing GNU Health into openSUSE

Bringing

GNU Health into

openSUSE

Dr. Axel Braun

Page 2: Bringing GNU Health into openSUSE

IntroductionGNU HealthopenSUSE

Development ProcessOpen Build ServiceChecks, Checks, Checks…And the winner is…..

Page 3: Bringing GNU Health into openSUSE

3

Axel [email protected]@opensuse.org T: @coogor

Dipl.-Ing, Dr.-Ing. Electrical engineeringWorks as Consultant and Project Manager mostly for international companiesLives in Düsseldorf/Germany

Member of openSUSE project – no commercial relationship with SUSEPackage maintainer for (among others) GNU Health and GNU Health Live CD

Supported education project: Favela Education (.org)Supported medical project: GNU Health

Page 4: Bringing GNU Health into openSUSE

Introduction

Page 5: Bringing GNU Health into openSUSE

5

Page 6: Bringing GNU Health into openSUSE

6

OpenSUSE - History

Oldest existing Linux Company (S.u.S.E. founded 1992!)

SuSE aquired by Novell in 2003, [some more], now an independent business unit of MicroFocus (and growing)

2005 openSUSE launched as community project SUSE remains sponsor

Commercial SLE and openSUSE share code basis

Page 7: Bringing GNU Health into openSUSE

7

OpenSUSE - Status

Tested Tumbleweed Snapshots

Rock-solid Leap Distribution: Codebase from SLE,Desktop & Apps from TW

Ease of use for non-admins: YaST

Thousands of programs at download.opensuse.org

Growing user base since Leap 42.1

400.000 DVD Downloads / month

1.600 new installations / month

Tumbleweed:Rolling Distro

Leap:Stable Release

Page 8: Bringing GNU Health into openSUSE

Development Process

Page 9: Bringing GNU Health into openSUSE

9

Development Process

Page 10: Bringing GNU Health into openSUSE

10

Development Process

Devel Projects

Factory

Tumbleweed

openQA

Sources

Page 11: Bringing GNU Health into openSUSE

Open Build Service

Page 12: Bringing GNU Health into openSUSE

12

SUSE Tools

Machinery

Page 13: Bringing GNU Health into openSUSE

13

Development Process & Repositories

home:UserIndividual Playground

No rules

Official Repositoriese.g. Application:ERP:Tryton:x.x

Packaging guidelines apply

DistributionRules & Reviews

Branch &Submit

Branch

Page 14: Bringing GNU Health into openSUSE

14

1st step: Consolidation of packages

Application:ERP:Tryton:3.8 openSUSE

gnuhealth

devel:languages:python

Which packages are notyet in

?

Page 15: Bringing GNU Health into openSUSE

15

2nd step: Create accepted Devel-Project

Application:ERP:Tryton:x.xSources

Application:ERP:Tryton:Factory

FactoryOpenSUSE:Leap:42.2

d:l:p

Page 16: Bringing GNU Health into openSUSE

16

Before 1st submission to factory….Follow packaging guidelineshttps://en.opensuse.org/Portal:Packaging

Make sure spec file is according to standards(use spec-cleaner!)

Check spec-cleaner did not destroy scripts….

Proper use of packaging-macros

Insert/update system services

Update desktop file

Refresh icon cache

Verbose description (see next slide)

Package security guidelines (writeable directories...)

Package source validation (to trust or not to trust…)

Python packaging guidelines

License file

...and some more

Page 17: Bringing GNU Health into openSUSE

Check, Checks, Checks...

Page 18: Bringing GNU Health into openSUSE

18

Specfile cleaner – guidelines and format

One of the 'old players' in Linux (S.u.S.E. founded 1992!)

SuSE aquired by Novell in 2003, [some more], now an independent business unit of HP

2005 openSUSE launched as community project SUSE remains sponsor

Commercial SLE and openSUSE share code basis

Page 19: Bringing GNU Health into openSUSE

19

Be Verbose – Example trytond_stock

As-is:Summary: Tryton is an OpenSource ERP system

%descriptionThe stock module of the Tryton application platform.

To-be:Summary: The "stock" module of the Tryton ERP system

%descriptionThe stock module defines fundamentals for all stock managementsituations: Locations where product are stored, moves between theselocations, shipments for product arrivals and departures andinventory to control and update stock levels.

Page 20: Bringing GNU Health into openSUSE

20

New packagesReview process

Various Bots for automated checks

Factory-Auto

Check sources

Check build result

License-Digger

Factory-Repo-Checker

Assignment to evaluation project

Peer-Review by at least 2 Maintainers

Review by legal counsellor

Page 21: Bringing GNU Health into openSUSE

21

Submit updates

Guided by maintenance policy

Bugzilla entry required

Documentation required in .changes

Needs improvement!

Page 22: Bringing GNU Health into openSUSE

And the result?

Page 23: Bringing GNU Health into openSUSE

23

Install from package manager

Page 24: Bringing GNU Health into openSUSE

24

Resolution of dependencies

Page 25: Bringing GNU Health into openSUSE

25

Full System Integration1-click Install

Systemd

Seggregation of services

Updates via Package Manager

Documentation

gnuhealth_control-suse – modified to maintain installation

Webclient (sao) and additional Tryton packages inApplication:ERP:Tryton:3.8

Easy setup:

https://www.youtube.com/watch?v=15zCr4pqIp8

Page 26: Bringing GNU Health into openSUSE

Thank you!

Question?