Publishing to click-package-index fails
Bug #1203670 reported by
Michael Nelson
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:/
[2] https:/
[3] https:/
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 |
tags: | added: u1-by-dev u1-on-dev |
Changed in click-package-index: | |
status: | Confirmed → Triaged |
Changed in click-package-index: | |
status: | Triaged → Fix Committed |
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.
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.