astrocatalogs / astrocats

Astrocats package for constructing astronomical catalogs
https://astrocats.space
MIT License
40 stars 12 forks source link

Can't use --depth command anymore? #64

Closed guillochon closed 8 years ago

guillochon commented 8 years ago

The --depth arg was used to restrict the depth of the repositories checked out, but it appears that it can no longer be passed, unless the syntax has changed to something weird. I tried several combinations and none worked:

python -m astrocats --depth 1 supernovae import

python -m astrocats supernovae import --depth 1

The --depth arg is needed to get the Travis build working, otherwise we run into Travis' disk quota.

lzkelley commented 8 years ago

I think this is just not being parsed and passed by the argparse. Should be an easy fix I can take care of this afternoon.

lzkelley commented 8 years ago

No, actually, it's just that the argument was --git-depth instead of --depth. BUT I just changed it to --clone-depth (and variable clone_depth) for clarity.