Open lucamlouzada opened 4 days ago
I have pushed several changes to this branch.
.gitattributes
, so that the default setting does not use LFScheck_setup.sh
that checked for LFS to be installed, so that users can activate this check if they opt to use LFSREADME.md
file with instructions and a .sh
script that users should run to initialize LFS. I made this script more complex than the previous version in template_archive/setup/lfs_setup to handle the case in which users have already been using the repository without LFS and then want to activate it. The script will then re-upload files with LFS tracking.
This issue is part of an effort to implement substantive improvements to the lab template, as discussed in https://github.com/gentzkow/GentzkowLabTemplate/issues/16.
In this issue, the goal is to work on how to robustly require Git LFS and also create an easy option for people who want to use the repo without Git LFS. The main points to be addressed per the decision in plans for next steps are:
I am assigning myself to work on this. I will start by revising the commits of large files in the template examples, and changing the
gitattributes
file as well as thecheck_setup.sh
file to allow users to use the template without Git LFS. I will then create an additional folder inexamples
with the default settings for using Git LFS, which will be standard in the lab projects. I will run tests to ensure both points (2) and (3) above are enforced.