fedora-infra/fedmsg_meta_fedora_infrastructure — pull request #170 by bochecha (2014-10-28 10:59:01+00:00)
Title: lookaside: Dehardcode some assumptions

The current code assumes that:

1. the message contains a 'md5sum' key, which is going to go away when
we move to a different hash algorithm,
2. it knows the path to the file on the lookaside cache, which is going
to change very soon.

The solution this change implements is to simply take the path to the
uploaded source file entirely from the message.

However, the lookaside cache doesn't emit messages like this yet, so the
current code is kept as a fallback.

https://fedorahosted.org/rel-eng/ticket/5846