README 2.2 KB

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