Bringing GNU Health into opensuse Dr. Axel Braun
Introduction GNU Health opensuse Development Process Open Build Service Checks, Checks, Checks And the winner is..
Axel Braun abraun@gnusolidario.org docb@opensuse.org T: @coogor Dipl.-Ing, Dr.-Ing. Electrical engineering Works as Consultant and Project Manager mostly for international companies Lives in Düsseldorf/Germany Member of opensuse project no commercial relationship with SUSE Package maintainer for (among others) GNU Health and GNU Health Live CD Supported education project: Favela Education (.org) Supported medical project: GNU Health 3
Introduction
5
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 6
OpenSUSE - Status Tumbleweed: Rolling Distro 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 Leap: Stable Release 7
Development Process
Development Process 9
Development Process Sources Devel Projects Factory openqa Tumbleweed 10
Open Build Service
SUSE Tools Machinery 12
Development Process & Repositories Distribution Rules & Reviews Branch Official Repositories e.g. Application:ERP:Tryton:x.x Packaging guidelines apply Branch & Submit home:user Individual Playground No rules 13
1 st step: Consolidation of packages gnuhealth Which packages are not yet in Application:ERP:Tryton:3.8 opensuse? devel:languages:python 14
2 nd step: Create accepted Devel-Project Sources Application:ERP:Tryton:x.x d:l:p Application:ERP:Tryton:Factory OpenSUSE:Leap:42.2 Factory 15
Before 1 st submission to factory. Follow packaging guidelines https://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 16
Check, Checks, Checks...
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 18
Be Verbose Example trytond_stock As-is: Summary: Tryton is an OpenSource ERP system %description The stock module of the Tryton application platform. To-be: Summary: The "stock" module of the Tryton ERP system %description The stock module defines fundamentals for all stock management situations: Locations where product are stored, moves between these locations, shipments for product arrivals and departures and inventory to control and update stock levels. 19
New packages Review 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 20
Submit updates Guided by maintenance policy Bugzilla entry required Documentation required in.changes Needs improvement! 21
And the result?
Install from package manager 23
Resolution of dependencies 24
Full System Integration 1-click Install Systemd Seggregation of services Updates via Package Manager Documentation gnuhealth_control-suse modified to maintain installation Webclient (sao) and additional Tryton packages in Application:ERP:Tryton:3.8 Easy setup: 25 https://www.youtube.com/watch? v=15zcr4pqip8
Thank you! Question?