The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Mer OBS Build

From Mer Wiki
Revision as of 21:47, 9 February 2012 by Iamer (Talk | contribs)

Jump to: navigation, search

Mer OBS Build

https://bugs.merproject.org/show_bug.cgi?id=145

  • First time setup :
 for i in \
  rubygems \
  build-server \
  rubygem-activesupport-2_3 \
  rubygem-activerecord-2_3 \
  rubygem-actionpack-2_3 \
  rubygem-actionmailer-2_3  \
  rubygem-activeresource-2_3 \
  rubygem-rmagick \
  rubygem-rack-1_1 \
  build \
  build-initvm \
  rubygem-gruff \
  rubygem-json \
  rubygem-libxml-ruby\
  rubygem-rails_xss \
  perl-File-Sync \
  do
 osc -A suse copypac openSUSE:Tools:Unstable $i -t cobs Mer:OBS:Testing -m "initial import"
 done
 for i in \
 perl-BSSolv \
 rubygem-rdoc \
 rubygem-delayed_job \
 rubygem-daemons \
 rubygem-exception_notification \
 do
 osc -A suse copypac openSUSE:Tools $i -t cobs Mer:OBS:Testing -m "initial import"
 done
  • Update from git periodically :
 VERSION=2.2.120
 BRANCH_OR_TAG=master
 git clone git://github.com/openSUSE/open-build-service.git open-build-service
 #git clone git://github.com/Merproject/open-build-service.git open-build-service
 pushd open-build-service
 git archive --prefix=build-service-$VERSION/ $BRANCH_OR_TAG | bzip2 - > ../obs-server-$VERSION.tar.bz2
 sha1sum=$(git rev-list --max-count=1 --abbrev-commit master)
 popd
 sed -i -e "s/^Release:.*$/Release:    $sha1sum/g" obs-server.spec
 git clone git://github.com/openSUSE/opensuse-themes.git opensuse-themes
 pushd opensuse-themes
 git archive --prefix=opensuse-themes-2.2.115/ master | bzip2 - > ../opensuse-themes-2.2.115.tar.bz2
 popd
Personal tools