Page MenuHomeDevCentral

Resolve VCS hashes to commit URL
ClosedPublic

Authored by dereckson on Mar 6 2022, 02:54.
Tags
None
Referenced Files
F23698554: D2569.diff
Fri, Feb 6, 03:09
F23679489: D2569.id6490.diff
Fri, Feb 6, 01:04
F23664232: D2569.id6490.diff
Thu, Feb 5, 23:15
F23650078: D2569.id6490.diff
Thu, Feb 5, 21:29
F23643290: D2569.id6490.diff
Thu, Feb 5, 20:34
F23641874: D2569.id6489.diff
Thu, Feb 5, 20:27
F23639128: D2569.id6491.diff
Thu, Feb 5, 20:15
F23635132: D2569.id6490.diff
Thu, Feb 5, 19:46
Subscribers
None

Details

Summary

Provide a small utility to find an URL representation
matching a hash, querying code review systems like Phabricator
or Gerrit, then public code hosting like GitHub or GitLab.

Test Plan

Run commands and code documented in README + make test

Diff Detail

Repository
rRESOLVEHASH Resolve hash
Lint
Lint Errors
SeverityLocationCodeMessage
Errorsrc/resolvehash/resolvehash.py:59E501flake8 E501
Errorsrc/resolvehash/resolvehash.py:63E501flake8 E501
Errorsrc/resolvehash/resolvehash.py:66E501flake8 E501
Errorsrc/resolvehash/resolvehash.py:71E501flake8 E501
Errorsrc/resolvehash/vcs/phabricator.py:58E501flake8 E501
Errortests/test_resolvehash.py:35E501flake8 E501
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4025
Build 4277: arc lint + arc unit

Event Timeline

dereckson created this revision.

Provide the symbolink link from ${PREFIX}/bin/resolve-hash to ${PYCACHE}/**/resolvehash/resolvehash.py

Provide the symbolink link from ${PREFIX}/bin/resolve-hash to ${PYCACHE}/**/resolvehash/resolvehash.py

Done, with command line specific code moved to bin/resolve-hash instead.

This revision is now accepted and ready to land.Mar 6 2022, 10:18
This revision was landed with ongoing or failed builds.Mar 6 2022, 10:19
This revision was automatically updated to reflect the committed changes.