Download - Bringing GNU Health into openSUSE
![Page 1: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/1.jpg)
Bringing
GNU Health into
openSUSE
Dr. Axel Braun
![Page 2: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/2.jpg)
IntroductionGNU HealthopenSUSE
Development ProcessOpen Build ServiceChecks, Checks, Checks…And the winner is…..
![Page 3: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/3.jpg)
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](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/4.jpg)
Introduction
![Page 5: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/5.jpg)
5
![Page 6: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/6.jpg)
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](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/7.jpg)
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](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/8.jpg)
Development Process
![Page 9: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/9.jpg)
9
Development Process
![Page 10: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/10.jpg)
10
Development Process
Devel Projects
Factory
Tumbleweed
openQA
Sources
![Page 11: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/11.jpg)
Open Build Service
![Page 12: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/12.jpg)
12
SUSE Tools
Machinery
![Page 13: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/13.jpg)
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](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/14.jpg)
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](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/15.jpg)
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](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/16.jpg)
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](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/17.jpg)
Check, Checks, Checks...
![Page 18: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/18.jpg)
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](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/19.jpg)
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](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/20.jpg)
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](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/21.jpg)
21
Submit updates
Guided by maintenance policy
Bugzilla entry required
Documentation required in .changes
Needs improvement!
![Page 22: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/22.jpg)
And the result?
![Page 23: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/23.jpg)
23
Install from package manager
![Page 24: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/24.jpg)
24
Resolution of dependencies
![Page 25: Bringing GNU Health into openSUSE](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/25.jpg)
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](https://reader031.vdocuments.net/reader031/viewer/2022022000/587c80961a28ab082e8b4842/html5/thumbnails/26.jpg)
Thank you!
Question?