[api] need URLs to binary changes, build output files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Muharem Hrnjadovic |
Bug Description
While attempting to convert the ubuntu-security publication LP HTML-parser to the LP API, I found several things that are not exposed to the API that we need:
- source_
- we currently scrape the "Package files" section for the .dsc, .diff.gz, .tar.gz shown in +archive/
- binary_
- we currently scrape the "Package files" section for the .debs shown in +archive/
- we currently scrape the "Changes file" section for .changes files shown in +archive/
It would also be nice to have an easier-to-find answer to the "is this an arch-all package?" question. It seems that from the API, this is answered by:
arch_all = False
for src in archive.
for bin in src.getPublishe
if bin.distro_
arch_all = True
This is rather "expensive", I would hope for replacing the last three lines with:
if src.is_arch_indep:
arch_all = True
Changed in soyuz: | |
assignee: | nobody → Muharem Hrnjadovic (al-maisan) |
tags: | added: oem-services |
Changed in soyuz: | |
milestone: | 3.1.10 → 3.1.11 |
Changed in soyuz: | |
status: | Triaged → In Progress |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
It would also be nice to be able to fetch private files without needing to resort to browser cookies (e.g. use the existing API credentials to fetch the source.changes file).