Hello contributors,
As we move forward with the transition to GitHub, we are starting to adopt
identifiers in tooling and infrastructure. This is going to take a few weeks, but you will start seeing links based on identifiers more frequently. During this transition period, not all tooling will work with identifiers, and it’s possible there are tools you rely on that aren’t in common use so will be slow in receiving support. To that end, I would like to share the tools available to translate between hashes, revisions and identifiers in WebKit, along with the Python libraries backing that tooling if you feel motivated to expedite the transition for a workflow that is particularly important to you.
Tools/Scripts/git-webkit find <ref> is the local script that can convert between revisions, hashes and identifiers. By default, it uses your local checkout, which means it may be restricted by your checkout’s configuration. For example, a pure Subversion checkout will be unable to convert hashes and a pure Git checkout will be unable to convert revisions, while a Git-Svn checkout will be able to translate all three formats.
Both variations of git-webkit find are ultimately thin wrappers around webkitscmpy local.Scm and remote.Scm classes, so if you find yourself working with Python code, consider leveraging the APIs directly.
Jonathan
WebKit Continuous Integration