Parts of the API depend on the name 'product'

Bug #366001 reported by William Grant
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Some parts of the webservice API use the name 'product'. It should probably be made consistent both to reduce confusion and ease transition if/when everything is properly renamed internally (bug 109153).

The guilty attributes and methods are:

IDistributionSourcePackage.upstream_product
ICommercialSubcription.product
ITranslationImportQueueEntry.productseries
ISourcePackage.productseries
IMilestone.createProductRelease

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Leonard suggested on bug 368854, that those names should be kept for backwards compatibility.
I'm in favor of duplicating bug 368854 against this one, and use this one as a central point to gather all api attributes and methods that need updating.
Curtis, what do you think?

affects: launchpad → launchpad-registry
tags: added: api cleanup registry-projects
Revision history for this message
William Grant (wgrant) wrote : Re: [Bug 366001] Re: Parts of the API depend on the name 'product'

On Wed, 2009-04-29 at 02:31 +0000, Diogo Matsubara wrote:
> Leonard suggested on bug 368854, that those names should be kept for
> backwards compatibility. I'm in favor of duplicating bug 368854
> against this one, and use this one as a central point to gather all
> api attributes and methods that need updating. Curtis, what do you
> think?

Given that the API is still beta and only exists on edge, now is the
perfect time to break compatibility and drop the old names. Or maybe
after a release. But soon, before too many things depend on them.

Revision history for this message
Barry Warsaw (barry) wrote :

We most definitely should complete the internal renaming of product -> project and project -> project group. I'll leave it to Curtis to schedule, but it should happen before 3.0 IMHO, and then probably the sooner the better. Now that we've reorg'd the registry tree, it should be easier to do.

description: updated
Revision history for this message
Curtis Hovey (sinzui) wrote :

We really want this fixed, but it is never a priority. Maybe we can get some better estimates of this effort to make it a priority

Changed in launchpad-registry:
importance: Undecided → Low
status: New → Triaged
Curtis Hovey (sinzui)
tags: removed: registry-projects
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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