Page MenuHomeDevCentral

Resolve VCS hashes to commit URL
ClosedPublic

Authored by dereckson on Mar 6 2022, 02:54.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 27, 21:40
Unknown Object (File)
Mon, Jan 27, 21:40
Unknown Object (File)
Mon, Jan 27, 21:40
Unknown Object (File)
Mon, Jan 27, 21:24
Unknown Object (File)
Mon, Jan 27, 21:15
Unknown Object (File)
Sun, Jan 26, 01:03
Unknown Object (File)
Tue, Jan 21, 22:10
Unknown Object (File)
Sun, Jan 19, 06:35
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.