Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clone into a specific branch of noctua-models set by a variable #1183

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dougli1sqrd
Copy link
Contributor

For geneontology/pipeline#126

Adds a variable for the noctua-models that is used to checkout when cloning that repository in the Makefile pipeline.

@kltm
Copy link
Member

kltm commented Sep 25, 2019

Looks good. Although I am a little nervous about introducing something to master before release, if this is tested we can add it to master,

@dougli1sqrd
Copy link
Contributor Author

(env) edouglass@Erics-MBP-2:~/lbl/geneontology/go-site/pipeline[pipeline-issue-126-propogate_noctua_branch ?]$ make TARGET_NOCTUA_MODELS_BRANCH=subset target/noctua-models
# If target/noctua-models does not exist, then clone it
if [ ! -d target/nocuta-models ]; then git clone --branch subset https://github.com/geneontology/noctua-models.git target/noctua-models; fi
Cloning into 'target/noctua-models'...
remote: Enumerating objects: 1929, done.
remote: Counting objects: 100% (1929/1929), done.
remote: Compressing objects: 100% (1189/1189), done.
remote: Total 216408 (delta 1864), reused 793 (delta 740), pack-reused 214479
Receiving objects: 100% (216408/216408), 608.80 MiB | 16.24 MiB/s, done.
Resolving deltas: 100% (213469/213469), done.
(env) edouglass@Erics-MBP-2:~/lbl/geneontology/go-site/pipeline[pipeline-issue-126-propogate_noctua_branch ?]$ ls target/noctua-models/mod
models/             module-catalog.xml
(env) edouglass@Erics-MBP-2:~/lbl/geneontology/go-site/pipeline[pipeline-issue-126-propogate_noctua_branch ?]$ ls target/noctua-models/models/
0000000300000001.ttl                5745387b00000051.ttl                5941cdbd00000188.ttl                5a7e68a100001913.ttl                5c4605cc00000696.ttl                5d29221b00000013.ttl
55c3ef4c00000001.ttl                5745387b00001375.ttl                5941cdbd00000199.ttl                5ae3b0f600000135.ttl                5c4605cc00000715.ttl                5d29221b00000185.ttl
564bb12700000066.ttl                5745387b00001657.ttl                5941cdbd00000308.ttl                5ae3b0f600000205.ttl                5c4605cc00000771.ttl                5d29221b00000262.ttl
5662325600000020.ttl                57c82fad00000451.ttl                5941cdbd00000404.ttl                5ae3b0f600000302.ttl                5c4605cc00000777.ttl                5d29221b00000758.ttl
5666bb7c00000001.ttl                57ec3a7e00000027.ttl                5941cdbd00000462.ttl                5ae3b0f600000466.ttl                5c4605cc00001219.ttl                5d29221b00001292.ttl
5666dc6c00000034.ttl                581e072c00000305.ttl                5941cdbd00000963.ttl                5ae3b0f600000953.ttl                5c4605cc00001386.ttl                5d29221b00002154.ttl
5666dc6c00000036.ttl                581e072c00000823.ttl                595a9ee700000342.ttl                5ae3b0f600001223.ttl                5c4605cc00001835.ttl                5d29221b00002734.ttl
5666dc6c00000094.ttl                5824c51a00000007.ttl                5966411600000232.ttl                5b318d0900000219.ttl                5c4605cc00002132.ttl                SYNGO_1000.ttl
5666dc6c00000558.ttl                5824c51a00000033.ttl                596ef51500000088.ttl                5b318d0900000275.ttl                5c4605cc00002140.ttl                SYNGO_1002.ttl
5667fdd400000077.ttl                584718ce00000043.ttl                5970219a00000253.ttl                5b318d0900000602.ttl                5c4605cc00002160.ttl                SYNGO_1004.ttl
5667fdd400000125.ttl                586fc17a00000033.ttl                5970219a00000566.ttl                5b318d0900000838.ttl                5c4605cc00002220.ttl                SYNGO_1006.ttl
568b0f9600000024.ttl                586fc17a00000883.ttl                5970219a00000854.ttl                5b528b1100000251.ttl                5c4605cc00002375.ttl                SYNGO_1008.ttl
568b0f9600000206.ttl                586fc17a00001440.ttl                598826eb00000001.ttl                5b528b1100000699.ttl                5c4605cc00002541.ttl                SYNGO_1010.ttl
568b0f9600000280.ttl                586fc17a00001662.ttl                59a105b300000003.ttl                5b528b1100001034.ttl                5c4605cc00002729.ttl                SYNGO_1012.ttl
568b0f9600000294.ttl                586fc17a00002056.ttl                59a9023b00000107.ttl                5b528b1100001961.ttl                5c4605cc00003568.ttl                SYNGO_1014.ttl
56d1143000000151.ttl                5900dc7400000015.ttl                59bee34700000000.ttl                5b528b1100002019.ttl                5c4605cc00003572.ttl                a1a2a3a401.ttl
56d1143000003025.ttl                5900dc7400000361.ttl                59bee34700000234.ttl                5b91dbd100000065.ttl                5ce58dde00000096.ttl                a1a2a3a402.ttl
56d1143000003406.ttl                5900dc7400000428.ttl                59c8885900000130.ttl                5b91dbd100000219.ttl                5ce58dde00000671.ttl                pombase_generated_TOR_signaling.ttl
56d1143000003542.ttl                5900dc7400000902.ttl                59cde02c00000053.ttl                5b91dbd100002895.ttl                5ce58dde00001327.ttl
5716c41300000082.ttl                592e169100000019.ttl                59dc728000000205.ttl                5b91dbd100003072.ttl                5ce58dde00001465.ttl
5716c41300000564.ttl                593423e000000159.ttl                59dc728000000235.ttl                5c4605cc00000258.ttl                5ce58dde00001596.ttl
5716c41300000637.ttl                593423e000000448.ttl                5a5fc23a00000137.ttl                5c4605cc00000335.ttl                5ce58dde00002076.ttl
5745387b00000044.ttl                593423e000000554.ttl                5a7e68a100000920.ttl                5c4605cc00000689.ttl                5ce58dde00002145.ttl

@dougli1sqrd
Copy link
Contributor Author

For default (goes to master)

(env) edouglass@Erics-MBP-2:~/lbl/geneontology/go-site/pipeline[pipeline-issue-126-propogate_noctua_branch ?]$ make target/noctua-models
# If target/noctua-models does not exist, then clone it
if [ ! -d target/nocuta-models ]; then git clone --branch master https://github.com/geneontology/noctua-models.git target/noctua-models; fi
Cloning into 'target/noctua-models'...
remote: Enumerating objects: 1929, done.
remote: Counting objects: 100% (1929/1929), done.
remote: Compressing objects: 100% (1189/1189), done.
remote: Total 216408 (delta 1864), reused 793 (delta 740), pack-reused 214479
Receiving objects: 100% (216408/216408), 608.80 MiB | 14.96 MiB/s, done.
Resolving deltas: 100% (213469/213469), done.
Checking out files: 100% (3364/3364), done.
(env) edouglass@Erics-MBP-2:~/lbl/geneontology/go-site/pipeline[pipeline-issue-126-propogate_noctua_branch ?]$ ls -l target/noctua-models/models/ | wc -l
    3344

ls shows a gazillion files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants