openSUSE / obs-docu

Official Open Build Service Documentation. Content gets reviewed and edited. Generated books are available at http://www.openbuildservice.org
34 stars 70 forks source link

[doc] Issue in "AVAILABLE KEYWORDS IN BUILD CONFIGURATION" #377

Open hramrach opened 3 months ago

hramrach commented 3 months ago

AVAILABLE KEYWORDS IN BUILD CONFIGURATION:

https://openbuildservice.org/help/manuals/obs-user-guide/cha-obs-prjconfig#vl-prjconfig-keywords

Apparently

Preinstall: !package

cancels previous

Preinstall: package

(perhaps inherited from a repository against your project is built)

This is not documented.

hramrach commented 2 months ago

Apparently it's mentioned in the chapter just above: https://openbuildservice.org/help/manuals/obs-user-guide/cha-obs-prjconfig#sec-prjconfig-syntax

First, the PACKAGES could link to that description.

Second, while above the description of PACKAGES the ! syntax is mentioned it is not clear to what fields it applies. I suppose it should apply to all PACKAGES fields.

On the other hand, the ! description also says it applies to buildflags which does not seem to be the case. There is a lengthy discussion in https://bugzilla.suse.com/show_bug.cgi?id=1211226#c15 that this is not available for build flags.