Don't include archive diectories that are missing an image.zip when calculating previous image.
This change allows for a previous archive directory to be devoid of an image.zip
without throwing an exception when generating delta payloads. Sometimes we might
be missing an image.zip directory if the state of the last build was bad i.e. it
was aborted midstream -- archive directory is created but image.zip doesn't finish
I've also updated a lot of the logging/docstring to make clear what's happening
TEST=Unittests + pylint + running with full_suite w/ and w/out image.zip in latest.
Tested-by: Chris Sosa <email@example.com>
Reviewed-by: David James <firstname.lastname@example.org>
Commit-Ready: Chris Sosa <email@example.com>
3 files changed