Mailinglist Archive: opensuse-buildservice (170 mails)

< Previous Next >
Re: [opensuse-buildservice] osc rdelete leftovers files
On Mon, Jul 29, 2013 at 03:16:59PM -0400, Michel Bourget wrote:
The real I have is about an asymmetric semantic, ie:
- non-admin user can create "home:user:blah" project.
- but can't wipe it, ie. only admin can do it.

Imo, a user should be able to "wipe" a project he/she created.
"osc rwipe" ?

Here's the scenario I went thru:
-1. osc meta {prj,prjconf} home:user:blah
-2. osc add a couple of packages ...
-3. something goes really wrong. Hey, let's restart
-4. osc rdelete -f -r home:user:blah
-5. re-do step 1 and 2 but better and/or with fixes.
-6. re-do step 2 in same manner.

Here is where it goes wrong. In step 6, new _pkg and _service files
were checked/committed. OBS then states "nothing to do" somehow.
Guess what , the buildlog ( and service logs details ) were restored
back to what they were, even showing impossible errors because
some fixes were applied to a (new, btw ) /usr/lib/obs/service/script.

That should not be the case, all the build results should be gone.
We once had a bug in the scheduler code that made it ignore
project/repository delete events, but that is AFAIK fixed. (I don't
think the 2.3 branch had this bug, though. Are you sure you run 2.3?
If yes, why don't you upgrade to 2.4? 2.3 is really old...)

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >