diff --git a/swh/lister/bitbucket/lister.py b/swh/lister/bitbucket/lister.py --- a/swh/lister/bitbucket/lister.py +++ b/swh/lister/bitbucket/lister.py @@ -28,7 +28,6 @@ 'html_url': repo['links']['html']['href'], 'origin_url': repo['links']['clone'][0]['href'], 'origin_type': repo['scm'], - 'description': repo['description'] } def get_next_target_from_response(self, response): diff --git a/swh/lister/core/models.py b/swh/lister/core/models.py --- a/swh/lister/core/models.py +++ b/swh/lister/core/models.py @@ -29,12 +29,10 @@ html_url = Column(String) origin_url = Column(String) origin_type = Column(String) - description = Column(String) last_seen = Column(DateTime, nullable=False) task_id = Column(Integer) - origin_id = Column(Integer) def __init__(self, **kw): kw['last_seen'] = datetime.now() diff --git a/swh/lister/core/tests/test_lister.py b/swh/lister/core/tests/test_lister.py --- a/swh/lister/core/tests/test_lister.py +++ b/swh/lister/core/tests/test_lister.py @@ -161,7 +161,7 @@ self.assertIsInstance(di, dict) pubs = [k for k in vars(fl.MODEL).keys() if not k.startswith('_')] for k in pubs: - if k not in ['last_seen', 'task_id', 'origin_id', 'id']: + if k not in ['last_seen', 'task_id', 'id']: self.assertIn(k, di) def disable_scheduler(self, fl): diff --git a/swh/lister/cran/lister.py b/swh/lister/cran/lister.py --- a/swh/lister/cran/lister.py +++ b/swh/lister/cran/lister.py @@ -76,7 +76,6 @@ 'html_url': project_url, 'origin_url': project_url, 'origin_type': 'cran', - 'description': repo["Description"] } def transport_response_simplified(self, response): diff --git a/swh/lister/github/lister.py b/swh/lister/github/lister.py --- a/swh/lister/github/lister.py +++ b/swh/lister/github/lister.py @@ -25,7 +25,6 @@ 'html_url': repo['html_url'], 'origin_url': repo['html_url'], 'origin_type': 'git', - 'description': repo['description'], 'fork': repo['fork'], } diff --git a/swh/lister/gnu/lister.py b/swh/lister/gnu/lister.py --- a/swh/lister/gnu/lister.py +++ b/swh/lister/gnu/lister.py @@ -130,7 +130,6 @@ 'origin_url': repo['url'], 'time_last_updated': repo['time_modified'], 'origin_type': 'gnu', - 'description': None, } def transport_response_simplified(self, response): diff --git a/swh/lister/npm/lister.py b/swh/lister/npm/lister.py --- a/swh/lister/npm/lister.py +++ b/swh/lister/npm/lister.py @@ -45,7 +45,6 @@ 'html_url': package_metadata_url, 'origin_url': package_url, 'origin_type': 'npm', - 'description': None } def task_dict(self, origin_type, origin_url, **kwargs): diff --git a/swh/lister/phabricator/lister.py b/swh/lister/phabricator/lister.py --- a/swh/lister/phabricator/lister.py +++ b/swh/lister/phabricator/lister.py @@ -83,7 +83,6 @@ 'full_name': repo['fields']['name'], 'html_url': url, 'origin_url': url, - 'description': None, 'origin_type': repo['fields']['vcs'], 'instance': self.instance, } diff --git a/swh/lister/pypi/lister.py b/swh/lister/pypi/lister.py --- a/swh/lister/pypi/lister.py +++ b/swh/lister/pypi/lister.py @@ -67,7 +67,6 @@ 'html_url': project_url_meta, 'origin_url': project_url, 'origin_type': 'pypi', - 'description': None, } def transport_response_simplified(self, response):