Skip to content
Snippets Groups Projects
Verified Commit af681ac1 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

phabricator: model: Reference the forge's instance name in model

As phabricator is an "instance" lister (there exists multiple instances of
phabricator in the wild), we need to reference that information.

In effect, this aligns phabricator lister with for example the gitlab one.

Related T1801
Related P434
parent fc92c79b
No related branches found
Tags v0.0.27
1 merge request!70phabricator: model: Reference the forge's instance name in model
......@@ -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):
......
......@@ -13,3 +13,4 @@ class PhabricatorModel(IndexingModelBase):
uid = Column(String, primary_key=True)
indexable = Column(Integer, index=True)
instance = Column(String, index=True)
  • Phabricator Migration user @phabricator-migration ·
    Owner

    Some references in the commit message have been migrated:

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment