Open serbinsh opened 1 year ago
Note: with gh its a little stranger for pulling the submodule
gh repo clone TESTgroup-BNL/NGSapFlux_r -- --recurse-submodules
that extra -- is necessary for some reason
130-199-9-224:GitHub sserbin$ gh repo clone TESTgroup-BNL/NGSapFlux_r -- --recursive
Cloning into 'NGSapFlux_r'...
remote: Enumerating objects: 53, done.
remote: Counting objects: 100% (53/53), done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 53 (delta 19), reused 45 (delta 15), pack-reused 0
Receiving objects: 100% (53/53), 29.31 KiB | 5.86 MiB/s, done.
Resolving deltas: 100% (19/19), done.
Submodule 'inst/NGSapFlux' (https://github.com/TESTgroup-BNL/NGSapFlux) registered for path 'inst/NGSapFlux'
Cloning into '/Users/sserbin/Data/GitHub/NGSapFlux_r/inst/NGSapFlux'...
remote: Enumerating objects: 155, done.
remote: Counting objects: 100% (155/155), done.
remote: Compressing objects: 100% (111/111), done.
remote: Total 155 (delta 47), reused 124 (delta 31), pack-reused 0
Receiving objects: 100% (155/155), 9.51 MiB | 15.13 MiB/s, done.
Resolving deltas: 100% (47/47), done.
Submodule path 'inst/NGSapFlux': checked out 'eda43be29002269b280c3949c16babae9a6214ad'
git submodule update --init --recursive
Since we want to make a small dedicated R package for processing our NGSapFlux data, I created this new repo and have setup the original NGSapFlux repo as a submodule to this R package that links to inst/NGSapFlux
The point is so we can keep that repo dedicated to the tech details related to the actual hardware and Campbell programs and this repo can be dedicated to the actual data processing. However we can keep the test data in the original NGSapFlux repo and then still use that if you do a git clone --recursive. We can write tests and examples that can use the test data or we could just link to that data straight via a URL
I wil provide more details but to update to the latest version of the submodule in this repo you would do git submodule update --remote --merge
git submodule update --remote
before committing the changes to this R package. CC @neo0351 @DavidsonKen