Changeset View
Changeset View
Standalone View
Standalone View
swh/lister/cgit/lister.py
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | class CGitLister(ListerBase): | ||||
Example: | Example: | ||||
Type: load-git | Type: load-git | ||||
Policy: recurring | Policy: recurring | ||||
Args: | Args: | ||||
'https://git.savannah.gnu.org/git/elisp-es.git' | 'https://git.savannah.gnu.org/git/elisp-es.git' | ||||
""" | """ | ||||
MODEL = CGitModel | MODEL = CGitModel | ||||
DEFAULT_URL = 'http://git.savannah.gnu.org/cgit/' | DEFAULT_URL = 'https://git.savannah.gnu.org/cgit/' | ||||
LISTER_NAME = 'cgit' | LISTER_NAME = 'cgit' | ||||
url_prefix_present = True | url_prefix_present = True | ||||
def __init__(self, url=None, instance=None, override_config=None): | def __init__(self, url=None, instance=None, override_config=None): | ||||
"""Lister class for CGit repositories. | """Lister class for CGit repositories. | ||||
Args: | Args: | ||||
url (str): main URL of the CGit instance, i.e. url of the index | url (str): main URL of the CGit instance, i.e. url of the index | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |