#426 cg_import should catch archive errors earlier
Closed: Fixed Opened by mikem.

There are several metadata checks that happen inside of import_archive_internal(). When they fail the import can leave stray files. We should catch these problems in the prep_archive step, before anything is written.


PR #446
Do we want to check also filesize here? Checksum probably not, so it will not be run second time in import_archive_internal.

The problem that prompted this involved bad checksums. I'd like to validate as much was we can before we start writing files.

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

Commit c1d8ca8e fixes this issue

Commit b81159bc relates to this ticket

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/426

Please continue any further discussion there.

Metadata