Page MenuHomeDevCentral

Resolve VCS hashes to commit URL
ClosedPublic

Authored by dereckson on Mar 6 2022, 02:54.
Tags
None
Referenced Files
F27870862: D2569.id6489.diff
Fri, May 8, 18:39
F27870855: D2569.id6490.diff
Fri, May 8, 18:39
F27870847: D2569.id6491.diff
Fri, May 8, 18:39
F27857796: D2569.diff
Fri, May 8, 16:46
Unknown Object (File)
Thu, May 7, 08:26
Unknown Object (File)
Tue, May 5, 16:13
Unknown Object (File)
Tue, May 5, 12:23
Unknown Object (File)
Tue, May 5, 11:07
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.