Mailinglist Archive: opensuse-packaging (218 mails)

< Previous Next >
Re: [opensuse-packaging] Is it possible to ignore files during commit
  • From: Dave Plater <davejplater@xxxxxxxxx>
  • Date: Thu, 03 Dec 2009 09:30:57 +0200
  • Message-id: <4B176931.8040802@xxxxxxxxx>
On 12/02/2009 11:51 PM, Marcus Hüwe wrote:
On 2009-12-02 22:12:50 +0100, Richard Bos wrote:

Op woensdag 02 december 2009 21:55:46 schreef Marcus Hüwe:

Hi Richard,

On 2009-12-02 11:06:32 +0100, Richard Bos wrote:

With a recent version of 'osc' when committing changes to the build
server, one is asked the following question:
"File `email_check' is not in package meta. Would you like
skip/remove/edit file lists/commit/abort? (s/r/e/c/A) s"

Is it possible to have some files ignored by this check? For example by
using a .oscignore fil, or something like that?

You can configure it in the ~/.oscrc file. Just add something like:
"exclude_glob = .osc CVS .svn .* _linkerror *~ #*# *.orig *.bak
email_check" to the "[general]" section.

Thanks. Funny that it is you who is answering me :)


But when one has many repositories / packages there can be many files to be
excluded. The exclude_glob would become very long. Ain't it possible to
a (.)osc_exclude file per package?

At the moment this isn't possible. IMHO we should rather fix the files check
that it only complains if files are missing which are _referenced_ in the spec
file (e.g. Source, Patch etc.). The current implementation errors out for all
unversioned/missing files.


I have work in progress .tar.bz2 and one named that osc wants
to check in, why don't we have an "osc remove" command to remove files
from the list at least or maybe osc shouldn't ask for files that haven't
been added.
Dave P
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >