-
Notifications
You must be signed in to change notification settings - Fork 3
Support for larger phabricator instances where more than 100 projects exist #110
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
base: master
Are you sure you want to change the base?
Conversation
added handling of over 100 projects/tags
Update maniphest.py
Update maniphest.py
Timpan4
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your PR!
Overall the feature implementation looks good. Just some small suggestions.
Could you also rebase and fix the merge conflicts before approval?
| ```Commnad prompt | ||
| echo "PHAB_TOKEN: cli-ABC123" > %LOCALAPPDATA%\phabfive\phabfive.yaml | ||
| ``` | ||
|
|
||
| **Environment variables:** | ||
| ```bash | ||
| export PHAB_TOKEN=cli-ABC123 | ||
| export PHAB_URL=https://yourserver.com/api/ | ||
| Additionally, due to connection to Phabricator server on HTTPS requires certificate verification, it is also recommended to install [pip_system_certs](https://pypi.org/project/pip-system-certs/) to ensure system store are linked to python. | ||
|
|
||
| ```Commnad prompt | ||
| pip install pip_system_certs | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change the codeblock type to shell and the pip install command to uv pip install
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi, as this is windows specific, should I change to shell?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Windows specific ones for the CMD "Command Prompt" would be batch, but I would set this particular one to shell and the two above (with %SOMEVAR%) to batch as they reference variables in the CMD syntax.
It would however be best to convert the Windows examples to Powershell and use powershell instead.
phabfive/maniphest.py
Outdated
| # Extended support for phabricator instances with more than 100 (i.e. deftault query limit) users | ||
| # BUT with limieted exception handling e.g. retries needed when phabricator instance is not responding to API calls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These comments could be removed. They only serve a purpose for the reviewer of this PR
phabfive/maniphest.py
Outdated
| # Extended support for phabricator instances with more than 100 (i.e. deftault query limit) projects | ||
| # BUT with limieted exception handling, e.g. retries needed when phabricator instance is not responding to API calls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These comments could be removed. They only serve a purpose for the reviewer of this PR
Removed comments regarding extended support for fetching users and projects from Phabricator.
Fixes: