Add test for unshallowing repositories
MODIFY
tests/external/datasci-shallow-clone.repos.yaml
tests/external/datasci-shallow-clone.repos.yaml
# Check that we correctly detect that this ref is more than 50 commits ago
# and trigger a full clone of the repository
- name: Jake's Data Science Book
- url: https://github.com/jakevdp/PythonDataScienceHandbook
- ref: 8761de29a853f0c187286b7c7bc1e4767e7c5574
- verify: python -c 'import matplotlib'
+ url: https://github.com/betatim/repo2docker-ci-clone-depth
+ ref: f702ae5c612ca0dcaf77954f9f5dd4ede7cb9b5f
+ verify: python -c "commit = open('COMMIT').read(); assert int(commit) == 1, 'this is not the first commit'"

Add test for unshallowing repositories