DistributionSourcePackageRelease:+index describes Changed-By as "Uploaded by"
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | CI Train [cu2d] |
Invalid
|
Undecided
|
Unassigned | |
| | Launchpad itself |
Low
|
Unassigned | ||
Bug Description
The latest version of mediascanner2 (https:/
jamesh is not an ubuntu-dev, and is not the person who signed off on the packaging changes. That was ken-vandine:
https:/
We want launchpad to show the name of the ubuntu-dev who signed off on the package upload into the archive.
It's not clear if this is a cupstream2distro, launchpadlib, or launchpad bug.
| summary: |
- cupstream2distro passes the wrong launchpad id as the sponsoree when - uploading to the distro + launchpad shows wrong sponsoree for train-sponsored uploads |
| Robert Bruce Park (robru) wrote : | #2 |
I contend that this is not a bug in cupstream2distro, because the upload to the archive is done by copy2distro script, here:
This script runs on snakefruit and does not have access to the usual train things. It doesn't have access to any jenkins state at all, just the rsyncfile (which it accesses via rsync) and the PPAs (via launchpadlib). The relevant rsyncfile is here:
Which you can plainly see says "ken-vandine" and does not contain "jamesh" anywhere. So it couldn't possibly have called copyPackage with sponsor='jamesh' because it simply couldn't have known that jamesh had anything to do with anything.
| Steve Langasek (vorlon) wrote : | #3 |
http://
| Colin Watson (cjwatson) wrote : | #4 |
This gives a slightly clearer indication of the state of affairs:
In [1]: spph = lp.distribution
In [2]: {k: getattr(spph, k) for k in sorted(
Out[2]:
{'archive': <archive at https:/
'component_name': u'universe',
'creator': <person at https:/
'date_created': datetime.
'date_
'date_published': datetime.
'date_removed': None,
'date_superseded': None,
'display_name': u'mediascanner2 0.107+15.
'distro_series': <distro_series at https:/
'http_etag': u'"0ce408a721d5
'package_creator': <person at https:/
'package_
'package_signer': <person at https:/
'packageupload': <package_upload at https:/
'pocket': u'Proposed',
'removal_comment': None,
'removed_by': None,
'resource_
'scheduled_
'section_name': u'libs',
'self_link': u'https:/
'source_
'source_
'sponsor': <person at https:/
'status': u'Published'}
We need to arrange for DistributionSou
| summary: |
- launchpad shows wrong sponsoree for train-sponsored uploads + DistributionSourcePackageRelease:+index describes Changed-By as + "Uploaded by" |
| Changed in launchpad: | |
| status: | New → Triaged |
| importance: | Undecided → Low |
| tags: | added: confusing-ui packages trivial ui |
| Changed in cupstream2distro: | |
| status: | New → Invalid |

The associated input from jenkins does show the correct launchpad username: /ci-train. ubuntu. com/view/ 2.%20Publish/ job/ubuntu- landing- 019-2-publish/ lastSuccessfulB uild/artifact/ packagelist_ rsync_ubuntu- landing- 019/*view* /
https:/