Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace hardcoded list of Maniphest open statūs by querying actual config of Phorge #78

Open
aklapper opened this issue Mar 21, 2017 · 6 comments

Comments

@aklapper
Copy link

From /elk/phabricator.py:

if eitem['status'] not in [TASK_OPEN_STATUS, 'Spite', 'Stalled']:

Hardcoding values here looks brittle (and error-prone if some customizations have taken place).

Conduit's maniphest.querystatuses API call offers the values of maniphest.statuses in the global Phabricator config, listed under openStatuses. You may want to consider this. :)

@jjmerchante
Copy link
Contributor

We will keep the statuses hardcoded in a list to avoid creating new calls to the API.

Thank you for your proposal.

@aklapper
Copy link
Author

@jjmerchante Could you elaborate why one (1) single additional API call to pull the statuses (and cache them in Grimoirelab) is problematic?

The current situation means (for our installation with customized statuses) that data will be incomplete and thus useless.

@sduenas
Copy link
Member

sduenas commented Oct 13, 2023

@aklapper how long do you will use phabricator still? we have plans to drops the support of this backend since phabricator support and development stopped. I know you in wikimedia have a plan to replace it but not sure about the timeline.

@aklapper
Copy link
Author

@sduenas: https://we.phorge.it/ (a fork of stopped Phabricator) is quite alive; Wikimedia has no plan to replace its use of Phorge. The backend should likely be renamed from "Phabricator" to "Phorge" in my opinion.

@sduenas
Copy link
Member

sduenas commented Oct 16, 2023

I didn't know about that. We definitely should rename it. I'll open a ticket in grimoirelab repository.

@sduenas
Copy link
Member

sduenas commented Oct 16, 2023

Ticket opened: chaoss/grimoirelab#614

@sduenas sduenas reopened this Oct 16, 2023
@aklapper aklapper changed the title Replace hardcoded list of Maniphest open statūs by querying actual config of Phabricator Replace hardcoded list of Maniphest open statūs by querying actual config of Phorge Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants