Page MenuHomeSoftware Heritage

phabricator lister
Closed, MigratedEdits Locked

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

Revisions and Commits

Event Timeline

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.

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 :-)

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?

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

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 :)