Go Back   openSUSE Forums > openSUSE Build Service (OBS)
Forums FAQ Members List Search Today's Posts Mark Forums Read


openSUSE Build Service (OBS) Questions about creating packages for openSUSE and using the Build Service

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 19-Sep-2008, 08:52
ealin's Avatar
Puzzled Penguin
 
Join Date: Aug 2008
Location: belfast
Posts: 46
ealin hasn't been rated much yet
Send a message via MSN to ealin Send a message via Yahoo to ealin Send a message via Skype™ to ealin
Default Scenario

Hi,


I want to implement the following scenario on obs.

prelims
1. I have a project hosted on an svn service (googlecode)
2. The project builds with cmake.
3. I generate .rpm and .deb packages via cmake

scenario -- I want to setup a build project on obs
1. Import and update the source files from the svn
2. build the packages for the chosen distros.
3. automate the process s.t. daily if there are changes in the svn the packages get regenerated.


Do you have any pointers for the implementation?

Alin
__________________
"...if the universities will not study useless subjects, who will?" --- G. F. Fitzgerald, Nature, 45/46, 392 (1892)
Reply With Quote
  #2 (permalink)  
Old 19-Sep-2008, 09:02
Monex's Avatar
Busy Penguin
 
Join Date: Jun 2008
Location: Germany
Posts: 256
Monex hasn't been rated much yet
Default Re: Scenario

Hi,

isn't it already implemented? As far as I know the OBS has the ability for this.

hope this helps
Reply With Quote
  #3 (permalink)  
Old 19-Sep-2008, 09:20
Student Penguin
 
Join Date: Jul 2008
Posts: 79
dmitry_serpokryl hasn't been rated much yet
Default Re: Scenario

IMHO:

1) right now OBS doen't allow the interaction with the Internet during the 'build' phase. It had been planned to implement the import of a sources (tar.gz, bz2) located in Internet into the OBS, but right now I can't say how it works (I'm npt tracking this).
2) not even an issue, it's an option
3) you're welcome to adjust your 'cron/crontab'+'osc' to trigger the required build as often as you wish... but the OBS has it's own scheduler and it's just a best practice not to press 'build trigger' too often. the best could be to look through the OBS API to get the list of events which could 'trigger' rebuild.

end of IMHO...
Reply With Quote
  #4 (permalink)  
Old 21-Sep-2008, 02:38
MasterPatricko's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Location: Scotland, UK
Posts: 27
MasterPatricko hasn't been rated much yet
Send a message via AIM to MasterPatricko Send a message via MSN to MasterPatricko
Default Re: Scenario

There is an ongoing project to enable OBS to check out code from CVS, SVN, etc. It was worked on during the Hackweek. But it does not completely automate the system because 1) there is no way to schedule it to run when the upstream code is updated atm and 2) it can't figure out the version of the code it has just checked out and so cannot update the specfiles for you.
But you could probably knock up a script to work with a specific project using this as a base ...
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2