Add default tags for distro name/version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Invalid
|
Undecided
|
Unassigned | ||
apport (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Please make apport by default add a tag for the distro name ('kubuntu', 'fedora', etc.) and version code name ('karmic', 'jaunty') for all bugs filed by apport.
Since Launchpad tries to be pretty general purpose, it lacks functionality for more precisely sorting/filtering through masses of bugs by identifying the distro and distro version. This makes it difficult to do certain common tasks, such as if a Kubuntu developer wished to look at all the Xorg bugs filed by Kubuntu users, or if the Xorg maintainer wished to get a list of all bugs reported against jaunty but not karmic, to ask people to test the newer version.
It is possible to add tags to apport reports via package-hooks, ala report['Tags'] = 'tag1 tag2'. However, I think this is a generally useful functionality which probably should just be on by default for everyone, esp. since it is not uncommon for bugs to be filed against incorrect components and then later moved.
I think this could be implemented simply by just looking for /etc/lsb-release and extracting DISTRIB_ID and DISTRIB_CODENAME, and adding the value of each of those as tags.
Changed in apport: | |
status: | New → Confirmed |
Changed in apport: | |
assignee: | nobody → Marco Rodrigues (gothicx) |
status: | Confirmed → In Progress |
Changed in apport: | |
status: | In Progress → Confirmed |
Changed in apport: | |
status: | Confirmed → In Progress |
Changed in apport: | |
status: | In Progress → Confirmed |
assignee: | Marco Rodrigues (gothicx) → nobody |
The distro isn't necessary, that's already built into Launchpad itself: "apport (Ubuntu)"
I added the release code name tag in ubuntu r1577. (@Marco: I used a different solution than you to avoid breaking backwards compatibility and introducing redundancy of the DistroRelease field).