Mailinglist Archive: opensuse-buildservice (327 mails)

< Previous Next >
Re: [opensuse-buildservice] .oscignore to ignore tarballs downloaded by source service?

On 2011-04-13 11:36:25 +0200, Michal Marek wrote:
I see there is no way to set ignore patterns on a per-package basis,
i.e. some .oscignore or rather _oscignore file. Would you accept a patch
that adds such feature?

I'm always happy about patches:) (I'm even more happy if a testcase is
attached, too:)) (to implement such a feature these files should be
marked with state "S" (skipped)).

The problem I'm trying to solve is following: The kernel-source package
is maintained in a git repository and a script exists to generate a
source package that can be built using rpmbuild, osc build or the
buildservice. To avoid having to upload the 70M+ linux tarball each time
you branch the package in the buildservice, I would like to use the
download_url service to let the server download it. But at the same
time, I would like to have the tarball locally as before, so that plain
rpmbuild works. But then I need to tell osc to ignore the linux tarball
and avoid messages like this:

Hmm what about the following:
- use "osc service run" in the package working copy so that osc
executes the source services locally (it'll create the
_service:download_url:linux... file)
- or run "osc up -S" to download the
"_service:download_url:linux..." file from the obs

In both cases osc won't bother you when doing the commit.

Does this help?

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups