Use authenticated requests to fetch files from Phabricator revisions
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reading bugbug/tools/core/platforms/phabricator.py at lines 312-318, where files are fetched without the Conduit API. Investigate the authenticated Conduit API support that must first be implemented in Phabricator. Done means restricted, non-security revisions can be fetched through authenticated requests.
Written by the indexing model from the issue text.
Description
Here we fetch the file without going through the Conduit API:
https://github.com/mozilla/bugbug/blob/c600ea07f5a72219c080ec495b744ee5964ce0ee/bugbug/tools/core/platforms/phabricator.py#L312-L318
This limits the ability to fetch changes from restricted revisions, even if they are not security related. Using a Conduit API for that would be a better path. However, we do not have that API yet, so we need to implement it in Phabricator first.
- Dominant language
- Python
- Stars
- 570
- Forks
- 351
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 65
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/bugbug
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
good-first-bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
hackbot
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
hackbot
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
hackbot
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
zostera/django-bootstrap4#894 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
use-agent-os/agent-os#3276 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zilliztech/memsearch#759 ·