RiotGamesMinions / thor-scmversion

Thor tasks to manage a VERSION file based on SCM tags
MIT License
58 stars 22 forks source link

Support Thorfile in a directory other than the root of a gir repo. #31

Open rteabeault opened 10 years ago

rteabeault commented 10 years ago

We are using a pattern of placing the cookbook within the repo of the application it deploys. We would like to keep the Thorfile with the cookbook. Currently in this configuration thor-scmversion can not find the .git dir and defaults to perforce. Instead I propose that it looks up the directory hierarchy for a .git dir. Is this something that would be welcomed as a PR?