mne-bids-pipeline
mne-bids-pipeline copied to clipboard
BUG: Slow fetches
Every time I do git fetch upstream and it takes minutes even though I'm on a good connection because of the gh-pages branch. @hoechenberger is there a good place in the docs for me to add a suggestion from https://stackoverflow.com/questions/26623867/skip-copying-some-branches-tags-to-local-git-with-git-fetch-all to help others?
@larsoner I would suggest that maybe we take this opportunity to finally find a different place / repo for storing the docs, WDYT? We don't need revision control of those docs anyway…
That would be great. I'm not sure the best approach here. It would be nice to avoid having to pull in all of the mne-tools.github.io repo, though. So if we could create a new mne-bids-pipeline.github.io repo that properly deployed to mne.tools/mne-bids-pipeline, I think that would be ideal.
Then we'd want to make sure all mne-* projects do this. I think some of them might actually pull in mne-tools.github.io, modify it, and push, which is a recipe for disaster compared to each project having its own website repo to manage.
Sounds good to me!
if we move the doc somewhere we could use a subdomain eg
bids-pipeline.mne.tools
with a CNAME
but personally I can live with doing "git pull origin main" :)
Message ID: @.***>
FYI on modern git v2.29.0+ you can do in .git/config:
[remote "upstream"]
url = [email protected]:/mne-tools/mne-bids-pipeline.git
fetch = +refs/heads/*:refs/remotes/upstream/*
fetch = ^refs/heads/gh-pages
This fixed git fetch upstream for me, now it gets main and pre-commit-update-config but not gh-pages