Mailinglist Archive: opensuse-buildservice (89 mails)

< Previous Next >
Re: [opensuse-buildservice] How does obs manage the packages and projects files in backend?
On Dienstag, 31. März 2015, 22:37:11 wrote Rick Liu:
Hi Andrian,

When using source services (such as download_url or gbs),
are files (like _service:recompress:tar_scm:obs-build-20150320.tar.gz brought
in through source services) still stored under "/obs/sources"?
or only "_service" file itself stored under "obs/sources"?

source service generate files are committed in the same way as user commits
To avoid conflicts these files have therefore the _service: prefix, which can
not be modified directly by the user.

Also does "/obs/trees" store the md5sum record for only "_service" file
or "/obs/trees" also include the md5sum record for files that brought in
through source services, such as

/obs/trees contains all files. Most important ones are the ...-MD5SUMS files,
list the files which are part of a commit. This file contains the file names
their md5sums. And also the special /SERVICE tag refering to source service
generated files.

Can you give me some insight why this is important for you? Do you plan to
work on some code here? We could maybe share efforts, since we have also the
git(/svn/..) mirroring on our agenda ...



-----Original Message-----
From: Adrian Schröter [mailto:adrian@xxxxxxx]
Sent: Monday, March 30, 2015 4:32 AM
To: opensuse-buildservice@xxxxxxxxxxxx
Cc: Bamvor Jian Zhang; Dingtianhong
Subject: Re: [opensuse-buildservice] How does obs manage the packages and
projects files in backend?

On Samstag, 28. März 2015, 18:02:57 wrote Bamvor Jian Zhang:
Hi, guys

I am trying to build the internal build service as well as integrate the
build service with our development flow. Currently, our packages are
maintained in svn and git.
I want to learn that how does suse manage the packages and projects in
build service backend. E.g. What happened in obs server after osc commit? I
do not mean that how does the build service fetch the code through service.

The only way to let OBS fetching sources are currently source services.
These are small modules which can either run on client or server side.

The source service server process is responsible to run them on server side.
You can find some bits of docu here:

And an example here:

This way works and can even be triggered without credentials, however it
stores for every commit a new tar ball. So not very optimized disk usage
wise. We want to improve that in future by mirroring git/svn/... and create
the tar ball during build time.

I heard from irc that suse use some sort of file based method to do this.
If it is true, where could I find feature lists and/or source code?

Not sure what you mean with "file based" here, the storage on the source



Adrian Schroeter
email: adrian@xxxxxxx

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip
Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups