February 2013 Archives

Encoding Metadata in a Git Repository

A fairly cheap kludge to encode metadata into a Git repository would use special directories that link to the files that need metadata. (I suggest prefixing the directory names with "...", as that is ignored by default in some popular OS shells.)

An example of this is probably easier. Say we have jenkins.our-config and git.our-hooks in our repo configuration:


configuration
jenkins.our-config
git.our-hooks

We want to include that both files are about our production se…

About Mark Leighton Fisher

user-pic Perl/CPAN user since 1992.