[opensuse-packaging] Is it possible to ignore files during commit
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? -- Richard -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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. Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello Marcus, 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 have a (.)osc_exclude file per package? Do you think about my Virtualbox problem? Would it be better if I open a bug report for it? -- Richard -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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 have a (.)osc_exclude file per package?
At the moment this isn't possible. IMHO we should rather fix the files check so 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.
Do you think about my Virtualbox problem? Would it be better if I open a bug report for it?
Yes but I didn't have time for it so far:/. The best is if you file the bug in bugzilla so that it won't get lost. Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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 have a (.)osc_exclude file per package?
At the moment this isn't possible. IMHO we should rather fix the files check so 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.
Marcus
I have work in progress .tar.bz2 and one named .spec.new 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. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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 have a (.)osc_exclude file per package?
At the moment this isn't possible. IMHO we should rather fix the files check so 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.
Marcus
I have work in progress .tar.bz2 and one named .spec.new 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. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Dave Plater
-
Dave Plater
-
Marcus Hüwe
-
Richard Bos