Empty page.git
object in CI... is shallow clone the only possible cause?
#1042
-
When I build locally or in dev mode, I'm able to get access to the The docs for Unfortunately, there is an open issue in GitLab that indicates the settings meant to disable shallow clones are no longer working as they should: https://gitlab.com/gitlab-org/gitlab/-/issues/350100 So, I'm waiting for the DevOps team to verify or confirm a workaround that the Runners are creating unshallow clones. But, I have a feeling that may not be the issue, and my question is this: Could the empty |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Well, that depends on your runner env. You can try to execute those commands used by the git plugin to check if they could get correctly stdout: |
Beta Was this translation helpful? Give feedback.
Well, that depends on your runner env. You can try to execute those commands used by the git plugin to check if they could get correctly stdout:
https://github.com/vuepress/vuepress-next/blob/b3565cba73d0e87540b563d86792bbd2bd219de0/ecosystem/plugin-git/src/node/utils/checkGitRepo.ts#L8
https://github.com/vuepress/vuepress-next/blob/b3565cba73d0e87540b563d86792bbd2bd219de0/ecosystem/plugin-git/src/node/utils/getContributors.ts#L8-L15
https://github.com/vuepress/vuepress-next/blob/b3565cba73d0e87540b563d86792bbd2bd219de0/ecosystem/plugin-git/src/node/utils/getUpdatedTime.ts#L10-L23