l.c.b.codeimport : module documentation

Part of lp.code.browser

Browser views for CodeImports.
Class CodeImportSetNavigation Navigation methods for IBuilder.
Class CodeImportSetBreadcrumb Builds a breadcrumb for an ICodeImportSet.
Class DropdownWidgetWithAny A <select> widget with a more appropriate 'nothing selected' message.
Class CodeImportSetView The default view for ICodeImportSet.
Class CodeImportBaseView A base view for both new and edit code import views.
Class CodeImportNameValidationMixin Provide branch/repository name validation logic for code imports.
Interface NewCodeImportForm The fields presented on the form for editing a code import.
Class CodeImportNewView The view to request a new code import.
Interface EditCodeImportForm The fields presented on the form for editing a code import.
Class CodeImportEditView View for editing code imports.
Class CodeImportMachineView The view for the page that shows all the import machines.
Function validate_import_url Validate the given import URL.
Class CodeImportTargetMixin Common code import methods for Branch and GitRepository views.
Class RequestImportView Provide an 'Import now' button on the branch/repository index page.
Class TryImportAgainView Provide an 'Try again' button on the branch/repository index page.
Function _makeEditAction Make an Action to call a particular code import method.
def _makeEditAction(label, status, text):
Make an Action to call a particular code import method.
ParameterslabelThe label for the action, which will end up as the button title.
statusIf the code import has this as its review_status, don't show the button (always show the button if it is None).
textThe text to go after 'The code import has been' in a notifcation, if a change was made.
def validate_import_url(url, rcs_type, target_rcs_type, existing_import=None):
Validate the given import URL.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.