You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using git worktree for different branches of ES is common. Running the docs build in a worktree (or perhaps just a folder not called elasticsearch) does not seem to work.
As I understand it, #860 allowed $GIT_HOME/elasticsearch/ to be a worktree, but there's a lot of code (and references within AsciiDoc files) that still depends on it being named exactly elasticsearch. If you made the "main working tree" at elasticsearch-master and then a "linked working tree" with 7.x at elasticsearch, it should still work.
The amount of work needed to fix this would be pretty large, I think, so I don't expect to have time to fix it anytime soon. But I'll leave this open in case anyone else comes across the issue.
Activity
gtback commentedon Jan 14, 2021
Thanks, @henningandersen!
I think this is the important factor.
As I understand it, #860 allowed
$GIT_HOME/elasticsearch/to be a worktree, but there's a lot of code (and references within AsciiDoc files) that still depends on it being named exactlyelasticsearch. If you made the "main working tree" atelasticsearch-masterand then a "linked working tree" with 7.x atelasticsearch, it should still work.The amount of work needed to fix this would be pretty large, I think, so I don't expect to have time to fix it anytime soon. But I'll leave this open in case anyone else comes across the issue.
TinaHeiligers commentedon Dec 15, 2022
I'm experiencing doc build failures for the kibana docs too whereas the docs used to build for me around 2 months ago.
gtback commentedon Dec 21, 2022
@TinaHeiligers I wanted to check and make sure your failures didn't have anything to do with worktrees, and that your problems were fixed by #2586 ?
TinaHeiligers commentedon Dec 22, 2022
Magic! Thanks for looking into it @gtback
