[13:23] <rbasak> I'm trying to download the source from a package_upload object that doesn't contains_source but does contains_source_archive_link, so I need to follow it back.
[13:23] <rbasak> Is it correct for me to go via upload.copy_source_archive and then call getPublishedSources on that?
[13:24] <mapreri> so… we can now upload source packages with .buildinfo? :)
[13:24] <rbasak> Only then I'm having to look up via the package name and version only.
[13:24] <rbasak> That gives me multiple source_package_publishing_history objects, and I'm just using the first one.
[13:24] <rbasak> Because I believe that all sources should be identical if looking at a particular archive, package name and version?
[13:24] <rbasak> So 1) is that correct in all cases, and 2) should I be doing something else instead?
[13:26] <cjwatson> mapreri: yes
[13:26] <mapreri> \o/
[13:27] <cjwatson> 1) correct though you should remember to specify exact_match=True as well
[13:27] <mapreri> cjwatson: thank you for your work!
[13:27] <cjwatson> 2) that's what I did in "queue fetch" so I must have thought it was the most sensible thing to do when I did that :)
[13:27] <rbasak> Great. Thanks!
[13:27] <cjwatson> np
[13:28]  * rbasak discovers the "queue" tool
[13:28] <wgrant> rbasak: Where are you getting the package_upload to start with? It's slightly unusual to deal with them unless you're doing queue manipulation.
[13:28] <rbasak> wgrant: I'm doing queue manipulation :)
[13:28] <wgrant> Ah, heh.
[13:28] <rbasak> This is for my queue -> git importer, for SRU review.
[13:28] <wgrant> Ahh
[13:28] <rbasak> It works, I'm just implementing the sync case.
[13:29] <rbasak> (as people are increasingly using bileto and so on)
[13:32] <psusi> This slish person keeps spamming bug #484499.  Could an admin clean up and ban please?
[13:46] <cjwatson> psusi: done
[13:46] <cjwatson> (it's probably not their fault - forged From in email spam - but the account has been inactive for ~6y anyway)
[13:56] <psusi> yea.. just got some virus to steal their address book