Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api should reject manual release targets pointing back to itself #16936

Open
dirkmueller opened this issue Oct 10, 2024 · 1 comment
Open

api should reject manual release targets pointing back to itself #16936

dirkmueller opened this issue Oct 10, 2024 · 1 comment
Labels
Bug Frontend Things related to the OBS RoR app

Comments

@dirkmueller
Copy link
Member

Issue Description

recently I accidentally misconfired a prj in the following way:

How to Reproduce

<project name="home:dirkmueller:foo">
  <repository name="containerfile">
    <releasetarget project="home:dirkmueller:foo" repository="images" trigger="manual"/>
    <path project="SUSE:SLE-15-SP6:GA" repository="standard"/>
    <arch>x86_64</arch>
    <arch>aarch64</arch>
  </repository>
  <repository name="images">
    <releasetarget project="home:dirkmueller:foo" repository="images" trigger="manual"/>
    <path project="SUSE:SLE-15-SP6:GA" repository="standard"/>
    <arch>x86_64</arch>
    <arch>aarch64</arch>
  </repository>

I mistyped the "project" in here, it should have been "home:dirkmueller:foo:ToTest". when I triggered a release, the build service basically became unresponsive :

outdated (was: succeeded: Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event, Releasing via trigger event)
@hennevogel
Copy link
Member

As soon as you invent links you need to take care of cycles. In the case of releasetarget no one did so far...

@hennevogel hennevogel added Bug Frontend Things related to the OBS RoR app labels Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frontend Things related to the OBS RoR app
Projects
None yet
Development

No branches or pull requests

2 participants