Page MenuHomeSoftware Heritage

phabricator lister
Closed, ResolvedPublic

Description

we need a lister that is capable of listing all public repos available at a given Phabricator instance

See: https://docs.softwareheritage.org/devel/swh-lister/tutorial.html#lister-tutorial

Event Timeline

zack created this task.Oct 17 2017, 3:43 PM
vlorentz updated the task description. (Show Details)Dec 13 2018, 12:24 PM
vlorentz added a project: Easy hack.
nahimilega added a subscriber: nahimilega.

Resected all,
I would love to complete this task. And it would be a good starting point for me for implementing new listers.

zack added a comment.Mar 24 2019, 1:09 PM

Sure, just go ahead: there is no need to "reserve" tasks as a prerequisite to work on them. Just submit a diff against the lister repo as a diff when you've something ready to review :-)

nahimilega added a comment.EditedApr 6 2019, 1:29 PM

Respected all,
I am now to this community and this is my first task.Can you please mentor me in solving this?

I am using this API(https://secure.phabricator.com/conduit/method/diffusion.repository.search/) to get the list of all the repositories in a phabricator instance.

Now the problem is base url and the api token for each phabricator is different so I am not able to understand how to deal with this?
Can anyone please help me?

zack added a comment.Apr 6 2019, 6:03 PM

Now the problem is base url and the api token for each phabricator is different so I am not able to understand how to deal with this?
Can anyone please help me?

They are both going to be parameters of the phabricator lister, that we are going to instantiate on a case by case basis.
Other listers already use parameters loaded from configuration files, have a look at those to see how we do it.

Hope this helps

faux added a subscriber: faux.EditedApr 14 2019, 7:01 AM

Hey, I was wondering if @nahimilega is still working on this? If not then can I poke into this as it would be a good practice for me before implementing launchpad lister and gogs lister. Thanks :)

Hey @faux, I am still working on this.

faux added a comment.Apr 14 2019, 2:13 PM

Sure go ahead ;)