diff --git a/swh/lister/gitlab/lister.py b/swh/lister/gitlab/lister.py --- a/swh/lister/gitlab/lister.py +++ b/swh/lister/gitlab/lister.py @@ -88,11 +88,6 @@ 'origin_url': repo['http_url_to_repo'], 'origin_type': 'git', 'description': repo['description'], - # FIXME: How to determine the fork nature? Do we need that - # information? Variable `repo` holds a `count_fork` key - # which is the number of forks for that - # repository. Default to False for now. - 'fork': False, } def transport_quota_check(self, response): diff --git a/swh/lister/gitlab/models.py b/swh/lister/gitlab/models.py --- a/swh/lister/gitlab/models.py +++ b/swh/lister/gitlab/models.py @@ -2,7 +2,7 @@ # License: GNU General Public License version 3, or any later version # See top-level LICENSE file for more information -from sqlalchemy import Column, Boolean, Integer, String +from sqlalchemy import Column, Integer, String from ..core.models import ModelBase @@ -15,8 +15,3 @@ uid = Column(Integer, index=True) instance = Column(String, index=True) indexable = Column(Integer, index=True) - fork = Column(Boolean) - - def __init__(self, *args, **kwargs): - self.fork = kwargs.pop('fork', False) - super().__init__(*args, **kwargs)