Code duplication for Person RDF

Bug #30793 reported by Andrew Bennetts
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Unassigned

Bug Description

See original discussion in bug 5543.

The current RDF generation code for a Person is duplicated for e.g. products and project RDF generation.

At the least, the code duplication should be fixed.

James Henstridge proposes that a better solution would be to generate different RDF that merely references common data for each person, rather than embedding repeated information in the same RDF.

See also bug 360699

Related branches

Dafydd Harries (daf)
Changed in launchpad:
status: Unconfirmed → Confirmed
Curtis Hovey (sinzui)
affects: launchpad-foundations → launchpad-registry
Changed in launchpad-registry:
importance: Medium → Low
Curtis Hovey (sinzui)
tags: added: timeout
removed: infrastructure
Revision history for this message
Robert Collins (lifeless) wrote :

High as per zero-oops-policy.

FWIW I agree with jamesh; alternatively eager loading should make it quite fast too.

Changed in launchpad-registry:
importance: Low → High
Revision history for this message
Robert Collins (lifeless) wrote :

The other referenced bug talks about timeouts; this one is code hygiene/maintenance, also important but not a timeout issue.

description: updated
tags: removed: timeout
Changed in launchpad-registry:
importance: High → Low
Curtis Hovey (sinzui)
Changed in launchpad-registry:
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → In Progress
milestone: none → 10.10
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: In Progress → Fix Committed
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Curtis Hovey (sinzui)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: Curtis Hovey (sinzui) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.