GLA Summit 2020/Git IS-NOT-A SCC: The Adapter Pattern over Inheritance

From LabVIEW Wiki
Jump to: navigation, search

Git IS-NOT-A SCC: The Adapter Pattern over Inheritance by Christian Butcher

Source code control is a vital part of a Continuous Integration system. Git is the most common SCC tool in the LabVIEW community, but writing scripts in other languages isn't always fun. Chris Cilino has an existing SCC 'interface' based on the Perforce model that is freely available. Here I describe a Git-specific library (with a completely different API) and the use of the Adapter Pattern to allow use with the more generic SCC API. By using a Git-specific API at the implementation level, it is much easier for Git users to use the library separately from the SCC API, whilst still allowing use in a larger/more generic system.

Presentation Links

See Also

External Links