Conversation
|
@faithokamoto Usually what I do is:
Because of the way Github works, Git can pull a particular commit of a submodule that's referenced in the parent project even when it hasn't been merged into the particular Github fork of the child project that the submodule reference points at. This used to work great, but the last couple times I tried it, I got failures from the vg docs CI job, like https://ucsc-ci.com/vgteam/vg/-/jobs/110735, where that somehow wasn't working for whatever Git operation we're doing there. So either we need to fix that CI job, or we need to merge the child project PR before making the parent project PR (or at least rerun that job after the child project PR merges). |
|
I think @electricEpilith is fixing the weird problem with the docs job in https://github.com/vgteam/vg/pull/4870/changes#diff-5fca86b25525c7922981b289f3e83732bcd03f9631e34b48f644a0cb2f70b408 somehow. |
|
I am lost again. I cannot figure out how to push my branch to GitHub. For one, I can't figure out where the 7ca5c2036da5952ff1f262dedd26daafa2a1aeaf commit lives. It doesn't belong to the main vcflib https://github.com/vcflib/vcflib, nor can I find it in our vgteam vcflib https://github.com/vgteam/vcflib, and if I try to push to that vgteam vcflib it seems my 7ca5c2036da5952ff1f262dedd26daafa2a1aeaf-tied branch is wildly out of sync so that's definitely not how it works. Where can I put a GitHub PR to update the vcflib?? |
|
It looks like that commit is on the I've opened a PR for the missing commit to put it in |
Was seeing if I could put in an easy fix for vgteam/vg#547 and it turns out the answer is yes, in that it requires few lines of code, and also no, in that I have no earthly idea how to properly make an update to this sub-submodule without causing unicorns to explode within the bowels of the interwebs. This extra check is part of what's needed.
The other thing that's needed is that when we add contigs (right after this line) we should have
but that only handles when there is a duplication between files, and this fastahack PR is needed for a duplication within a file.
@adamnovak once you're back, could you point me for how to do this sort of layered submodule update? The issue is ten years old so no rush.