#584 stray files from broken cg imports
Closed: Fixed 6 years ago Opened 6 years ago by mikem.

While koji tries to verify the data in CG imports, it is still possible to provide bad data that will result in the import failing after writing files to disc. These stray files are untracked, and prevent further imports of the same nvr.

For now, we should take the following measures:
1) The cg import code should fail early if the build directory already exists
2) The cg import code should have an exception handler that removes the build dir if an error occurs after we start writing


Metadata Update from @mikem:
- Issue set to the milestone: 1.15

6 years ago

Point 1) is solved in issue #425, respectively via PR #631

Commit facb8ec relates to this ticket

Login to comment on this ticket.

Metadata