Charmworld does not know about deleted/merged charms

Bug #1180118 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charmworld
Fix Released
High
Abel Deuring

Bug Description

Alice-irc was a promulgated charm. the charm was unpromulgated, then deleted from Lp. Since ingestion does not reconcile its collection with the charm store or with Lp, m.jc.com continues to show the last version of a charm it saw. In the case of alice-irc, m.jc.com claimed it was promulgate/reviewed. It was not. Though it could be deployed from the command line, its quality was so bad that it was deemed safer to not let users discover it.

Consider the case where charms live for but a few days. The charm is forked, improved, then merged into the reviewed charm. From the VC perspective the branch has ended its life. The Charm is no longer of valuable since the value was transferred to long-lived reviewed charm.

At a minimum, ingestion needs to review/revise any charms in its collection that were not found during the phase to pull Lp branches. Ideally, ingest would reconcile with the charm store; ingest is duplicating what it thinks are the rules to enter the store.

Bug #1178497 is related; currently there is no way to list all charms present in the store.

Tags: ingest

Related branches

Curtis Hovey (sinzui)
summary: - Charmworld does not know about deleted charms
+ Charmworld does not know about deleted/merged charms
Aaron Bentley (abentley)
description: updated
Revision history for this message
Aaron Bentley (abentley) wrote :

I think the "merged" scenario is an outlier, because the branch would need to be named "trunk" in order to enter the store in the first place. Such branches are rarely merged. But, the active trunk branch for a charm might be merged into a different series, daggy-fixes style. In that case, it would be bad to hide it simply because it had been merged.

Curtis Hovey (sinzui)
Changed in charmworld:
assignee: nobody → Abel Deuring (adeuring)
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in charmworld:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in charmworld:
status: Fix Committed → Fix Released
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.