I use Team Foundation Server for source control at work and didn’t take much care in setting up my source control other than to point it at a folder and tell it to monitor anything that changed in that folder. Close to three years later and I am getting errors “The database is full. Contact your Team Foundation Server administrator,” and can no longer check anything in.
That’s obviously a big problem for me in the short term, but for this thread, I’d like to focus on a more long term aspect. When developing packages, or even analyses, what files need to be kept in source control? For instance, is there any value in monitoring
.Rd files if I’m using
roxygen? Do I need to save .pdfs, or .tex files from generating documents from markdown?
Image files, such as
.png are an interesting dilemma, because often they get inserted into a document and I don’t really need full source control of their changes. Other times, they are static (not generated by the code) and so I need them. Is it better to capture them all, or exclude them by default and make exceptions for those that I need?