wbuchanan / sdpConvening2017

Repository for Strategic Data Project 2017 Convening Session Proposal on Collaborative Coding Practices
https://wbuchanan.github.io/sdpConvening2017
4 stars 12 forks source link

Create example config templates #4

Closed wbuchanan closed 7 years ago

wbuchanan commented 7 years ago

Wondering if we should create some type of .gitconfig template file like:

[user]
        name = ${USERNAME}
        email = ${EMAIL_ADDRESS}
[core]
        editor = vi
        excludesfile = ${HOME}/.git_template/info/exclude
        attributesfile = ${HOME}/.gitattributes
[filter "media"]
        clean = git-media-clean %f
        smudge = git-media-smudge %f
[credential]
        helper = osxkeychain
[http]
        proxy =
[filter "hawser"]
        clean = git hawser clean %f
        smudge = git hawser smudge %f
        required = true
[filter "lfs"]
        required = true
        clean = git-lfs clean -- %f
        smudge = git-lfs smudge -- %f
        process = git-lfs filter-process
[init]
        templatedir = ${HOME}/.git_template
[push]
        default = matching

@nathant23 & @jsonbecker do either of you use any standard configuration stuff with your teams? The git lfs stuff probably wouldn't be needed if we're discussing things in the context of public facing repositories, but figured if there was any standard it might be useful for people to be able to fill in the blanks or have some kind of reference for what the config files contain (along those lines I haven't the slightest clue as to what git hawser is referencing and will check that one out).

wbuchanan commented 7 years ago

@jsonbecker, @nathant23, & @daphnejenkins,

Just threw together a quick working example that we can use to show how setting up the .gitignore file in the global config works. Needed to build a distribution list of staff emails and threw together this repository that contains the Python script used to scrape all the data out of the sites and write everything to a .csv file which is happily sitting on my computer.