Publishing to click-package-index fails

Bug #1203670 reported by Michael Nelson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Software Center Agent
Fix Released
High
Unassigned

Bug Description

Creating a new app on staging devportal [1] and attempting to publish the app fails due to a missing field "framework" [2].

Looking at the sca code, it seems to send "click_framework", whereas click-package-index is looking for "framework" when transforming the data [3] from sca to solr.

It may be easier to update this right now in sca (sending 'framework' in addition to 'click_framework')

[1] https://developer.staging.ubuntu.com/dev/click-apps/12/
[2] https://pastebin.canonical.com/94796/
[3] https://bazaar.launchpad.net/~ubuntuone-pqm-team/click-package-index/trunk/view/head:/src/click_package_index/transformation.py#L84

affects: software-center-agent → click-package-index
description: updated
Changed in software-center-agent:
importance: Undecided → High
status: New → Confirmed
Changed in software-center-agent:
status: Confirmed → Fix Committed
Dave Morley (davmor2)
tags: added: u1-by-dev u1-on-dev
Revision history for this message
James Tait (jamestait) wrote :

On the Click Package Index side, we initially parsed click_framework from within the click member in the SCA POST. This was taken from the original definition in the Click Package Format (where the field was Click-Framework).

Following a conversation with Colin Watson about the fields we index and their correlation to the Click manifest, click_framework and package_name were renamed to framework and name, respectively. At the same time, the SCA POST format was flattened so that those fields were at the top level (i.e. the click member disappeared). Later, framework became a list, so that we can accommodate multiple frameworks rather than just Ubuntu SDK.

James Tait (jamestait)
Changed in click-package-index:
status: Confirmed → Triaged
James Tait (jamestait)
Changed in click-package-index:
status: Triaged → Fix Committed
James Tait (jamestait)
Changed in click-package-index:
status: Fix Committed → Fix Released
Changed in software-center-agent:
status: Fix Committed → Fix Released
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.