School Network/Open Build Service: Difference between revisions
mNo edit summary |
|||
| (5 intermediate revisions by one other user not shown) | |||
| Line 25: | Line 25: | ||
There is a special project, named [https://packages.sugarlabs.org/project/repositories?project=base base]; it contains all GNU/Linux distributions that are supported on OBS. All other projects, that are intended for building packages, need to inherit repositories from this project. | There is a special project, named [https://packages.sugarlabs.org/project/repositories?project=base base]; it contains all GNU/Linux distributions that are supported on OBS. All other projects, that are intended for building packages, need to inherit repositories from this project. | ||
=== | === GNU/Linux distribution agnostic packages === | ||
Instead of using spec files of packages to be built against for every distribution, it is possible to use a special spec file that will be used as-is in all platforms that Sugar Labs OBS supports. | Instead of using spec files of packages to be built against for every GNU/Linux distribution, it is possible to use a special spec file that will be used as-is in all platforms that Sugar Labs OBS supports. | ||
To create such distro-agnostic packages, | To create such distro-agnostic packages, | ||
* upload a {{Code|sweets.recipe}} file in [[ | * upload a {{Code|sweets.recipe}} file in [[Sweets_Distribution/Recipe_Specification|special notation]] to OBS package; | ||
* upload {{Code|.tar.gz}} sources with filename composed using {{Code|sweets.recipe}} fields: | * upload {{Code|.tar.gz}} sources with filename composed using {{Code|sweets.recipe}} fields: | ||
< | <context>-<version>.tar.gz | ||
After that, OBS will start building submitted package on all attached OBS repositories. | After that, OBS will start building submitted package on all attached OBS repositories. | ||
| Line 52: | Line 52: | ||
For example, | For example, | ||
https://obs.sugarlabs.org/resolve?project= | https://obs.sugarlabs.org/resolve?project=OLPC&repository=11.3.1&arch=i586&package=pygame&withdeps&exclude=sugar | ||
Will output: | Will output: | ||
| Line 73: | Line 73: | ||
== Policy == | == Policy == | ||
{{: | {{:School_Network/Open_Build_Service/Policy}} | ||
== Resources == | == Resources == | ||
| Line 79: | Line 79: | ||
* Open Build Service [http://openbuildservice.org/ home page]. | * Open Build Service [http://openbuildservice.org/ home page]. | ||
* Open Build Service API [https://obs.sugarlabs.org/apidocs/ specification]. | * Open Build Service API [https://obs.sugarlabs.org/apidocs/ specification]. | ||
* Downstream patch [ | * Downstream patch [https://git.sugarlabs.org/sl-tweaks/obs sources]. | ||