Meego Wiki
Views

MeeGo Conference Spring 2011/OBS

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(draft)
Line 1: Line 1:
<pre>
<pre>
-
*** MeeGo SF: Build Tutorial
+
* MeeGo SF: Build Tutorial
-
**** Pre-requisites
+
** Pre-requisites
-
**** Outline
+
*** web browser for basics
-
***** OBS Account Setup
+
*** osc & build for command line usage and local builds
-
      Discuss 2 OBSes
+
*** qemu for ARM
 +
*** Installation
 +
**** Debian
 +
**** Ubuntu
 +
**** Fedora
-
      Get your meego.com account enabled
+
** Simple source -> installable package
-
      Login to https://build.pub.meego.com/
+
*** OBS Account Setup
-
     
+
    Discuss 2 OBSes
-
***** create home dir
+
-
      Either 'Create Project' or click on name in top right
+
-
      This is the base area - makes sense to create a structure later
+
    Get your meego.com account enabled
 +
    Login to https://build.pub.meego.com/
 +
   
 +
*** create home dir
 +
    Either 'Create Project' or click on name in top right
-
      home:<user>:Apps:<app1>/app1
+
    This is the base area - makes sense to create a structure later
-
***** create sub-project
+
    home:<user>:Apps:<app1>/app1
-
      Go to Home area and create
+
-
      home:<user>:starting
+
-
     
+
-
      Title is cosmetic
+
-
      Description is used in Apps (Niels?)
+
*** create sub-project
 +
    Go to Home area and create
 +
    home:<user>:starting
 +
   
 +
    Title is cosmetic
-
***** what have you got on the web ui
+
    Description is used in Apps (Niels?)
-
****** Overview
+
-
      # Packages
+
-
****** Build Status
+
-
      Info about 'targets', architectures and succeeded/failed/unresolveable
+
-
      https://build.pub.meego.com/project/show?project=home%3Asmoku%3Acordia
+
-
****** Packages
+
-
      Just lists them
+
-
****** Repositories
+
-
      Targets - build against these (like MeeGo 1.2 or DE or Debian or Fedora)
+
-
      Decide what to build or publish
+
-
****** Monitor
+
*** what have you got on the web ui
-
      Detailed dashboard
+
**** Overview
-
      (won't appear until you have something to build)
+
    # Packages
 +
**** Build Status
 +
    Info about 'targets', architectures and succeeded/failed/unresolveable
 +
    https://build.pub.meego.com/project/show?project=home%3Asmoku%3Acordia
 +
**** Packages
 +
    Just lists them
 +
**** Repositories
 +
    Targets - build against these (like MeeGo 1.2 or DE or Debian or Fedora)
 +
    Decide what to build or publish
-
****** Advanced
+
**** Monitor
-
      Project config : handle how chroot is setup
+
    Detailed dashboard
-
      Users : grant others access to a subproject in your area
+
    (won't appear until you have something to build)
-
      Subprojects : See them and make more
+
-
      Attributes : Not used
+
-
      Raw config : XML spec of the project
+
-
      Status : Detailed summary
+
-
***** checkout project
+
**** Advanced
 +
    Project config : handle how chroot is setup
 +
    Users : grant others access to a subproject in your area
 +
    Subprojects : See them and make more
 +
    Attributes : Not used
 +
    Raw config : XML spec of the project
 +
    Status : Detailed summary
-
***** git source?
+
*** checkout project
-
***** download
+
    osc co
-
***** upload tar, spec, changes
+
*** git source?
-
***** set
+
    (setup a git repo somewhere)
 +
*** create a spec and .changes file
 +
    discuss what goes in .changes
 +
*** upload tar, spec, changes
 +
*** set a target and architecture
 +
    Explain about dependency resolution
 +
    touch back to prjconf
 +
    explain that some targets are dynamic and will trigger rebuilds
 +
*** watch the build happen
 +
    monitor #meego-boss for noise - set to highlight when your project
 +
    is mentioned
 +
*** publish
 +
    That's a PPA
 +
    has a .repo suitable for
 +
      zypper ar http://download...
-
***** Extras
+
    This is now like Extras:Devel
-
****** YAML?
+
 
-
****** Using 'peer' packages
+
*** Project structure
-
****** Branch
+
    make your own 'devel' and 'stable'
-
****** Remote Branch
+
    promote to Apps:Testing and then Apps
-
****** Apps
+
 
-
****** Project: area
+
** Extra stuff
 +
*** YAML?
 +
    An example of using yaml to make a spec file
 +
*** Using 'peer' packages
 +
    if you
 +
*** Branch
 +
    how to get code from DE, KDE, Surrounds or any other project
 +
*** Remote Branch
 +
    Even doable for MeeGo.com
 +
*** Apps
 +
    App store - no dependencies yet
 +
    Introduce Surrounds
 +
*** Project: area
 +
    The idea is that this is for collaboration
 +
*** Multiple OBSes
 +
    -A allows you to use c.obs and main obs and company obs
 +
    (and maemo one too)
 +
*** oscrc file
 +
    aliases
 +
    build control : directories, pre-installs
 +
*** Local builds
 +
    using bind-mount
</pre>
</pre>

Revision as of 23:02, 16 May 2011

* MeeGo SF: Build Tutorial
** Pre-requisites
*** web browser for basics
*** osc & build for command line usage and local builds
*** qemu for ARM
*** Installation
**** Debian
**** Ubuntu
**** Fedora

** Simple source -> installable package
*** OBS Account Setup
    Discuss 2 OBSes

    Get your meego.com account enabled
    Login to https://build.pub.meego.com/
    
*** create home dir
    Either 'Create Project' or click on name in top right

    This is the base area - makes sense to create a structure later

    home:<user>:Apps:<app1>/app1

*** create sub-project
    Go to Home area and create
    home:<user>:starting
    
    Title is cosmetic

    Description is used in Apps (Niels?)

*** what have you got on the web ui
**** Overview
     # Packages
**** Build Status
     Info about 'targets', architectures and succeeded/failed/unresolveable
     https://build.pub.meego.com/project/show?project=home%3Asmoku%3Acordia
**** Packages
     Just lists them
**** Repositories
     Targets - build against these (like MeeGo 1.2 or DE or Debian or Fedora)
     Decide what to build or publish

**** Monitor
     Detailed dashboard
     (won't appear until you have something to build)

**** Advanced
     Project config : handle how chroot is setup
     Users : grant others access to a subproject in your area
     Subprojects : See them and make more
     Attributes : Not used
     Raw config : XML spec of the project
     Status : Detailed summary

*** checkout project
    osc co
*** git source?
    (setup a git repo somewhere)
*** create a spec and .changes file
    discuss what goes in .changes
*** upload tar, spec, changes
*** set a target and architecture
    Explain about dependency resolution
    touch back to prjconf
    explain that some targets are dynamic and will trigger rebuilds
*** watch the build happen
    monitor #meego-boss for noise - set to highlight when your project
    is mentioned
*** publish
    That's a PPA
    has a .repo suitable for
      zypper ar http://download...

    This is now like Extras:Devel

*** Project structure
    make your own 'devel' and 'stable'
    promote to Apps:Testing and then Apps

** Extra stuff
*** YAML?
    An example of using yaml to make a spec file
*** Using 'peer' packages
    if you 
*** Branch
    how to get code from DE, KDE, Surrounds or any other project
*** Remote Branch
    Even doable for MeeGo.com
*** Apps
    App store - no dependencies yet
    Introduce Surrounds
*** Project: area
    The idea is that this is for collaboration
*** Multiple OBSes
    -A allows you to use c.obs and main obs and company obs
    (and maemo one too)
*** oscrc file
    aliases
    build control : directories, pre-installs
*** Local builds
     using bind-mount

Personal tools