dolibarr/dev/build/obs/README

59 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

README (English)
##################################################
OBS Package tools
2025-01-05 14:28:07 +01:00
OBE - openSUSE Build Service
##################################################
2025-01-05 14:28:07 +01:00
This directory contains an instruction to explain
2020-02-25 13:37:39 +01:00
how to publish a package onto OBS.
2025-01-05 14:28:07 +01:00
# Create a project onto OBS
---------------------------
https://build.opensuse.org
2020-02-25 13:37:39 +01:00
2025-01-05 14:28:07 +01:00
# Packaging rules:
2020-02-25 13:37:39 +01:00
------------------
https://en.opensuse.org/Portal:Packaging
Add attributes:
2020-02-25 13:37:39 +01:00
OBS:Screenshots URL of screenshot https://www.dolibarr.org/images/dolibarr_screenshot1.png
OBS:QualityCategory Development|Testing|Stable|Private
OBS:Maintained 1
2012-12-31 13:40:35 +01:00
To submit a snapshot for building, we should have a service file with content
<services>
<service name="download_src_package">
<param name="host">www.dolibarr.org</param>
<param name="protocol">http</param>
2013-10-29 15:14:36 +01:00
<param name="path">/files/stable/package_rpm_generic/dolibarr-x.y.z-3.src.rpm</param>
2012-12-31 13:40:35 +01:00
</service>
</services>
2020-02-25 13:37:39 +01:00
# How to have such a service file created automatically ?
---------------------------------------------------------
Go into project you want to update. It might be:
2014-12-05 21:10:38 +01:00
- openSUSE Build Service > Projects > Application:ERP:Dolibarr > dolibarr
- or your private project
Once logged, click on "Add file" in section "Source Files", then select mode "Upload From: Remote URL"
Keep empty for "Filename", choose "Remote URL" and enter into last field, URL that should looks like this:
2020-02-25 13:37:39 +01:00
https://www.dolibarr.org/files/stable/package_rpm_generic/dolibarr-x.y.v-0.4.src.rpm
2014-12-05 21:10:38 +01:00
Then add into Advanded - Attributes
2020-02-25 13:37:39 +01:00
OBS:Screenshots https://www.dolibarr.org/images/dolibarr_screenshot1.png
OBS:QualityCategory Stable|Testing|Development|Private
2013-11-20 15:10:54 +01:00
# Move project into official directory
2020-02-25 13:37:39 +01:00
--------------------------------------
2013-11-20 15:10:54 +01:00
- Enter a bug to ask to be a maintener of a category or to add a new one.
2013-11-20 23:05:27 +01:00
For example: https://bugzilla.novell.com/show_bug.cgi?id=848083 to be a maintener of category
https://build.opensuse.org/project/show/Application:ERP
2013-11-20 15:10:54 +01:00
- Once done, go into project, category, subproject and enter a subproject for your application.
For example: Dolibarr
2025-01-05 14:28:07 +01:00
- Then go onto project into your home and ask a publish to the category/you project your created.