README 2.0 KB

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