School Network/Open Build Service: Difference between revisions

mNo edit summary
 
(3 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.


=== Distribution agnostic packages ===
=== 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,
Line 52: Line 52:
For example,
For example,


  https://obs.sugarlabs.org/resolve?project=resolve&repository=OLPC-11.3.1&arch=i586&package=pygame&withdeps&exclude=sugar
  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 ==


{{:Platform_Team/Open_Build_System/Policy}}
{{:School_Network/Open_Build_Service/Policy}}


== Resources ==
== Resources ==