Part of lp.registry.browser.person View In Hierarchy
Known subclasses: lp.registry.browser.person.PersonMaintainedPackagesView, lp.registry.browser.person.PersonOwnedTeamsView, lp.registry.browser.person.PersonPPAPackagesView, lp.registry.browser.person.PersonRelatedProjectsView, lp.registry.browser.person.PersonSynchronisedPackagesView, lp.registry.browser.person.PersonUploadedPackagesView
Method | max_results_to_display | Undocumented |
Method | page_title | Undocumented |
Method | related_projects | Return a list of project dicts owned or driven by this person. |
Method | first_five_related_projects | Return first five projects owned or driven by this person. |
Method | related_projects_count | The number of project owned or driven by this person. |
Method | has_more_related_projects | Does this person have more than five related projects? |
Method | projects_header_message | Undocumented |
Method | filterPPAPackageList | Remove packages that the user is not allowed to see. |
Method | latest_uploaded_ppa_packages_with_stats | Return the sourcepackagereleases uploaded to PPAs by this person. |
Method | latest_maintained_packages_with_stats | Return the latest maintained packages, including stats. |
Method | latest_uploaded_but_not_maintained_packages_with_stats | Return the latest uploaded packages, including stats. |
Method | latest_synchronised_publishings_with_stats | Return the latest synchronised publishings, including stats. |
Method | setUpBatch | Set up the batch navigation for the page being viewed. |
Method | _related_projects | Return all projects owned or driven by this person. |
Method | _tableHeaderMessage | Format a header message for the tables on the summary page. |
Method | _getDecoratedPackagesSummary | Helper returning decorated packages for the summary page. |
Method | _getDecoratedPublishingsSummary | Helper returning decorated publishings for the summary page. |
Method | _calculateBuildStats | Calculate failed builds and needs_build state. |
Method | _addStatsToPackages | Add stats to the given package releases, and return them. |
Method | _addStatsToPublishings | Add stats to the given publishings, and return them. |
The number of projects returned is limited by max_results_to_display. A project dict has the following keys: title, url, is_owner, is_driver, is_bugsupervisor.
Given a list of PPA packages, some might be in a PPA that the user is not allowed to see, so they are filtered out of the list.
The packages returned are limited to self.max_results_to_display and decorated with the stats required in the page template. The header_message is the text to be displayed at the top of the results table in the template.
Parameters | packages | A SelectResults that contains the query |
Returns | A tuple of (packages, header_message). |
The publishings returned are limited to self.max_results_to_display and decorated with the stats required in the page template. The header_message is the text to be displayed at the top of the results table in the template.
Parameters | publishings | A SelectResults that contains the query |
Returns | A tuple of (publishings, header_message). |
Results are filtered according to the permission of the requesting user to see private archives.
Don't include packages that are maintained by the user.
For each of the package_releases, calculate the failed builds and the needs_build state, and return a tuple of two dictionaries, one containing the failed builds and the other containing True or False according to the needs_build state, both keyed by the source package release.