snaps_collection_link from git_repository and git_ref would be useful

Bug #1938437 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

snaps_collection_link from git_repository and git_ref would be useful

Looking at the git_ref and git_repository objects, they do not have snaps_collection_link on them. It would be nice to have, to iterate / find all snaps that are built from a given repo or branch.

Tags: api lp-snappy
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

We wouldn't put this here, because for API design purposes we prefer to have this sort of thing on appropriate domain objects instead. I expect we'd do this by exporting the existing ISnapSet.findByContext method instead, which would turn into lp.snaps.findByContext.

tags: added: api lp-snappy
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
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.