Difference between revisions of "Deployment Platform/Deployment"

From Sugar Labs
Jump to navigation Jump to search
Line 6: Line 6:
 
* Trisquel-4.1 LTS for regular hardware.
 
* Trisquel-4.1 LTS for regular hardware.
  
In both cases, sugar packages are built on [https://packages.sugarlabs.org/project/show?project=SweetsDistribution%3A0.94 OBS] from the same sources and composed to an XO image (by the Puno Deployment Team) and to a TOAST image (by the Trisquel Team).
+
In both cases, sugar packages are built on [https://packages.sugarlabs.org/ OBS] in [https://packages.sugarlabs.org/project/monitor?project=Hexokinase Hexokinase] project from the same [http://git.sugarlabs.org/hexokinase sources]. And composed to XO and Trisquel images.
 +
 
 +
== Sugar packages on OBS ==
 +
 
 +
This is about how to create [only] Sugar packages to include them later to resulting images.
 +
 
 +
=== Requirements ===
 +
 
 +
* Install [[Platform_Team/Guide/Sweets_Usage#Install|sweets]] utility<br>Will be used for uploading package sources to the [https://packages.sugarlabs.org/ OBS].
 +
* Install [[Platform_Team/gatch|gatch]] utility<br>Will be used for re-basing package sources to pull recent upstream changes.
 +
* Have [[Service/Account#Sugar_Labs_Central_Login|Sugar Labs account]] to login to [https://packages.sugarlabs.org/ OBS] (ping [[User::alsroot|alsroot]] to add your to [https://packages.sugarlabs.org/project/monitor?project=Hexokinase Hexokinase] project users).
 +
 
 +
=== Sources ===
 +
 
 +
For all packages, sources are being stored in Gitorious [http://git.sugarlabs.org/hexokinase hexokinase] project. Clone sources you want to create packages for.
 +
 
 +
All {{Code|sugar*}} source repositories are [[Platform_Team/gatch#Usage|downstream branches]] for {{Code|dextrose-0.94}} upstream branches from Gitorious [http://git.sugarlabs.org/sdk SDK] project. Thus, all of them are [[Platform_Team/Guide/Sweets_Packaging|sweet projects]] and:
 +
 
 +
* can be [[#Try sources|launched]] in local environment without any packaging;
 +
* contain [[Platform_Team/Recipe_Specification|sweets.recipe]] files that describe how to create packages on OBS.
 +
 
 +
=== Sources re-base ===
 +
 
 +
Since, sugar sources are downstream branches for [http://git.sugarlabs.org/sdk SDK] project, if upstream sources where changed, [http://git.sugarlabs.org/hexokinase hexokinase] sources need to be re-based. Go to the particular source directory and type:
 +
 
 +
gatch merge
 +
 
 +
=== Build packages ===
 +
 
 +
If sources were updated, to create new packages, go to the particular source directory and type:
 +
 
 +
sweets commit -m ''<COMMIT-DESCRIPTION>''
 +
 
 +
The building process might be observed starting from OBS's [https://packages.sugarlabs.org/project/monitor?project=Hexokinase monitor] page. If build process is successful, the resulting packages will be hosted on [http://download.sugarlabs.org/packages/Hexokinase/ download.sugarlabs.org] site.
 +
 
 +
=== Try sources ===
 +
 
 +
 
 +
== Build images ==
 +
 
 +
=== XO ===
 +
 
 +
=== Trisquel ===
 +
 
 +
== References ==
 +
 
 +
* Package [http://git.sugarlabs.org/hexokinase sources].
 +
* OBS [https://packages.sugarlabs.org/project/monitor?project=Hexokinase project].
 +
* Built [http://download.sugarlabs.org/packages/Hexokinase/ packages].

Revision as of 15:34, 19 January 2012

Summary

This is a Dextrose-3 based distribution that is being targeted to

  • Fedora-14 on XO-1 and XO-1.5 laptops, and
  • Trisquel-4.1 LTS for regular hardware.

In both cases, sugar packages are built on OBS in Hexokinase project from the same sources. And composed to XO and Trisquel images.

Sugar packages on OBS

This is about how to create [only] Sugar packages to include them later to resulting images.

Requirements

  • Install sweets utility
    Will be used for uploading package sources to the OBS.
  • Install gatch utility
    Will be used for re-basing package sources to pull recent upstream changes.
  • Have Sugar Labs account to login to OBS (ping [[User::alsroot|alsroot]] to add your to Hexokinase project users).

Sources

For all packages, sources are being stored in Gitorious hexokinase project. Clone sources you want to create packages for.

All sugar* source repositories are downstream branches for dextrose-0.94 upstream branches from Gitorious SDK project. Thus, all of them are sweet projects and:

  • can be launched in local environment without any packaging;
  • contain sweets.recipe files that describe how to create packages on OBS.

Sources re-base

Since, sugar sources are downstream branches for SDK project, if upstream sources where changed, hexokinase sources need to be re-based. Go to the particular source directory and type:

gatch merge

Build packages

If sources were updated, to create new packages, go to the particular source directory and type:

sweets commit -m <COMMIT-DESCRIPTION>

The building process might be observed starting from OBS's monitor page. If build process is successful, the resulting packages will be hosted on download.sugarlabs.org site.

Try sources

Build images

XO

Trisquel

References