Skip to content

Added legacy js client to the doc build #964

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

Merged
merged 1 commit into from
Jul 9, 2019
Merged

Added legacy js client to the doc build #964

merged 1 commit into from
Jul 9, 2019

Conversation

delvedor
Copy link
Member

@delvedor delvedor commented Jul 3, 2019

The legacy js client has accidentally been removed from the build in #934, this pr fixes that.

Ref: https://github.com/elastic/docs/pull/934/files#diff-4a701a5adb4359c6abf9b8e1cb38819fL354
Fixes: elastic/elasticsearch-js-legacy#3

@delvedor delvedor requested review from bmorelli25 and lcawl July 3, 2019 15:52
@lcawl
Copy link
Contributor

lcawl commented Jul 3, 2019

The strange thing is that I don't see a 16.x branch in https://github.com/elastic/elasticsearch-js and it doesn't show up when I do a full doc build for this PR (though it doesn't generate any errors either).

@bmorelli25
Copy link
Member

bmorelli25 commented Jul 3, 2019

Here's 16.x: https://github.com/elastic/elasticsearch-js/tree/16.x. Didn't know we could build from tags. Also, why it was broken before but isn't now is weird. Will try running the build too.

@bmorelli25
Copy link
Member

This PR doesn't build for me. The build doesn't like 16.x. @nik9000 any ideas why this has broken since 7.2?

INFO:build_docs:Remote branch <origin/16.x> doesn't exist in repo elasticsearch-js at lib/ES/Repo.pm line 71.

@nik9000
Copy link
Member

nik9000 commented Jul 9, 2019

It turns out the strange thing is #973.

@nik9000 nik9000 merged commit f8f271b into master Jul 9, 2019
@nik9000
Copy link
Member

nik9000 commented Jul 9, 2019

I'm going to merge this and manually force the rebuild to take and track a "real" fix in #973.

@bmorelli25
Copy link
Member

@nik9000, how can I get this to work locally? I still get this error when running a --rebuild:

INFO:build_docs:Error executing: git archive --format=tar -o /tmp/docsbuild/DMohvocqcd/elasticsearch-js/.temp_git_archive.tar 16.x docs in GIT_DIR /docs_build/.repos/elasticsearch-js.git

@nik9000
Copy link
Member

nik9000 commented Jul 12, 2019

rm -rf .repos/elasticsearch-js.git I believe. Tags don't always pull in properly. Sorry about the wart....

@nik9000 nik9000 deleted the fix-js-docs branch October 11, 2019 16:43
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

Successfully merging this pull request may close these issues.

Changelog missing
4 participants