gitlab.lister: Override filtering as it's not possible as is
This commit is contained in:
parent
1335a5b25f
commit
7a0e3a2379
1 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,13 @@ class GitlabLister(SWHIndexingHttpLister):
|
|||
# id
|
||||
API_URL_INDEX_RE = re.compile(r'^.*/projects.*\&page=(\d+).*')
|
||||
|
||||
def filter_before_inject(self, models_list):
|
||||
"""We do not filter as we cannot. The indexable field and the page
|
||||
identifier used for pagination are not related.
|
||||
|
||||
"""
|
||||
return models_list
|
||||
|
||||
def get_model_from_repo(self, repo):
|
||||
return {
|
||||
'uid': repo['id'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue