Page MenuHomeDevCentral

Resolve VCS hashes to commit URL
ClosedPublic

Authored by dereckson on Mar 6 2022, 02:54.
Tags
None
Referenced Files
F24960542: D2569.id.diff
Sat, Mar 21, 12:09
F24957256: D2569.id6491.diff
Sat, Mar 21, 09:23
F24951306: D2569.id6490.diff
Sat, Mar 21, 01:51
F24950078: D2569.id6491.diff
Sat, Mar 21, 00:47
Unknown Object (File)
Fri, Mar 20, 12:59
Unknown Object (File)
Fri, Mar 20, 12:18
Unknown Object (File)
Wed, Mar 18, 17:40
Unknown Object (File)
Wed, Mar 18, 15:54
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.