diff --git a/swh/lister/phabricator/lister.py b/swh/lister/phabricator/lister.py index 7009c10..dd30308 100644 --- a/swh/lister/phabricator/lister.py +++ b/swh/lister/phabricator/lister.py @@ -84,7 +84,8 @@ class PhabricatorLister(SWHIndexingHttpLister): 'html_url': url, 'origin_url': url, 'description': None, - 'origin_type': repo['fields']['vcs'] + 'origin_type': repo['fields']['vcs'], + 'instance': self.instance, } def get_next_target_from_response(self, response): diff --git a/swh/lister/phabricator/models.py b/swh/lister/phabricator/models.py index 533a365..96cc497 100644 --- a/swh/lister/phabricator/models.py +++ b/swh/lister/phabricator/models.py @@ -13,3 +13,4 @@ class PhabricatorModel(IndexingModelBase): uid = Column(String, primary_key=True) indexable = Column(Integer, index=True) + instance = Column(String, index=True)