Build Service/Upstream Integration

From openSUSE

The Build Service currently allows to check in sources by uploading released tarballs. For better integration with upstream source code repositories we will add an interface to automatically check out sources from SVN or CVS repositories based on a given tag or revision number and upload them to the build service.


Project repository:

Svn Source repository: https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/tools/upstream

Package repositories for many distributions can be found here: http://software.opensuse.org/download/home:/rkwasny/

Usage

At first you need to add repositories to your favourite installation program. Then install upstream-ui package.

At first you need to add file, this will specify the filename and compression method

oscupstream add upstream.tgz tar gzip

Then you need to specify sources which will checked in and compressed into file

to add upstream source do:

oscupstream add [source type] [source url] [destdir]

for example

oscupstream add svn https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/tools/upstream

when you have completed editing _upstream you need to upload it into frontend

oscupstream uploadmeta [project] [package]

the final step is to execute this metafile, hopefull someday this will be done on the frontend site

oscupstream import [project] [package]

This will download _upstream for project, parse it, excute and upload file back to buildservice

Current status:


+ making and uploading upstream.xml

+ downloading and parsing upstream.xml

+ checking out from svn

? checking out from cvs

+ uploading files


+ - works

- - does not work (yet)

? - partitialy works


This is a Google Summer of Code project done by Rafal Kwasny.