[Dev] [Libretools - Bug #379] (fixed) [librerelease] removes files that were not uploaded

labs at parabola.nu labs at parabola.nu
Sun Sep 15 00:54:07 GMT 2013

Issue #379 has been updated by lukeshu.

Status changed from open to fixed
% Done changed from 0 to 100

That is the case: it will block librestage.

Because sets of files can't be added to the staging directory atomically, there are a couple of race conditions so that I don't want to have the list of staged files.

Perhaps if librerelease first moved files to a temporary upload directory, and only held the lock while it was moving the files?

Although, this could also be fixed in the programs you use to build packages. Staging doesn't need to block building. treepkg/fullpkg could run the staging commands in the background.  Also, they could be learn how to do parallel builds by spawning new chroot copies.

I'm closing this, and creating a "librerelease block librestage" bug. https://labs.parabola.nu/issues/410
Bug #379: [librerelease] removes files that were not uploaded

Author: mtjm
Status: fixed
Priority: bug
Assignee: lukeshu
Target version: 

# Start librerelease with some files being staged
# Run librestage on another package when librerelease is uploading
# Wait for librerelease to finish upload, remove the uploaded file and the new file which wasn't uploaded

This could also result in unsigned packages being uploaded.

4c1672b437f84a46a03a59fafea459a96c4638a4 introduced this bug.

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://labs.parabola.nu/my/account

More information about the Dev mailing list