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

Github CI can't fetch submodule from git:// GNU savannah, unless it refers to upstream HEAD #1722

Open
HinTak opened this issue May 9, 2024 · 1 comment

Comments

@HinTak
Copy link

HinTak commented May 9, 2024

I have a submodule refers to
git://git.sv.nongnu.org/freetype/freetype2.git` . This is the canonical place for freetype for about 2 decades, until recent move to gitlab.freedesktop . It seems that it works only if the submodule refers to the head of upstream. When upstream freetype2 moves forward, github CI cannot fetch the older commit.

I think github CI doesn't actually do 'git submodule update --init' (with --depth 1) directly, and do something else, so it only works when the submodule points to upstream head at the time. It cannot fetch older commits.

It is not a deal breaker - freetype doesn’t move that fast, and it is a good reminder for me to update the submodule to point to current head, but still...

@HinTak
Copy link
Author

HinTak commented May 10, 2024

The repo in question is https://github.com/HinTak/freetype2-demos-skia - for people who want to experiment, try rolling backwards slightly freetype2 or freetype2-demo. git submodule update --init works, but that does not seems to be what github CI is using directly.

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

No branches or pull requests

1 participant