Skip to content

Unable to compile docs due to error #2063

Open
@Evreke

Description

@Evreke

I am trying to compile docs to resolve an issue with routing tree webtool.

make compile crashed trying to do git reset inside alertmanager/release-0.19 folder

Part of crash log

error: Sparse checkout leaves no entry on working directory
fatal: Could not reset index file to revision 'HEAD'.

Captain! We’ve been hit!

RuntimeError: Running command 'cd /mnt/d/IdeaProjects/docs/tmp/repo_docs/alertmanager/release-0.19 && git reset --hard --quiet && git clean --force' failed

When I go to folder alertmanager/release-0.19 it is empty.
Manually invoking git reset --hard --quite gives the error as in above.
Other folders have docs folder inside and I can successfully do git reset on them.

UPD:
Problem appears on Windows 11 and maybe reproducible on Windows 10
I repeat all the steps on ubuntu without any issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    technical-bugIssues with the doc building tooling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions