Closed dirkmueller closed 1 year ago
Looks like preinstallimage-minimal
already violates that - it has Name: base
! I wonder whether the name is actually used anywhere, it doesn't appear to be in the preinstallimage info.
Looks like this is broken in more cases. If the Name
does not really matter, can we just ignore it?
@Vogtinator all existing preinstallimages were checked in outside the bot, so the bot was never able to do any checking on it. this PR is improving over that situation.
what we can do is enforce that "name" is set to "preinstallimage" always (which is the default if it isn't set). patch updated.
@Vogtinator all existing preinstallimages were checked in outside the bot, so the bot was never able to do any checking on it. this PR is improving over that situation.
what we can do is enforce that "name" is set to "preinstallimage" always (which is the default if it isn't set). patch updated.
Is there any advantage of having the name set to preinstallimage
or match the source container name outside of consistency?
@Vogtinator the easiest would be to not set the name, in which case the spec file parser sets the name to "preinstallimage". this is what this PR is doing (now, didn't do before).
@Vogtinator all existing preinstallimages were checked in outside the bot, so the bot was never able to do any checking on it. this PR is improving over that situation. what we can do is enforce that "name" is set to "preinstallimage" always (which is the default if it isn't set). patch updated.
Is there any advantage of having the name set to
preinstallimage
or match the source container name outside of consistency?
currently the name is not used by anything. it used to be required to be set because some logic in the OBS crashed when no Name was available. This has been fixed to set the name to "preinstallimage" if it isn't set.
Ok, so this is just a cosmetical change. Considering that all previous preinstallimage changes were done skipping the bot, this PR won't break anything...
@Vogtinator its not cosmetical for SLE. the sle release managers require the "bot" to pass and currently there is no way to pass it.
@Vogtinator its not cosmetical for SLE. the sle release managers require the "bot" to pass and currently there is no way to pass it.
I'm referring to the Name of preinstallimages. Is that not just cosmetical in SLE?
@Vogtinator its not cosmetical for SLE. the sle release managers require the "bot" to pass and currently there is no way to pass it. I'm referring to the Name of preinstallimages. Is that not just cosmetical in SLE?
I think we can do withotu the "Name" in _preinstallimage. but we still need this PR to fix it
These have special name handling in
_preinstallimage
. The package name has to be "preinstallimage-$name" where $name is what is given in the _preinstallimage description