docs(contest2026): add --git-lfs flag to repo init command in contest docs - #644
Open
yanxingyu17 wants to merge 1 commit into
Open
Conversation
… docs The libs_openvela_vela repo stores prebuilt libraries (e.g. libgui_wrapper.a, ~197MB each, 5 files totaling ~708MB) via Git LFS. Without the --git-lfs flag, repo disables LFS smudge (filter.lfs.smudge=--skip) and only fetches 134-byte pointer files, causing link failures like 'libgui_wrapper.a' missing during build. The quickstart guide already includes --git-lfs; align the contest submission guide and contest overview with it. Signed-off-by: v-yanxingyu <v-yanxingyu@xiaomi.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
A contestant reported a build failure: after following the contest code submission guide (
repo init+repo sync), compilation failed withlibgui_wrapper.amissing / link error.Root cause: The
libs_openvela_velarepository (manifest entryvendor/openvela/boards/vela/libs) hosts 5 prebuilt libraries (libgui_wrapper.ax3,libquickapp.ax2, ~708MB total) via Git LFS. Whenrepo initis run without--git-lfs, repo writesfilter.lfs.smudge=git-lfs smudge --skipinto each project, so LFS files are checked out as 134-byte pointer files instead of the real binaries -> link failure.The quickstart guide (
zh-cn/quickstart/openvela_ubuntu_quick_start.md) already includes--git-lfsin itsrepo initcommand, but the contest submission guide and contest overview omitted it, so contestants following the contest docs hit the issue.Changes
zh-cn/contest_2026/code_submission_guide.md--git-lfsflag to therepo initcommandzh-cn/contest_2026/contest_overview.md--git-lfsflag and whyVerification
libs_openvela_vela.gitattributesconfirms the 5 files are LFS-tracked (verified locally)git lfs pullprints no output but does download (708MB @ ~90KB/s takes 1-2 hours)