rubiojr/yumrepo — pull request #4 by mstump (2012-01-03 19:21:16+00:00)
Title: Fixed tempfile leak for long running processes, exposed repo metadata

For long running processes we were leaking tempfiles. I was previously relying upon the garbage collector to cleanup the temp files when caching was set to false. This was resulting in a leak of files that for long running processes would eventually fill up the disk. I now explicitly clean up the files when I'm done with them.

I needed access to the metadata for repos such as the timestamp and SHA hash. We previously didn't make this information available. I've exposed it via Repomd#meta and added corresponding unit tests.